skills/system/triage/SKILL.md
Use when the user provides multiple loosely-described items (bugs, features, ideas, fixes) in a single message and wants each researched against the codebase, classified, and turned into a GitHub issue. Handles batch input of mixed-type work items.
npx skillsauth add bzellman/earp-kit triageInstall 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.
Batch-process loosely-described work items into properly-routed GitHub issues. Each item is autonomously researched against the codebase, classified by size/confidence/risk, and routed to one of three paths.
digraph triage_routing {
rankdir=TB;
"Item classified" [shape=doublecircle];
"Large scope OR high risk?" [shape=diamond];
"High confidence?" [shape=diamond];
"[Research]" [shape=box, style=filled, fillcolor=lightyellow];
"[Ready]" [shape=box, style=filled, fillcolor=lightgreen];
"[REVIEW]" [shape=box, style=filled, fillcolor=lightcyan];
"Item classified" -> "Large scope OR high risk?";
"Large scope OR high risk?" -> "[Research]" [label="yes"];
"Large scope OR high risk?" -> "High confidence?" [label="no"];
"High confidence?" -> "[Ready]" [label="yes"];
"High confidence?" -> "[REVIEW]" [label="no"];
}
| Condition | Path | Action |
|-----------|------|--------|
| Large scope OR high risk (any confidence) | [Research] | GH issue with research + suggested /prd-taskmaster prompt |
| Small/medium + high confidence | [Ready] | Auto-invoke /agent-os:shape-spec, GH issue with full spec |
| Small/medium + low/medium confidence | [REVIEW] | Spec + open questions section in GH issue |
Conservative routing: When uncertain, demote to [REVIEW], never promote to [Ready].
Split user message into discrete items. For each:
bug (crash/error/broken/fails) or enhancement (add/new/create/build)Dispatch one Explore agent per item (parallel via Agent tool). Each agent:
agent-os/standards/index.yml for applicable standardsagent-os/product/roadmap.md for alignment with planned workPrompt template for Explore agents:
Research this work item against the codebase: "{item_text}"
Find:
1. Affected files (search for related code, views, services, controllers)
2. Check agent-os/standards/index.yml for applicable standards
3. Check agent-os/product/roadmap.md for roadmap alignment
4. Estimate: how many files touched, cross-stack (ios+backend)?
Return structured findings:
- Affected files (list paths)
- Scope: ios | backend | ai-services | infrastructure (can be multiple)
- Complexity: trivial (<3 files, single stack) | moderate (3-10 files) | large (10+ or cross-stack)
- Unknowns: what's unclear or needs human input
- Roadmap alignment: does this match planned work?
Using research results, classify each item:
| Dimension | Values | Signals | |-----------|--------|---------| | Size | small, medium, large | File count, cross-stack scope | | Confidence | high, medium, low | Unknowns count, pattern match clarity | | Type | bug, enhancement | User text keywords, affected code nature | | Risk | low, medium, high | Data model changes, auth/security, cross-stack |
Classification signals:
| Signal | Source | Maps to | |--------|--------|---------| | crash/error/broken/fails | User text | type=bug | | add/new/create/build | User text | type=enhancement | | Swift/SwiftUI/iOS files | Explore | label=ios | | Controller/.cs/API files | Explore | label=backend | | Vertex AI/prompt/model | Explore | label=ai-services | | Terraform/Docker/CI | Explore | label=infrastructure | | 10+ files or cross-stack | Explore | size=large | | Data model / migration | Explore | risk=high | | Auth/security code | Explore | risk=high | | 3+ unknowns | Explore | confidence=low |
Apply decision matrix:
[Research][Ready][REVIEW]Process each item by its assigned path:
[Ready] path:
Skill("agent-os:shape-spec", "{item context + research findings}"), capture the spec outputTitle: [Ready] {Type}: {Description}
Labels: {type}, {scope labels}
Body: Full spec (from shape-spec or inline)
[REVIEW] path:
## Open Questions section listing unknowns from researchTitle: [REVIEW] {Type}: {Description}
Labels: {type}, {scope labels}
Body: Spec + Open Questions section
[Research] path:
/prd-taskmaster prompt the user can run laterTitle: [Research] PRD: {Description}
Labels: PRD, {type}, {scope labels}
Body: Research findings + suggested /prd-taskmaster prompt
Create issues with gh issue create:
gh issue create --title "[Ready] Bug: Audio upload silently fails" \
--label "bug,ios,backend" \
--body "$(cat <<'EOF'
... spec content ...
EOF
)"
Output summary table to user:
| # | Item | Path | Issue | Labels |
|---|------|------|-------|--------|
| 1 | Podcast player crash | [Ready] | #123 | bug, ios |
| 2 | iMessage sharing | [Research] | #124 | PRD, enhancement, ios |
| 3 | Test prompt button | [Ready] | #125 | enhancement, backend |
| 4 | Audio upload fails | [REVIEW] | #126 | bug, ios, backend |
| 5 | Family history research | [Research] | #127 | PRD, enhancement |
Every issue gets:
bug or enhancementios, backend, ai-services, infrastructurepriority-high, priority-criticalPRD| Mistake | Fix | |---------|-----| | Promoting uncertain items to [Ready] | When in doubt, use [REVIEW] | | Skipping research phase | Always dispatch Explore agents, even for "obvious" items | | Creating issues without labels | Every issue needs type + scope labels minimum | | Running shape-spec for trivial items | Trivial (< 3 files, obvious) gets inline spec | | Sequential research | Dispatch all Explore agents in parallel | | Asking user mid-flow | Fully autonomous after parse; unknowns go in [REVIEW] issues |
devops
Use when running 2+ /prd-to-pr or /bug-to-pr pipelines simultaneously, when user says "run these in parallel", "batch these PRDs/bugs", "orchestrate these workflows", or has multiple work items to ship end-to-end concurrently
business
Generate a report about a video
development
Comprehensive software architecture skill for designing scalable, maintainable systems across web, mobile, and backend stacks (React, Next.js, Node/Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python). Use when designing system architecture, making technical decisions, creating architecture diagrams, evaluating trade-offs, or defining integration patterns.
development
Self-healing merge-to-production pipeline. Use when the user approves a PR for merge, says "ship it", "deploy this", "merge and deploy", "take this to prod", or wants to promote code through environments. Handles CI monitoring, failure analysis and auto-fix, DB migrations, terraform apply, and progressive deployment (dev -> staging -> prod) with health verification at each stage. Also triggers for partial invocations like "promote to staging", "deploy to prod", "run migrations", or "check deploy status".