ワンクリックで
clarify-spec
Clarify product, technical, and operational specs with targeted questions and write accepted answers into spec.md.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Clarify product, technical, and operational specs with targeted questions and write accepted answers into spec.md.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Performs non-destructive cross-artifact consistency and quality analysis across spec, plan, and tasks. Also supports remediation mode to apply fixes. Use when running /sddp-analyze or when compliance auditing is needed.
Runs the full feature-delivery SDD pipeline end-to-end without user interaction. When called without arguments, auto-selects the first unchecked epic from specs/project-plan.md. Requires Autopilot enabled in config, a Product Document, and a Technical Context Document. Use when running /sddp-autopilot.
[DEPRECATED — rules moved to AGENTS.md §Communication Style. This file is a deprecation shim only. Do not re-introduce a Read instruction for this path; the rules are ambient context loaded once via AGENTS.md.]
Generates requirements quality checklists ('Unit Tests for English') that validate quality, clarity, and completeness in a given domain. Use when running /sddp-checklist or when quality verification of requirements is needed.
Orchestrates decomposition of implementation plans into actionable, dependency-ordered task lists. Use when running /sddp-tasks or when task generation from a plan is needed.
Executes the implementation plan by processing and completing all tasks defined in tasks.md phase-by-phase. Use when running /sddp-implement or when code implementation from a task list is needed.
| name | clarify-spec |
| description | Clarify product, technical, and operational specs with targeted questions and write accepted answers into spec.md. |
Use full prose when compression could weaken question meaning.
Delegate: Context Gatherer in quick mode → resolve FEATURE_DIR.
HAS_SPEC = true. If false → ERROR: "Missing spec.md at FEATURE_DIR/spec.md. Run /sddp-specify."FEATURE_DIR/spec.md. Read frontmatter; treat missing spec_type as product.Delegate: Requirements Scanner (.github/agents/_requirements-scanner.md):
SpecPath = FEATURE_DIR/spec.md.coverage_status and questions for active spec_type.If FEATURE_DIR/research.md exists → read, map findings to ambiguity categories, reuse covered categories, refresh only unresolved/weak/changed ones.
If critical areas still lack support:
Delegate: Technical Researcher (.github/agents/_technical-researcher.md):
spec_type, detected ambiguitiesFEATURE_DIR/spec.md, FEATURE_DIR/research.md when presentUse findings to strengthen recommended answers.
When persisting: rewrite full FEATURE_DIR/research.md, merge by topic, plan-authoring research format, max 2 sources/topic, ≤4KB (consolidate if >3KB).
From questions → select up to 8 highest-impact items.
AUTOPILOT = true → auto-select recommended for every question. Log each as a decision row to autopilot-log.md: Timestamp=now, Phase=Clarify, Event=decision, Detail="Clarification Q[N]: '[question]'", Outcome="[answer]", Rationale="recommended default", Artifacts=[spec.md](spec.md). Continue to Step 6.AUTOPILOT = false → present all questions in a single numbered list with marked recommendations. Allow free-form answers. Validate all responses, record, and continue to Step 6.Update spec.md once after all answers are collected.
Per answer:
## Clarifications section exists.### Session YYYY-MM-DD, append - Q: <question> -> A: <answer>.User Scenarios & Testing or RequirementsTechnical Objectives, Requirements, or Integration PointsOperational Objectives, Requirements, or Integration PointsKey Entities when presentSuccess Criteria or relevant Requirements subsection with measurable targetsspec_typeAfter collaborative answers are integrated, attack the resolved spec for internal contradictions.
Delegate: Adversarial Scanner (.github/agents/_adversarial-scanner.md):
SpecPath = FEATURE_DIR/spec.md.findings array.If findings is empty → skip to Step 7.
AUTOPILOT = true → auto-accept recommended resolution for every finding.
Log each as a decision row to autopilot-log.md: Timestamp=now, Phase=Clarify, Event=decision, Detail="Stress-test STF-### '[summary]'", Outcome="[resolution]", Rationale="recommended default", Artifacts=[spec.md](spec.md).
Apply resolutions inline. Continue to 6.5.2.AUTOPILOT = false → present all findings in a single numbered list.
Each finding shows: ID, summary, category, severity, affected IDs, Given/When/Then scenario, recommended resolution.
Allow user to accept, override, or defer each finding.## Stress-Test Findings section exists in spec.md (after ## Clarifications if present, else after ## Success Criteria).### Session YYYY-MM-DD, add each finding in STF-### format per artifact-conventions/SKILL.md, using the scanner-provided summary as the persisted summary text.[NEEDS CLARIFICATION] markers in spec.[NEEDS CLARIFICATION: STF-###] to the first affected spec entry in this priority order: requirement, success criterion, then user story/objective heading. If no affected ID maps cleanly to a concrete spec entry, append the marker to the finding entry itself.[DEFERRED TO NEXT CLARIFY] tag to the finding entry and warn user that a follow-up /sddp-clarify pass is recommended.After each write verify:
[NEEDS CLARIFICATION: STF-###] marker (unless deferred due to 3-marker cap)After successful clarification (at least one answer integrated):
spec_maturity in frontmatter from draft to clarified**Spec Maturity**: header field to matchOutput:
coverage_status/sddp-clarify pass/sddp-clarify (optional — if deferred items or stress-test findings justify another pass) — suggested prompt. If deferred stress-test findings exist, suggest: "Focus on deferred stress-test findings STF-###, STF-###."/sddp-plan (required) — suggested prompt