idea-to-spec
@developersglobal · 收录于 1 周前
Converts vague ideas into concrete, testable specifications with acceptance criteria. No implementation begins without a spec.
适合你,如果常凭口头想法直接开发,导致返工
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add developersglobal/ai-agent-skills/idea-to-spec/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- developersglobal/ai-agent-skills/idea-to-spec/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify developersglobal/ai-agent-skills/idea-to-spec安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
64GitHub stars
~467上下文体积 · 单文件
镜像托管
怎么用
技能原文 SKILL.md
Overview
Vague ideas produce vague implementations. This skill transforms any idea — no matter how fuzzy — into a concrete specification with clear scope, acceptance criteria, and non-goals.
When to Use
- At the start of any new feature
- When a request is ambiguous
- Before creating tasks or writing any code
Process
Step 1: Capture the Core Problem
- Write: "Users currently can't [do X], which causes [pain Y]."
- Identify: who has this problem? How often? What's the impact?
- Distinguish problem from solution — don't spec a solution until the problem is understood.
Verify: You can state the problem without mentioning any implementation.
Step 2: Define Success
- Write 3–7 acceptance criteria in this format: ``` Given [context] When [action] Then [outcome] ```
- Each criterion must be binary — either it passes or it doesn't.
- Include negative cases: "Given X, the system must NOT do Y."
Verify: A QA engineer can test each criterion without asking for clarification.
Step 3: Define Scope
- In scope: List what is explicitly included.
- Out of scope: List what is explicitly excluded — as important as what's included.
- Open questions: List any decisions that still need resolution before implementation.
Verify: The out-of-scope list has at least 2 items.
Step 4: Define Non-Functional Requirements
- Performance: response time, throughput, scale targets.
- Security: auth requirements, data sensitivity.
- Reliability: uptime SLA, acceptable error rate.
Verification
- [ ] Problem statement written without mentioning implementation
- [ ] Acceptance criteria in Given/When/Then format
- [ ] Each criterion is binary (pass/fail)
- [ ] Explicit out-of-scope list
- [ ] Open questions listed
References
- [think-before-coding skill](../think-before-coding/SKILL.md)
- [task-decomposition skill](../task-decomposition/SKILL.md)
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…