triage-issue

Investigate bugs, diagnose root causes, and create GitHub issues with TDD fix plans.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/toderian/project_template --skill triage-issue-toderian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triage-issue
Source: https://github.com/toderian/project_template/tree/main/plugins/agents-extras/skills/triage-issue
Command: npx skills add https://github.com/toderian/project_template --skill triage-issue-toderian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Investigating a reported bug and turning it into an actionable, well-scoped issue is time-consuming and often skipped, leaving maintainers with vague reports. This Skill automates the triage workflow: it explores the codebase to find the root cause and files a GitHub issue that a downstream agent or human can implement directly. ## Core Features & Use Cases - Root Cause Investigation: Explores the codebase (via subagents or manual search) to trace the failing code path, review related tests, and check recent changes. - Two-Role Label Taxonomy: Assigns a category label (bug or enhancement) and a state label (e.g. needs-triage, ready-for-agent) following a canonical triage state machine. - TDD Fix Plan Generation: Produces ordered RED-GREEN test cycles that assert on observable behavior rather than implementation details, so the plan survives refactors. - Use Case: A user reports "the export button silently fails on empty datasets." The Skill investigates the export code path, identifies the missing empty-state handling, and creates a ready-for-agent GitHub issue with a TDD fix plan via gh issue create. ## Quick Start Ask the agent to triage the bug you are seeing and file a GitHub issue with a fix plan.

Frequently Asked Questions about triage-issue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage a bug and create a GitHub issue automatically?

Describe the problem in one sentence and the Skill investigates the codebase, identifies the root cause, and runs gh issue create with a structured template. It prints the issue URL, a root cause summary, and the assigned labels when done.

What is a TDD fix plan for a bug report?

A TDD fix plan is an ordered list of RED-GREEN cycles where each cycle defines one failing test for the broken behavior and the minimal change to pass it. Tests assert on observable behavior through public interfaces so the plan survives refactors.

What labels does issue triage use for bugs and enhancements?

Triaged issues carry one category label (bug or enhancement) and one state label such as needs-triage, needs-info, ready-for-agent, ready-for-human, or wontfix. If the project has its own label mapping doc, that mapping takes precedence.

Does the triage workflow ask questions before investigating?

It asks at most one question to capture the problem description, then investigates immediately without further prompts. It also creates the GitHub issue without asking for review, sharing the URL afterward.

When should an issue not move to ready-for-agent?

Transitions to needs-info, wontfix, or ready-for-human are maintainer-driven decisions outside this workflow's scope. The Skill covers only the needs-triage to ready-for-agent path and flags unusual transitions rather than executing them silently.