speckit.bug.test
Checks that a recorded fix resolves the bug described in the assessment, and writes a verification 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.test.md
- Jobs
- Testing
- Topics
- Unit tests & TDD
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.test.md (run as /speckit.bug.test)
- 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.
# Test Bug Fix Validate that the fix recorded by `__SPECKIT_COMMAND_BUG_FIX__` actually resolves the bug described by `__SPECKIT_COMMAND_BUG_ASSESS__`. The output is a verification report at `.specify/bugs/<slug>/test.md`. ## User Input ```text $ARGUMENTS ``` The user input should identify the bug to validate. Accept any of: - `slug=<bug-slug>` or `--slug <bug-slug>` or 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__` or `__SPECKIT_COMMAND_BUG_FIX__`, the slug it reported is the working slug. Reuse it without re-prompting. Confirm it by checking that `.specify/bugs/<slug>/fix.md` exists; if it does not, fall through. 3. **Single candidate on disk** — list `.specify/bugs/*/fix.md`. If exactly one bug has a `fix.md`, use it. 4. **Disambiguate**: …