← 返回 Skills 市场
cwyhkyochen-a11y

Dev Workflow

作者 cwyhkyochen-a11y · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
869
总下载
1
收藏
13
当前安装
1
版本数
在 OpenClaw 中安装
/install dev-workflow
功能描述
完整开发工作流 - 一键执行从检查到封版的全流程
使用说明 (SKILL.md)

Dev Workflow - 完整开发工作流

整合 version-manager、project-manager 和 dev-pipeline,提供标准化的开发流程。

工作流程

                    dev-workflow
                         │
    ┌────────────────────┼────────────────────┐
    │                    │                    │
version-manager    project-manager      dev-pipeline
(版本管理)          (看板管理)           (代码生成)
    │                    │                    │
    └────────────────────┴────────────────────┘
                         │
                    标准化流程

命令

dev-start \x3Cproject> [version]

启动新的开发迭代:

# 自动检测最新版本
$ dev-start gemini-agent
Found latest version: v1.3.4
Preparing workspace...
✅ Ready to develop v1.3.5

# 指定基础版本
$ dev-start gemini-agent v1.3.4
Preparing v1.3.4...
✅ Ready to develop v1.3.5

执行步骤:

  1. version-check gemini-agent - 检查当前状态
  2. version-prepare gemini-agent v1.3.4 - 准备代码
  3. version-validate gemini-agent - 验证完整性
  4. project-update gemini-agent --status "开发中" - 更新看板

dev-status \x3Cproject>

查看项目开发状态:

$ dev-status gemini-agent

项目: Gemini Agent Client
============================

版本状态:
  最新封版: v1.3.4
  当前开发: v1.3.5
  工作目录: ✅ 已准备 (基于 v1.3.4)

文件校验:
  css/components.css: ✅ 20325 bytes (matches online)
  js/app.js: ✅ 8234 bytes (matches online)
  js/ui.js: ✅ 5425 bytes (matches online)

看板状态:
  状态: 🟢 开发中
  最后改动: 2026-02-23 06:45:00
  备注: 开始v1.3.5开发

下一步:
  1. 编写需求文档
  2. 执行: dev-pipeline analyze

dev-analyze \x3Cproject>

执行架构分析(包装dev-pipeline):

$ dev-analyze gemini-agent
Reading requirements from versions/v1.3.5/docs/REQUIREMENTS.md...
Running dev-pipeline analyze...

✅ 分析完成,等待确认...

dev-write \x3Cproject>

执行代码编写(确认后):

$ dev-write gemini-agent
确认analyze结果后继续...
Running dev-pipeline write...

✅ 代码生成完成

dev-review \x3Cproject>

执行代码审查:

$ dev-review gemini-agent
Running dev-pipeline review...

✅ 审查通过 / ⚠️ 发现问题,执行 dev-fix

dev-fix \x3Cproject>

修复代码问题:

$ dev-fix gemini-agent
Running dev-pipeline fix...

✅ 修复完成,请重新审查: dev-review

dev-deploy \x3Cproject>

部署到生产环境:

$ dev-deploy gemini-agent
Pre-deployment checks:
  ✅ Backup created: backup-1234567890.tar.gz
  ✅ File size validated (diff \x3C 20%)
  ✅ Critical functions present

Deploy to production? [y/N]: y
Running dev-pipeline deploy...

✅ Deployed to 14.103.210.113:3002

执行步骤:

  1. version-validate gemini-agent - 最终验证
  2. 备份线上代码
  3. 红线检查(文件大小、关键函数)
  4. dev-pipeline deploy - 执行部署

dev-seal \x3Cproject> \x3Cversion>

封版并归档:

$ dev-seal gemini-agent v1.3.5
Sealing version v1.3.5...

执行步骤:
  ✅ version-archive gemini-agent v1.3.5
  ✅ project-update gemini-agent --version v1.3.5 --status "已封版"
  ✅ project-changelog gemini-agent release --version v1.3.5
  ✅ dev-pipeline seal

📋 封版完成:
  版本: v1.3.5
  位置: versions/v1.3.5/
  看板: 已更新
  日志: 已记录

完整开发流程示例

场景:开发新功能

# 1. 启动开发
$ dev-start gemini-agent
Found latest version: v1.3.4
Preparing workspace...
✅ Ready to develop v1.3.5

# 2. 编写需求(手动编辑REQUIREMENTS.md后)
# 使用你喜欢的编辑器编辑 versions/v1.3.5/docs/REQUIREMENTS.md

# 3. 架构分析
$ dev-analyze gemini-agent
✅ 分析完成,等待确认

# [用户确认后]

# 4. 编写代码
$ dev-write gemini-agent
✅ 代码生成完成

# 5. 代码审查
$ dev-review gemini-agent
✅ 审查通过

# 6. 部署
$ dev-deploy gemini-agent
✅ 部署完成

# 7. 封版
$ dev-seal gemini-agent v1.3.5
✅ 封版完成

状态检查点

检查点1:启动时

dev-start 自动执行:
  ✓ version-check
  ✓ version-prepare
  ✓ version-validate
  ✓ project-update (status="开发中")

检查点2:部署前

dev-deploy 自动执行:
  ✓ 备份线上
  ✓ version-validate
  ✓ 红线检查 (文件大小差异\x3C20%)
  ✓ 用户确认

检查点3:封版时

dev-seal 自动执行:
  ✓ version-archive
  ✓ project-update (version, status)
  ✓ project-changelog
  ✓ dev-pipeline seal

错误恢复

部署失败

$ dev-deploy gemini-agent
❌ Deployment failed

Recovery options:
  1. Rollback: dev-rollback gemini-agent
  2. Fix and retry: dev-fix gemini-agent && dev-deploy gemini-agent
  3. Check status: dev-status gemini-agent

验证失败

$ dev-start gemini-agent
❌ Validation failed
  css/components.css: size mismatch
    Local:  16137 bytes
    Remote: 20325 bytes (-21%)

Possible causes:
  - Working directory not prepared correctly
  - Online version is newer than local archive

Actions:
  1. Check online: version-check gemini-agent
  2. Sync from online: version-sync gemini-agent
  3. Force prepare: version-prepare gemini-agent v1.3.4 --force

配置

.dev-workflow/config.json:

{
  "projects": {
    "gemini-agent": {
      "auto_backup": true,
      "size_threshold": 20,
      "require_confirm": {
        "analyze": true,
        "deploy": true,
        "seal": false
      }
    }
  }
}

与现有skill的关系

命令 调用的skill 说明
dev-start version-manager, project-manager 启动流程
dev-status version-manager, project-manager 状态查询
dev-analyze dev-pipeline 架构分析
dev-write dev-pipeline 代码生成
dev-review dev-pipeline 代码审查
dev-fix dev-pipeline 代码修复
dev-deploy version-manager, dev-pipeline 部署流程
dev-seal version-manager, project-manager, dev-pipeline 封版流程

安全规则

  1. 禁止绕过validate - 每次deploy前必须验证
  2. 禁止无备份deploy - 必须创建备份才能部署
  3. 禁止无确认analyze - analyze后必须用户确认
  4. 禁止手动改代码 - 必须通过dev-pipeline write
  5. 禁止无seal归档 - 封版必须通过dev-seal
安全使用建议
This skill is a coherent workflow wrapper, but before installing you should: 1) inspect and trust the three dependent skills (version-manager, project-manager, dev-pipeline) because they will perform the real work and may require credentials or network access; 2) confirm where backups are stored and who can trigger deploys/rollbacks (ensure they won't reach production unexpectedly); 3) be aware the workflow enforces 'no manual code edits' — if you need manual changes that may conflict; 4) test the workflow in a safe staging environment first to verify which credentials and endpoints the dependent skills use; and 5) ask the publisher for a homepage/source or provenance information if you need stronger assurance about safety or maintenance.
功能分析
Type: OpenClaw Skill Name: dev-workflow Version: 1.0.0 The skill is suspicious due to the broad and high-risk capabilities it grants the AI agent, particularly extensive file system and network access. The `SKILL.md` explicitly instructs the agent to '备份线上代码' (backup online code) during the `dev-deploy` process, implying access to and manipulation of potentially sensitive production data. Furthermore, the `dev-deploy` command specifies deployment to a hardcoded IP address (14.103.210.113:3002), indicating direct network interaction. While these actions are presented as part of a legitimate development workflow, they represent significant attack surfaces for data exfiltration or unauthorized actions if the agent is compromised via prompt injection or other means.
能力评估
Purpose & Capability
The name/description match the contents: the SKILL.md describes an orchestrated dev workflow that delegates work to version-manager, project-manager, and dev-pipeline. There are no unrelated environment variables, binaries, or install steps required by this skill itself.
Instruction Scope
All runtime actions in SKILL.md are calls to the listed dependent skills and operations on project-local paths (versions/... and .dev-workflow/config.json). The instructions do reference reading/writing project files, creating backups, and deploying, which are appropriate for a deployment workflow. Note: the policy that forbids manual code edits ("禁止手动改代码") is an operational constraint the user should be aware of — it is intentional behavior rather than scope creep.
Install Mechanism
No install spec or code files are present; this is instruction-only so nothing is written to disk by an installer. This is the lowest-risk install posture.
Credentials
The skill declares no required environment variables, credentials, or config paths. However, many runtime actions (backups, deploys) will rely on the dependent skills; those other skills may require secrets/credentials (e.g., SSH keys, cloud credentials). Verify dependencies' requirements before use.
Persistence & Privilege
always is false and there is no request for permanent privileged presence. The skill does orchestrate actions that may affect production (deploy, backup), but it does not itself gain elevated platform privileges or modify other skills' configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dev-workflow
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dev-workflow 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
dev-workflow v1.0.0 – 一键式开发全流程管理工具 - 首发集成版,汇聚 version-manager、project-manager、dev-pipeline 三大功能,打通项目从版本检测、开发、部署到封版的全环节。 - 一键命令覆盖:项目启动(dev-start)、架构分析(dev-analyze)、自动代码生成(dev-write)、审查与修复(dev-review/dev-fix)、部署(dev-deploy)、封版归档(dev-seal)。 - 工作流程标准化,支持流程安全检查、自动备份、变更校验、人工确认等关键操作。 - 支持开发状态查询、部署回滚与常见异常处理指引。 - 可通过配置文件自定义项目参数与流程控制。
元数据
Slug dev-workflow
版本 1.0.0
许可证
累计安装 14
当前安装数 13
历史版本数 1
常见问题

Dev Workflow 是什么?

完整开发工作流 - 一键执行从检查到封版的全流程. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 869 次。

如何安装 Dev Workflow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dev-workflow」即可一键安装,无需额外配置。

Dev Workflow 是免费的吗?

是的,Dev Workflow 完全免费(开源免费),可自由下载、安装和使用。

Dev Workflow 支持哪些平台?

Dev Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dev Workflow?

由 cwyhkyochen-a11y(@cwyhkyochen-a11y)开发并维护,当前版本 v1.0.0。

💬 留言讨论