返回
遵循结构化流程处理开发任务,涵盖需求澄清、分步规划、测试优先的实现、代码审查与验证总结,适用于功能开发、调试、重构及自动化设计等场景,根据变更风险动态调整流程严格度。
简介
遵循结构化流程处理开发任务,涵盖需求澄清、分步规划、测试优先的实现、代码审查与验证总结,适用于功能开发、调试、重构及自动化设计等场景,根据变更风险动态调整流程严格度。
核心能力速览
✓所属分类:🔒 测试与安全
✓通过 Agent Skills 协议,将「能力」封装为可复用、可安装的 AI 组件
✓支持按需加载领域知识与工具,让通用模型转变为特定任务的专家
适用场景
适用于「🔒 测试与安全」相关场景,可作为可复用的 AI 能力组件,接入支持 Agent Skills 的 AI 客户端(如 Claude、Cursor、Cline 等),按需调用以扩展模型能力。
Skills.MD
| name | superpowers-workflow |
| description | Enforces a disciplined workflow for coding, debugging, refactoring, and automation: brainstorm -> plan -> implement with verification (prefer TDD) -> review -> finish. Use for almost any non-trivial change. |
Superpowers Workflow
This skill defines the default operating procedure for software and automation tasks.
When to use this skill
Use whenever the user asks to:
- build or modify code
- debug an error or failing tests
- refactor or improve quality
- design an automation workflow (e.g., API integrations, ETL, pipelines)
- add tests, reliability, or safety checks
Activation marker (required)
Immediately after reading this skill (before any other output), run:
python .agent/skills/superpowers-workflow/scripts/record_activation.py --skill superpowers-workflow
Default workflow (mandatory unless explicitly unnecessary)
- Brainstorm (short): clarify goal, constraints, risks, and acceptance criteria.
- Write a plan: small steps (2–10 minutes each) with files + verification.
- Implement: make the smallest correct change; prefer tests-first when feasible.
- Review pass: correctness, edge cases, security, style, maintainability.
- Finish: run verification commands, summarize changes + next steps.
Decision tree: how much process is needed?
- Tiny change (1 file, obvious):
- Do a mini-brainstorm (3 bullets), then mini-plan (3–5 steps), then implement + verify.
- Non-trivial change:
- Full brainstorm + plan before editing.
- High-risk change (auth, money, prod data, security, migrations):
- Add explicit risk controls: rollback plan, dry-run, extra tests, logging, safe defaults.
Output rules (how you communicate)
- Always state assumptions if anything is ambiguous.
- Always include verification (commands, tests, or observable checks).
- If you must ask questions, ask at most 3; then proceed with best assumptions.
Stop conditions
Pause implementation and switch to planning if:
- requirements conflict
- critical unknowns block correctness
- the change could cause data loss or security issues without safeguards
快捷安装
在终端执行以下命令,即可将本 Skill 安装到本地 AI 客户端:
npx skills add anthonylee991/gemini-superpowers-antigravity