- Add archives/ directory for immutable external skill snapshots - Strict immutability rule: only README/CHANGELOG can be modified - First import: dev-pipeline-universal v1.0.0 (Hermes Agent) - Import dev-pipeline-universal into hermes-agent/skills/ with CHANGELOG - Update hermes-agent/publish/registry.json with imported skill - Rewrite meta-skills/create-hermes-agent-skill/ with full spec: - SKILL.md frontmatter fields and validator constraints - Recommended body structure (Overview → When to Use → Pitfalls → Verification) - Progressive disclosure (3-level loading) - 8 writing quality principles - Official reference skills from GitHub repo - Tool chain docs (skill_manage, /learn, skill_view) - Update README.md with archives/ in directory structure
61 lines
2.2 KiB
Markdown
61 lines
2.2 KiB
Markdown
# 🔧 通用研发流水线技能包
|
||
|
||
> 版本: v1.0.0 | 适用: Hermes Agent / OpenClaw / AgentSkills 兼容平台
|
||
|
||
## 简介
|
||
|
||
一套完整的研发流水线技能包,覆盖从需求分析到功能上线的全流程。包含:
|
||
|
||
- **7 个阶段**:需求分析 → 技术方案 → UI设计(可选) → 编码实现(结对) → 代码审查 → 测试验证 → 部署上线
|
||
- **4 道质量门禁**:确保每个阶段产出质量
|
||
- **7 个角色**:总管、架构师、设计师、主程序员、结对程序员、审查员、测试员
|
||
- **测试分层策略**:单元测试 + 集成测试 + 冒烟测试
|
||
- **实战陷阱文档**:FastAPI、前端构建、Excel导入等
|
||
|
||
## 安装
|
||
|
||
### OpenClaw
|
||
|
||
```bash
|
||
# 复制到 OpenClaw 技能目录
|
||
cp -r dev-pipeline-universal ~/.openclaw/skills/dev-pipeline
|
||
|
||
# 或复制到工作区技能目录(更高优先级)
|
||
cp -r dev-pipeline-universal <workspace>/skills/dev-pipeline
|
||
```
|
||
|
||
### Hermes Agent
|
||
|
||
```bash
|
||
# 复制到 Hermes 技能目录
|
||
cp -r dev-pipeline-universal ~/.hermes/skills/software-development/dev-pipeline
|
||
```
|
||
|
||
## 使用前配置
|
||
|
||
1. 复制 `references/roles.example.yaml` 为 `references/roles.yaml`
|
||
2. 修改模型名称为您实际可用的模型
|
||
3. 根据您的技术栈调整测试框架配置
|
||
|
||
## 目录结构
|
||
|
||
```
|
||
dev-pipeline-universal/
|
||
├── SKILL.md # 主技能文档
|
||
├── templates/
|
||
│ └── stage-artifacts.md # 7阶段产物YAML模板
|
||
├── references/
|
||
│ ├── roles.example.yaml # 角色模型配置示例
|
||
│ ├── quality-gates.md # 质量门禁详情
|
||
│ ├── testing-strategy.md # 测试分层策略
|
||
│ ├── fastapi-pitfalls.md # FastAPI 实战陷阱
|
||
│ ├── frontend-build-optimization.md # 前端构建优化
|
||
│ ├── operation-log-pattern.md # 操作日志系统模板
|
||
│ ├── framework-comparison.md # AI框架调研对比
|
||
│ ├── excel-data-import.md # Excel批量导入
|
||
│ ├── revenue-allocation-pattern.md # 收益归属矩阵
|
||
│ └── doc-sync-pattern.md # 文档同步模板
|
||
└── scripts/
|
||
└── show_roles.py # 角色对照表生成脚本
|
||
```
|