Runs the ASD scope phase of a sprint: creates the sprint folder, state.json, and git branch, then dispatches asd-pm to refine the raw user scope into an approved sprint.md. Use when asd-sprint dispatches the scope phase for a new sprint, or when the user explicitly asks to run or re-run the scope phase for the active sprint.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Runs the ASD scope phase of a sprint: creates the sprint folder, state.json, and git branch, then dispatches asd-pm to refine the raw user scope into an approved sprint.md. Use when asd-sprint dispatches the scope phase for a new sprint, or when the user explicitly asks to run or re-run the scope phase for the active sprint.
Derive slug from raw scope text (kebab-case, ≤30 chars) — provisional, may change after refinement
Construct sprint id <NNN>-<slug> and branch from git.branch_pattern
Checkout git.base_branch, pull (optional, confirm with user), create branch
Create folder .asd/sprints/<NNN-slug>/
Dispatch asd-pm via Task with payload:
raw scope text from user (treated as draft, not final)
sprint id, branch
templates: t_sprint.md, t_state.json
instruction (MUST follow in this exact order; skipping any step is a protocol violation):
Refine the raw scope into a coherent, finished statement of the sprint goal (full sentences, written in language.docs, not caveman); preserve every concrete requirement the user mentioned. Refinement happens in chat only — DO NOT write any file yet.
Clarify via AskUserQuestion when the raw text is ambiguous, contradictory, or missing concrete acceptance signals. Mandatory if any of: scope verb is vague ("improve", "refactor", "support X"), no measurable outcome, ≥2 plausible interpretations, missing target users/surface/data shape.
Present the refined version to the user for explicit approval via AskUserQuestion with options approve / edit / reject. The approval call is mandatory even when the user's raw text looked complete — implicit approval is NOT allowed.
If edit or reject → re-refine with feedback; loop back to step 3 until explicit approve.
If the refined goal implies a better slug, propose new slug via AskUserQuestion and rename folder/branch only after confirmation.
Only after explicit approve: write <sprint>/sprint.md per t_sprint.md and initial state.json (phase=scope, iteration=0, branch, created_at) per t_state.json. Append a decisions-log entry recording the approved scope.
Emit COMPLETED.
Hard gates (any violation → emit FAILED and halt):
No Write/Edit to sprint.md or state.json before AskUserQuestion approval has returned approve.
No phase advance signal (COMPLETED) before the file write has happened.
No batching of "refine + write" into a single turn without the intermediate AskUserQuestion.
On PM COMPLETED → emit COMPLETED with return contract