writing-plans
Convert test scenarios into ordered implementation plans for TDD
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert test scenarios into ordered implementation plans for TDD
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Structured code review
Find and load available skills
PR description generation
Spec-faithful implementation for spec-driven development
Architecture and interface design for spec-driven development
Codebase analysis and context gathering for spec-driven development
| name | writing-plans |
| description | Convert test scenarios into ordered implementation plans for TDD |
| methodology | tdd |
Convert a list of test scenarios into an ordered implementation plan. This skill is used by the Planner after the Brainstormer produces scenarios.
Review scenarios: Read the brainstorming output carefully.
Group into test suites: Organize scenarios by the code unit they test.
Order the tests: Sequence tests from simplest to most complex.
Write the test plan: For each test, specify:
TestFunctionName_Scenario_ExpectedResult)Identify implementation dependencies: List what code must be written.
Estimate complexity: Flag high-effort items.
## Test Plan
### Suite: <FunctionName>
- [ ] Test: TestFunctionName_HappyPath_ReturnsResult
Setup: <what to prepare>
Action: call FunctionName with <inputs>
Assert: result equals <expected>
- [ ] Test: TestFunctionName_EmptyInput_ReturnsError
...
## Implementation Dependencies
1. <what needs to be implemented>
2. ...
## Complexity Estimates
- TestFunctionName_HappyPath: Simple
- ...
Hand this plan to the Implementer. Do NOT write implementation code.