workflow-patterns
它能做什么
这份指南可以帮你在开发任务时遵循正确的步骤,确保工作质量。它涵盖了从开始工作到最终验证的全过程。
适用场景
- ✓从计划中开始一个新任务时。
- ✓需要在编写代码之前先写测试时。
- ✓完成某个阶段,需要检查一切是否正确时。
技能链接
https://github.com/wshobson/agents/blob/main/plugins/conductor/skills/workflow-patterns/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“开发一个任务时,我应该怎样按正确的步骤来做?”
每周 5 个新技能,1 分钟读完。
工作原理
它会指导你如何组织工作、执行测试、保存代码修改,并在继续推进之前确保一切运行正常。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Workflow Patterns
Guide for implementing tasks using Conductor's TDD workflow, managing phase checkpoints, handling git commits, and executing the verification protocol that ensures quality throughout implementation.
When to Use This Skill
- Implementing tasks from a track's plan.md
- Following TDD red-green-refactor cycle
- Completing phase checkpoints
- Managing git commits and notes
- Understanding quality assurance gates
- Handling verification protocols
- Recording progress in plan files
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Best Practices
- Never skip RED: Always write failing tests first
- Small commits: One logical change per commit
- Immediate updates: Update plan.md right after task completion
- Wait for approval: Never skip checkpoint verification
- Rich git notes: Include context that helps future understanding
- Coverage discipline: Don't accept coverage below target
- Quality gates: Check all gates before marking complete
- Sequential phases: Complete phases in order
- Document deviations: Note any changes from original plan
- Clean state: Each commit should leave code in working state
- Fast feedback: Run relevant tests frequently during development
- Clear blockers: Address blockers promptly, don't work around them
常见问题
“Never skip RED”是什么意思?
意思是你必须始终先写一个会失败的测试,然后再编写让它通过的代码。
为什么要做“小提交”(small commits)?
这样每次代码改动都容易理解,如果出现问题,也更容易修复。
什么是“质量关卡”(quality gates)?
它们是一些检查点,用来确保你的工作已经准备好,并达到了标准,才能被视为完成。
详情
作者的原始描述
Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.
repo: wshobson/agents
热度
- GitHub 星标
- 41k
- 排名
- #6667
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …