方案探索头脑风暴
brainstorming
在确定方案之前探索解决方案空间。当用户有粗略想法、存在多种可行方案,或处于编码前的早期功能设计阶段时使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- brainstorming
- description
- Explore the solution space before committing to an approach. Use when the user has a rough idea, when multiple valid approaches exist, or in early-stage feature design before coding.
02 资源文件 1
- 参考文档reference/question-frameworks.md531 B
03 SKILL.md 正文
Brainstorming
Transform a vague idea into a concrete design through structured dialogue. Work the phases in order; finish when you have produced the design doc at the end.
Phase 1: Understand the seed
Ask clarifying questions until you can answer:
- Goal: What problem are we solving?
- Context: What exists today?
- Constraints: What limits apply?
- Success: How will we know it works?
Question catalog by domain (features / architecture / UX): reference/question-frameworks.md.
Phase 2: Generate options
Present 2–4 distinct approaches (more than 4 is analysis paralysis):
## Option A: [Name]
- Approach: [Brief description]
- Pros: [Benefits]
- Cons: [Drawbacks]
- Effort: [Relative complexity]
Phase 3: Explore trade-offs
For each option, weigh: technical implications, maintenance burden, future flexibility, team familiarity. Make every assumption explicit.
Phase 4: Converge
Recommend one option with rationale, list the open questions per path, and propose the next concrete step. Emit the design doc:
# Design: [Feature Name]
## Summary
[1-2 sentence description]
## Chosen Approach
[Selected option with rationale]
## Key Decisions
- Decision 1: [Choice] because [reason]
## Open Questions
- [ ] Question 1
## Next Steps
1. [First concrete action]
Next
- Feed the design doc into the
create_planskill. - Persist decisions under
thoughts/shared/.
04 同仓库更多 Skills
技术文档写作规范
writing-standards
遵循 AS v2 技术写作规范(清晰、简洁、主动语态、Python/Django 惯例)。适用于撰写 README、文档字符串(PEP 257)、提交信息、PR 描述、错误信息或任何技术文档。
成果验证关卡
verification-gate
在宣称成功之前先进行验证。适用于准备表示某功能可用/已完成、实现功能后、修复缺陷后,或推送代码前——先运行验证命令并确认输出。
测试驱动开发
test-driven-development
在 AS v2(pytest + Django/DRF)中先编写失败的测试,再进行实现。适用于实现功能或修复缺陷时,在编写任何生产代码之前使用。
子智能体编排开发
subagent-development
在 AS v2 中编排子智能体——将任务拆解为相互独立的领域,并行处理并进行两阶段审查。适用于委派探索、实现或跨文件验证,以加快工作进度并节省主上下文。
自动化安全扫描
security-scan
为 AS v2 提供自动化安全扫描。在提交前或审查变更中的漏洞时使用。执行依赖审计(pip-audit、npm audit)、密钥检测(grep 模式)和代码模式扫描(SQL 注入、XSS、eval、pickle、硬编码密钥)。与项目 hooks 系统集成。
交接文档恢复工作
resume-handoff
从保存的交接文档恢复工作,在继续之前先根据当前代码库验证其状态。适用于上下文清空后或在新会话中(通过路径、会话名称或 GitHub issue)从保存的交接文档恢复工作。