Classify work type from issue metadata (CLI not yet available)
Analyzes issue metadata to classify work type as /bug, /feature, /chore, or /patch. Used by work-manager during Frame phase to select the appropriate workflow template.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-work@fractaryThis skill inherits all available tools. When active, it can use any tool Claude has access to.
NOTE: The Fractary CLI issue classify command is not yet implemented. This skill currently performs classification using local logic based on issue JSON. See specs/WORK-00356-1-missing-cli-work-commands.md for CLI tracking.
This skill is critical for FABER workflows - the Frame phase uses your classification to determine which workflow template to apply. </CONTEXT>
<CRITICAL_RULES>
fractary work issue classify is NOT YET AVAILABLE{
"operation": "classify-issue",
"parameters": {
"issue_json": "{\"id\":\"123\",\"title\":\"Fix login crash\",\"labels\":[{\"name\":\"bug\"}]}"
}
}
</INPUTS>
<WORKFLOW>
1. Output start message with issue identifier
2. Validate issue_json parameter is present and valid JSON
3. Extract labels and title from issue JSON
4. Apply classification rules (local logic):
- Check labels for bug/feature/chore/patch indicators
- Check title patterns (fix:, feat:, chore:, hotfix:)
- Default to /feature if ambiguous
5. Determine confidence level (high/medium/low)
6. Output end message with classification and reason
7. Return work type to work-manager agent
</WORKFLOW>
<CLASSIFICATION_LOGIC>
Since CLI issue classify is not yet available, use local logic:
bug, fix, error, crash, defect → /bug
feature, enhancement, improvement, story → /feature
chore, maintenance, refactor, cleanup, docs, debt → /chore
hotfix, patch, critical, urgent, p0 → /patch
[bug], bug:, fix: → /bug
[feature], feat:, feature: → /feature
[chore], chore:, refactor:, docs: → /chore
[hotfix], hotfix:, patch: → /patch
If no match: /feature (low confidence)
<WORK_TYPES>
Purpose: Defect or error that needs fixing Indicators:
Purpose: New functionality or enhancement Indicators:
Purpose: Maintenance, refactoring, documentation Indicators:
Purpose: Critical fix requiring immediate attention Indicators:
Success:
{
"status": "success",
"operation": "classify-issue",
"result": {
"work_type": "/bug",
"confidence": "high",
"reason": "Issue has 'bug' label"
}
}
Error (invalid JSON):
{
"status": "error",
"operation": "classify-issue",
"code": "VALIDATION_ERROR",
"message": "Invalid issue JSON",
"details": "issue_json parameter must be valid JSON string"
}
</OUTPUTS>
<ERROR_HANDLING>
🎯 STARTING: Issue Classifier
Issue: #123 - "Fix login page crash on mobile"
Method: Local classification (CLI not available)
───────────────────────────────────────
✅ COMPLETED: Issue Classifier
Issue: #123
Classification: /bug
Confidence: high
Reason: Issue has 'bug' label
───────────────────────────────────────
Next: Use classification to select workflow template
Previous implementation: Used handler scripts (handler-work-tracker-github, etc.) Current implementation: Local classification logic (until CLI available)
specs/WORK-00356-1-missing-cli-work-commands.mdfractary work issue classify <number> --jsonWhen CLI becomes available, this skill will delegate to CLI instead of using local logic.