超能力工作流程

人工智能 社区

技能解读

当前原文的自动摘译,尚未人工审校。

何时使用该技能

当用户提出以下要求时使用: 构建或修改代码 调试错误或失败的测试 重构或提高质量 设计 自动化工作流程(例如 API 集成、ETL、管道)

激活标记(必需)

阅读此技能后(在任何其他输出之前),立即运行: python .agent/skills/superpowers-workflow/scripts/record_activation.py --skill superpowers-workflow

默认工作流程(强制,除非明确不需要)

头脑风暴(短):明确目标、约束、风险和验收标准。编写计划:小步骤(每个步骤 2-10 分钟),包含文件 + 验证。实施:做出最小的正确改变;在可行的情况下更喜欢先测试。审查通过:正确性、边缘情况、安全性、风格、可维护性。完成:运行验证命令,总结更改+后续步骤。

决策树:需要多少过程?

微小的改变(1个文件,显而易见):进行小型头脑风暴(3个要点),然后制定小型计划(3-5个步骤),然后实施+验证。非平凡的改变:编辑前充分的头脑风暴+计划。高风险变更(授权、资金、产品数据、安全性、迁移):

输出规则(你如何沟通)

如果有任何不明确的地方,请务必陈述假设。始终包含验证(命令、测试或可观察的检查)。如果必须问问题,最多问 3 个;然后继续进行最佳假设。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
人工智能
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@anthonylee991 · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
Python
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# 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)
1. **Brainstorm (short)**: clarify goal, constraints, risks, and acceptance criteria.
2. **Write a plan**: small steps (2–10 minutes each) with files + verification.
3. **Implement**: make the smallest correct change; prefer tests-first when feasible.
4. **Review pass**: correctness, edge cases, security, style, maintainability.
5. **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

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。