Configure issue classification for ADWs to route work to the correct templates. Use when setting up automatic classification of GitHub issues into chores, bugs, and features.
Routes GitHub issues to the correct workflow templates by automatically classifying them as bugs, chores, or features. Triggers when setting up automatic issue triage or routing work in ADW systems.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install google-ecosystem@melodic-softwareThis skill is limited to using the following tools:
Guide for configuring automatic classification of issues into problem classes.
Classification routes issues to the correct template:
Issue: "Login button not working"
↓
Classification: /bug
↓
Template: Bug fix plan with root cause analysis
Without classification, agents don't know which workflow to use.
Maintenance tasks, updates, cleanup:
Examples:
- "Update dependencies to latest"
- "Clean up unused imports"
- "Rename function to follow convention"
- "Add missing documentation"
Signals:
- "update", "upgrade", "clean", "remove", "rename"
- "documentation", "comment", "format"
- No user-facing change
- Maintenance in nature
Defects, errors, unexpected behavior:
Examples:
- "Login form submits twice"
- "404 error on profile page"
- "Data not saving correctly"
- "Crash when clicking button"
Signals:
- "error", "bug", "fix", "broken", "crash"
- "not working", "fails", "incorrect"
- Something that worked before now doesn't
- Unexpected behavior
New functionality, enhancements:
Examples:
- "Add dark mode toggle"
- "Implement user authentication"
- "Create new dashboard page"
- "Add export to CSV"
Signals:
- "add", "create", "implement", "new"
- "enhance", "improve", "extend"
- User-facing new capability
- Didn't exist before
# Issue Classification
Analyze the issue and respond with exactly one of:
- `/chore` - maintenance, updates, cleanup
- `/bug` - defects, errors, unexpected behavior
- `/feature` - new functionality, enhancements
If the issue doesn't fit any category, respond with `0`.
## Issue
$ARGUMENTS
# Issue Classification
Classify the GitHub issue into one of these categories.
## Categories
### /chore
- Maintenance and cleanup tasks
- Dependency updates
- Refactoring without behavior change
- Documentation improvements
Examples: "update deps", "clean up code", "rename variables"
### /bug
- Something broken that should work
- Errors, crashes, incorrect behavior
- Regressions from previous functionality
Examples: "button doesn't work", "error on page", "crash when..."
### /feature
- New functionality
- Enhancements to existing features
- User-facing improvements
Examples: "add dark mode", "create API endpoint", "implement..."
## Rules
1. Respond with exactly one: /chore, /bug, /feature, or 0
2. If unclear, prefer /chore (safest default)
3. If multiple types, choose the primary purpose
## Issue
$ARGUMENTS
# Test chores
claude -p "/classify-issue 'Update all dependencies'"
# Expected: /chore
claude -p "/classify-issue 'Clean up unused imports'"
# Expected: /chore
# Test bugs
claude -p "/classify-issue 'Login form submits twice on enter'"
# Expected: /bug
claude -p "/classify-issue '404 error on profile page'"
# Expected: /bug
# Test features
claude -p "/classify-issue 'Add dark mode toggle'"
# Expected: /feature
claude -p "/classify-issue 'Implement OAuth with Google'"
# Expected: /feature
Multi-type issues:
"Fix the broken login AND add remember me feature"
Approach: Classify by primary purpose
If equal: Request issue be split
Unclear issues:
"Improve the performance"
Approach: Default to /chore
Rationale: Safest, lowest risk
Not classifiable:
"Question about the API"
Approach: Return 0
Action: Human triage required
For specialized workflows, extend the base classes:
### /refactor
- Code restructuring
- Architecture changes
- Performance optimization
- No functional change
Examples: "refactor auth module", "optimize queries", "restructure..."
### /security
- Vulnerability fixes
- Security improvements
- Access control changes
- Compliance requirements
Examples: "fix XSS vulnerability", "add rate limiting", "update auth..."
In your ADW orchestrator:
def classify_and_route(issue):
# Classify
result = execute_agent("classifier", issue)
issue_type = parse_classification(result)
# Route to template
if issue_type == "/chore":
return execute_agent("planner", "/chore", issue)
elif issue_type == "/bug":
return execute_agent("planner", "/bug", issue)
elif issue_type == "/feature":
return execute_agent("planner", "/feature", issue)
else:
return mark_for_triage(issue)
For classification, use Haiku:
| Model | Speed | Cost | Accuracy |
|---|---|---|---|
| Haiku | Fast | Low | Good for simple decisions |
| Sonnet | Medium | Medium | Better for nuanced cases |
Haiku is usually sufficient since classification is a simple decision.
Track classification quality:
Date: 2025-12-26 Model: claude-opus-4-5-20251101
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.