ワンクリックで
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 職業分類に基づく
Executes Quality Control checks. It evaluates requirements, runs static analysis, executes tests, and feeds bug tasks back into the implementation loop if any check fails.
Propagate a user-described bootstrap change across canonical project artifacts and the project plan by analyzing impact and executing the owning bootstrap workflows inline.
Defines preservation, format, and section rules for SDD specification artifacts (spec.md, plan.md, tasks.md, checklists). Use when editing feature-artifact files under specs/<feature-folder>/ to prevent accidental corruption of cross-referenced IDs, priorities, and gating state.
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.
Analyzes bootstrap artifacts (PRD, SAD, optionally DOD) and decomposes the product into a prioritized, dependency-ordered sequence of epics — coarse-grained deliverable increments, each intended to be implemented as a standalone pipeline run starting at `/sddp-specify`. Use when running /sddp-projectplan or when project-level epic planning is needed after `/sddp-systemdesign`, optionally after `/sddp-devops`, and before `/sddp-init`.
Archive a completed first-pass implementation as a throwaway prototype, mine it for discovered requirements and architectural learnings, then regenerate all canonical bootstrap artifacts from scratch informed by prototype insights. Use when running /sddp-regen after all epics have been implemented.
| name | clarify-spec |
| description | Clarify product, technical, and operational specs with targeted questions and write accepted answers into spec.md. |
Read .github/skills/compact-communication/SKILL.md for terse runtime communication rules and auto-clarity exceptions. 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