fast-track-ai-spec
Installation
SKILL.md
- Read
fast-track-ai/tracks/NNN-slug/intent.mdin the target repo. Intent status may staydraft. Classify each unanswered item underOpen questions:- Blocking questions: an answer changes scope, security, data persistence, external integration, architecture, or acceptance. Ask blocking questions interactively using the host ask pattern (at most three per pass). Withhold the summary and do not offer
. para implementarwhile any blocking question remains unanswered. - Deferrable questions: questions whose answers do not block overall architecture or scope. Turn each deferrable question into a bounded task whose Validate names the expected answer or artifact, placed in a group that dependent groups list in
(depends: ...). Do not invent answers to either kind.
- Blocking questions: an answer changes scope, security, data persistence, external integration, architecture, or acceptance. Ask blocking questions interactively using the host ask pattern (at most three per pass). Withhold the summary and do not offer
- Write
fast-track-ai/tracks/NNN-slug/spec.mdfrom./assets/spec.mdbundled in this skill. Outcome plus numbered Phases, Out of scope repeated from the intent without widening. Each phase separates the delivered state from its check:Done:names the delivered, observable state an observer can see when the phase closes, andAccept:names the check that proves it, a command with its expected result or an observable procedure with its expected observation.Files:is the explicit list of touched files. Auxiliary outputs go underassets/, never loose at the track root. - Write
tasks.mdfrom./assets/tasks.mdbundled in this skill: organize tasks into named parallel groups using## Group <name>headers, with(depends: <group>)on the header when a group depends on another. Tasks within one group touch disjoint files and have no data dependency, so they may run concurrently. When unsure about independence, use separate sequential groups. Each task line carries a(Phase N)tag naming the spec phase it serves,Files:for the files it touches, andValidate:naming a command with its expected result or an observable procedure with its expected observation. Include a task for each deferrable open question. When the user makes a qualifying decision (durable, costly to reverse, surprising without context, or a meaningful trade-off), filefast-track-ai/decisions/<NNN-slug>.mdfrom./assets/decisions.mdwithout a separate request and cite supporting refs, research, assessments, source URLs, or repository paths when available. Status isaccepted | supersededonly. Record evidence only in the## Evidencebody section; the ADR frontmatter has noevidencefield. Do not create an ADR for local, easily reversible, or obvious choices. To replace an ADR: create the replacement as the next numberedacceptedADR, set the original'sstatus: supersededand addsuperseded_by: <replacement-id>, and leave the original's decision text and other content unchanged. File outputs point underassets/. - Regenerate
fast-track-ai/INDEX.mdwith../fast-track-ai-init/scripts/fast-track-ai-index.sh <target>using the owner copy and report any validation error instead of presenting the summary as complete. - Run
./scripts/fast-track-ai-gate.sh --mode structure --track NNN-slug --root <target>from this skill as an internal smoke test. Fix any gate failure before presenting the draft; structure mode ignores approval status and task checkboxes. - Present a post-phase summary. Format:
- Four short bullets: outcome, phases, task count, parallel groups.
- Track location:
fast-track-ai/tracks/NNN-slug/. - Next-step line:
. para implementar. Do not report draft status as failure. Do not present an approval gate.
- Wait for user input. If the user replies
.or an affirmative synonym ("sim", "pode continuar", "yes", "continue"), set frontmatterstatus: approvedin bothspec.mdandtasks.md. Complete this approval-only action before invoking thefast-track-ai-implementskill for the same track or issuing any product edit. A multi-file action may approve both artifacts together, but must not mix approval with product edits. Approval covers exactly the presentedspec.mdandtasks.mdcontent. After approval, any material change to either file (scope, Files, Accept criteria, tasks, or group dependencies) returns both files tostatus: draftand requires a new summary before implementation may continue. Checkbox updates and administrative writes defined by the implement workflow do not count as material changes. Any other input is processed as an instruction to revise the spec or tasks before proceeding; after revision, regenerateINDEX.md, re-run the structure gate, and present the summary again.
Path resolution: ./ paths and ../fast-track-ai-* sibling paths resolve from this skill's installed directory, and fast-track-ai/ paths resolve from the target repository root.