speckit.bug.fix
Applies the remediation from a bug assessment and records the changes in a fix report.
- Kind
- Prompt
- Works with
- Claude Code, Codex, GitHub Copilot, Cursor, Windsurf / Devin, Cline
- Source
- github/spec-kit @ c00dc0551583
- Path
- extensions/bug/commands/speckit.bug.fix.md
- Jobs
- Implementation
- Topics
- Debugging
Credit
- Made by
- github
- Original
- github.com/github/spec-kit/blob/c00dc0551583428a10a94443c58c6…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/commands/speckit.bug.fix.md (run as /speckit.bug.fix)
- Runs scripts
- None found
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- c00dc0551583
- Licence
- MIT
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Fix Bug Apply the remediation that was proposed by `__SPECKIT_COMMAND_BUG_ASSESS__` and record the changes in a fix report at `.specify/bugs/<slug>/fix.md`. This command is **only** valid after an assessment exists for the given slug. ## User Input ```text $ARGUMENTS ``` The user input should identify the bug to fix. Accept any of: - `slug=<bug-slug>` or `--slug <bug-slug>` or just a bare slug-like token. - A path that contains the slug (e.g. `.specify/bugs/login-timeout/`). - **Nothing** — fall back to context (see below). ## Slug Resolution Resolve `BUG_SLUG` in this order, stopping at the first match: 1. **Explicit user input** — a slug passed in `$ARGUMENTS` (any of the forms above). 2. **Conversation context** — if the current session has just run `__SPECKIT_COMMAND_BUG_ASSESS__`, the slug it reported is the working slug. Reuse it without re-prompting. Confirm it by checking that `.specify/bugs/<slug>/assessment.md` exists; if it does not, fall through. 3. **Single candidate on disk** — list `.specify/bugs/*/assessment.md`. If exactly one matching `assessment.md` is found, use the slug from its parent directory. 4. **Disambiguate**: …