Sign in
Explore
Prompts · PromptEveryday codingTesting & SecurityReviewed

speckit.bug.assess

Triages a bug report against the codebase: symptom, suspected root cause, severity and a proposed remediation.

Kind
Prompt
Works with
Claude Code, Codex, GitHub Copilot, Cursor, Windsurf / Devin, Cline
Source
github/spec-kit @ c00dc0551583
Path
extensions/bug/commands/speckit.bug.assess.md
License
MIT
Jobs
Debugging
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Assess Bug

Triage a bug report against the current codebase: understand the symptom, locate the suspected root cause, judge severity, and propose a remediation. The output is a single assessment file at `.specify/bugs/<slug>/assessment.md` that downstream commands (`__SPECKIT_COMMAND_BUG_FIX__`, `__SPECKIT_COMMAND_BUG_TEST__`) consume.

## User Input

```text
$ARGUMENTS
```

The user input contains the bug description and (optionally) a slug. Treat it as one of:

1. **Pasted text** — a copy of an issue, a stack trace, an error message, or a freeform description.
2. **A URL** — a link to a GitHub/GitLab issue, a discussion, a Sentry/log link, a forum thread, or any web page describing the bug. Fetch and read the page content before proceeding.
3. **A mix** — text plus a URL for additional context.

If both a URL and text are present, fetch the URL and merge its content with the pasted text when forming the bug summary.

## Slug Resolution

Each bug gets its own directory under `.specify/bugs/<slug>/`. Resolve the slug in this order:
…