src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md
{communication_language}Follow ./sync-sprint-status.md with {target_status} = in-progress.
Implement the clarified intent directly.
Invoke the bmad-review-adversarial-general skill in a subagent with the changed files. The subagent gets NO conversation context — to avoid anchoring bias. Launch at the same model capability as the current session. If no sub-agents are available, write the changed files to a review prompt file in {implementation_artifacts} and HALT. Ask the human to run the review in a separate session and paste back the findings.
Deduplicate all review findings. Three categories only:
{deferred_work_file}.If a finding is caused by this change but too significant for a trivial patch, HALT and present it to the human for decision before proceeding.
Set {title} = a concise title derived from the clarified intent.
Write {spec_file} using ./spec-template.md. Fill only these sections — delete all others:
title: '{title}', type, created, status: 'done'. Add route: 'one-shot'.# {title} heading and ## Intent with Problem and Approach lines. Reuse the summary you already generated for the terminal../step-05-present.md § "Generate Suggested Review Order" (spec-file-relative links, concern-based ordering, ultra-concise framing).Follow ./sync-sprint-status.md with {target_status} = review.
If version control is available and the tree is dirty, create a local commit with a conventional message derived from the intent. If VCS is unavailable, skip.
git rev-parse --show-toplevel — returns the worktree root when in a worktree, project root otherwise; if this fails, fall back to the current working directory), (2) {spec_file}. Run code -r "{absolute-root}" "{absolute-spec-file}" — the root first so VS Code opens in the right context, then the spec file. Always double-quote paths to handle spaces and special characters.code is not available (command fails), skip gracefully and tell the user the spec file path instead./) with :line notation (e.g., src/path/file.ts:42) for terminal clickability — this differs from spec-file links which use spec-file-relative paths.{spec_file} now contains a Suggested Review Order.HALT and wait for human input.
Workflow complete.
Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete
If the resolved workflow.on_complete is non-empty, follow it as the final terminal instruction before exiting.