triage-bug
Triage with TDD
Investigate a reported problem, find its root cause, and produce a TDD fix plan. The goal is to hand the user a clear, actionable issue they can immediately start working on. Minimize back-and-forth — code exploration answers most questions faster than asking.
Process
1. Capture the problem
If the user hasn't described the issue, ask exactly one question: "What's the problem you're seeing?"
Resist asking follow-ups before you investigate. You'll find most of the context yourself, and what you can't find you can clarify at the end.
2. Explore and diagnose
Launch parallel explore subagents to investigate different angles simultaneously — this saves significant time on larger codebases. A good split:
- Subagent A — Code path: Trace from the symptom back to its origin. Follow the call chain, data flow, or event lifecycle until you find where the behavior diverges from what's expected.
- Subagent B — History & tests: Check git log on relevant files for recent changes. Look at existing tests to understand what's already verified and what's missing.
- Subagent C (if needed) — Similar patterns: Search the codebase for analogous features that work correctly. This reveals whether the issue is unique or systemic.
More from yldgio/vibe-grimoire
pre-mortem
>-
13create-prd
Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue, Azure DevOps work item, or local file. Use when the user wants to create or write a PRD, create a product requirements document, design a new feature, or capture requirements.
11setup-repo
>-
11prd-slice
Break a PRD into independently-deliverable work items (vertical slices / tracer bullets) and create them in Azure DevOps, GitHub Issues, or Jira. Use when a user wants to convert a PRD into implementation tickets, decompose a product spec into trackable slices, create work items from requirements, or break down a PRD for any issue tracker — even if they don't say "vertical slice" or "tracer bullet".
11plan-from-prd
Turn a PRD into a multi-phase, local Markdown implementation plan using tracer-bullet vertical slices, saved to ./plans/. Use when the user wants to create an implementation plan from a PRD, plan phases from a PRD, break a PRD into development phases, or mentions "tracer bullets" or "implementation phases". For creating tracker work items (GitHub Issues, Azure DevOps, Jira) use the prd-slice skill instead.
11tdd
>-
9