← Back to Skills Marketplace
Dev Workflow
by
cwyhkyochen-a11y
· GitHub ↗
· v1.0.0
869
Downloads
1
Stars
13
Active Installs
1
Versions
Install in OpenClaw
/install dev-workflow
Description
完整开发工作流 - 一键执行从检查到封版的全流程
README (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
执行步骤:
version-check gemini-agent- 检查当前状态version-prepare gemini-agent v1.3.4- 准备代码version-validate gemini-agent- 验证完整性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
执行步骤:
version-validate gemini-agent- 最终验证- 备份线上代码
- 红线检查(文件大小、关键函数)
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 | 封版流程 |
安全规则
- 禁止绕过validate - 每次deploy前必须验证
- 禁止无备份deploy - 必须创建备份才能部署
- 禁止无确认analyze - analyze后必须用户确认
- 禁止手动改代码 - 必须通过dev-pipeline write
- 禁止无seal归档 - 封版必须通过dev-seal
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dev-workflow - After installation, invoke the skill by name or use
/dev-workflow - Provide required inputs per the skill's parameter spec and get structured output
Version History
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)。
- 工作流程标准化,支持流程安全检查、自动备份、变更校验、人工确认等关键操作。
- 支持开发状态查询、部署回滚与常见异常处理指引。
- 可通过配置文件自定义项目参数与流程控制。
Metadata
Frequently Asked Questions
What is Dev Workflow?
完整开发工作流 - 一键执行从检查到封版的全流程. It is an AI Agent Skill for Claude Code / OpenClaw, with 869 downloads so far.
How do I install Dev Workflow?
Run "/install dev-workflow" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dev Workflow free?
Yes, Dev Workflow is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Dev Workflow support?
Dev Workflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dev Workflow?
It is built and maintained by cwyhkyochen-a11y (@cwyhkyochen-a11y); the current version is v1.0.0.
More Skills