一键导入
requirements-planning
Helps a user break down a broad or ambiguous requirement into concrete, testable behaviors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Helps a user break down a broad or ambiguous requirement into concrete, testable behaviors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Runs the expected verification command for a TDD step, compares the observed result with the declared expectation, and reverts only the scoped changes when verification disproves the step.
Plans the next concrete behavior for TDD before RED begins. Use when a task is broad, ambiguous, or needs to be decomposed into the smallest falsifiable next slice with edge cases considered first.
Configure TDD harness for this project. Uses exemplar test and production code plus LLM analysis to extract project patterns, then interviews you to fill any gaps. Generates .github/instructions/tdd-patterns.instructions.md and stage-specific pattern assets.
Enforces a strict Red-Green-Refactor-Commit TDD workflow. Use when making any code changes or adding behavior. Guides the RED→GREEN→COMMIT→REFACTOR cycle with one-test-per-cycle discipline, edge-case-first ordering, and minimal green implementations.
基于 SOC 职业分类
| name | requirements-planning |
| description | Helps a user break down a broad or ambiguous requirement into concrete, testable behaviors. |
| user-invocable | true |
Use this skill before development to help break down a broad or ambiguous requirement into concrete, testable behaviors.
This skill is for planning only. It should not write production code, write tests, or execute a RED -> GREEN cycle.
Your audience is a software team that needs help breaking down a broad or ambiguous requirement into concrete, testable behaviors. The goal is to help the team think like a strong software engineer, QA, and requirements analyst using BDD and TDD principles to:
This skill is interactive.
Stop and ask exactly one focused question when any of the following are true:
Do not self-resolve ambiguity just because one option looks reasonable.
When the request is clear enough, produce a requirements plan with these sections:
Each scenario must:
When the plan is ready, propose writing it to a markdown file under:
docs/requirements/Default to a descriptive filename derived from the feature name, for example:
docs/requirements/user-authentication.mdBefore writing the file, ask the user to confirm that the default location and filename are acceptable.
If the user wants a different path or filename, use their choice.
docs/requirements/<feature-name>.md and ask the user to confirm that default location and filename before writing the file.