Task Classifier Skill
Analyzes task descriptions using keyword matching to suggest appropriate agent specializations.
Usage
./.claude/skills/task-classifier/classify-task.sh "Task description"
Classification Categories
| Category |
Keywords |
Use Case |
| frontend |
ui, ux, react, component, css, styling, layout, responsive, interface |
UI/UX development |
| backend |
api, endpoint, server, database, rest, graphql, service, authentication |
Server-side development |
| devops |
docker, kubernetes, ci/cd, deployment, infrastructure, container, pipeline |
Infrastructure work |
| testing |
test, qa, validation, coverage, integration, unit, e2e |
Quality assurance |
| security |
security, auth, encryption, vulnerability, audit, penetration |
Security work |
| data |
database, sql, migration, schema, data, model, entity |
Data modeling |
| performance |
performance, optimization, speed, cache, memory, cpu |
Performance tuning |
| general |
(default) |
General development |
Output Format
Comma-separated list of classifications:
$ classify-task.sh "Create a React dashboard with API integration"
frontend,backend,testing
Integration with Agent Selector
This skill is typically used with cfn-agent-selector to determine which agents to spawn:
CLASSIFICATION=$(classify-task.sh "$TASK_DESCRIPTION")
AGENTS=$(select-agents.sh --classification "$CLASSIFICATION" --mode standard)
Examples
# Frontend task
$ classify-task.sh "Build responsive navigation component"
frontend
# Full-stack task
$ classify-task.sh "Create REST API with React admin panel"
frontend,backend
# DevOps task
$ classify-task.sh "Setup CI/CD pipeline with Docker"
devops
# Security audit
$ classify-task.sh "Perform security audit and fix vulnerabilities"
security
Implementation Details
- Uses
grep -E for case-insensitive pattern matching
- Returns multiple classifications if multiple keywords match
- Falls back to "general" if no specific keywords detected
- Stateless execution (no persistent state)
- Exit code 0 on success, 1 on error
Used By
cfn-v3-coordinator - For automatic agent selection
cfn-agent-selector - As input for agent mapping
- CFN Loop orchestration - For task-specific agent spawning
1---2name: task-classifier3description: Analyzes task descriptions and classifies them into categories for agent selection4version: 1.0.05tags: [classification, agent-selection, automation]6metadata:7 source: https://skillmd.com/skills/masharratt/task-classifier8---910# Task Classifier Skill1112Analyzes task descriptions using keyword matching to suggest appropriate agent specializations.1314## Usage1516```bash17./.claude/skills/task-classifier/classify-task.sh "Task description"18```1920## Classification Categories2122| Category | Keywords | Use Case |23|----------|----------|----------|24| **frontend** | ui, ux, react, component, css, styling, layout, responsive, interface | UI/UX development |25| **backend** | api, endpoint, server, database, rest, graphql, service, authentication | Server-side development |26| **devops** | docker, kubernetes, ci/cd, deployment, infrastructure, container, pipeline | Infrastructure work |27| **testing** | test, qa, validation, coverage, integration, unit, e2e | Quality assurance |28| **security** | security, auth, encryption, vulnerability, audit, penetration | Security work |29| **data** | database, sql, migration, schema, data, model, entity | Data modeling |30| **performance** | performance, optimization, speed, cache, memory, cpu | Performance tuning |31| **general** | (default) | General development |3233## Output Format3435Comma-separated list of classifications:3637```bash38$ classify-task.sh "Create a React dashboard with API integration"39frontend,backend,testing40```4142## Integration with Agent Selector4344This skill is typically used with `cfn-agent-selector` to determine which agents to spawn:4546```bash47CLASSIFICATION=$(classify-task.sh "$TASK_DESCRIPTION")48AGENTS=$(select-agents.sh --classification "$CLASSIFICATION" --mode standard)49```5051## Examples5253```bash54# Frontend task55$ classify-task.sh "Build responsive navigation component"56frontend5758# Full-stack task59$ classify-task.sh "Create REST API with React admin panel"60frontend,backend6162# DevOps task63$ classify-task.sh "Setup CI/CD pipeline with Docker"64devops6566# Security audit67$ classify-task.sh "Perform security audit and fix vulnerabilities"68security69```7071## Implementation Details7273- Uses `grep -E` for case-insensitive pattern matching74- Returns multiple classifications if multiple keywords match75- Falls back to "general" if no specific keywords detected76- Stateless execution (no persistent state)77- Exit code 0 on success, 1 on error7879## Used By8081- `cfn-v3-coordinator` - For automatic agent selection82- `cfn-agent-selector` - As input for agent mapping83- CFN Loop orchestration - For task-specific agent spawning