triage-issue/SKILL.md
Triage a bug or issue by exploring the codebase to find root cause, then create a GitHub issue with a TDD-based fix plan. Use when user reports a bug, wants to file an issue, mentions "triage", or wants to investigate and plan a fix for a problem.
npx skillsauth add mattpocock/skills triage-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Investigate a reported problem, find its root cause, and create a GitHub issue with a TDD fix plan. This is a mostly hands-off workflow - minimize questions to the user.
Get a brief description of the issue from the user. If they haven't provided one, ask ONE question: "What's the problem you're seeing?"
Do NOT ask follow-up questions yet. Start investigating immediately.
Use the Agent tool with subagent_type=Explore to deeply investigate the codebase. Your goal is to find:
Look at:
git log on relevant files)Based on your investigation, determine:
Create a concrete, ordered list of RED-GREEN cycles. Each cycle is one vertical slice:
Rules:
Create a GitHub issue using gh issue create with the template below. Do NOT ask the user to review before creating - just create it and share the URL.
A clear description of the bug or issue, including:
Describe what you found during investigation:
Do NOT include specific file paths, line numbers, or implementation details that couple to current code layout. Describe modules, behaviors, and contracts instead. The issue should remain useful even after major refactors.
A numbered list of RED-GREEN cycles:
RED: Write a test that [describes expected behavior] GREEN: [Minimal change to make it pass]
RED: Write a test that [describes next behavior] GREEN: [Minimal change to make it pass]
...
REFACTOR: [Any cleanup needed after all tests pass]
After creating the issue, print the issue URL and a one-line summary of the root cause.
tools
A relentless interview that asks every frontier question at once, round by round.
tools
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.
testing
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
development
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.