diagnose
Investigate one or more bugs down to their root cause, without fixing them. A bug can come from GitHub issues, Azure DevOps work items, a spec whose code misbehaves, a bug-report file, a free-text description, or the conversation, and related items can go in one run. Reproduces where it can, labels each root cause confirmed, likely, or hypothesis, groups the items by cause, and hands off to /swe:plan through an Agreed fix block, or adds the fix's criteria to the target spec. Usage: /swe:diagnose [target …] [context]. User-invoked only.
- Compatibility
- Needs git for history, bisect, and temporary instrumentation; outside a repository it reads code only. Ticket targets are read by the skill swe:fetch-tickets, called by name, else pasted by the user. Hosts that ignore disable-model-invocation lose the user-only invocation guarantee.
Pinned to revision e88ad6d185e8, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/diagnose/SKILL.md
- skills/diagnose/references/hand-off.md
- skills/diagnose/references/investigating.md
- skills/diagnose/references/path.md
- skills/diagnose/references/report.md
Every link opens the file at its source, pinned to the revision this page describes.