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 selection4---5
6# Task Classifier Skill
7
8Analyzes task descriptions using keyword matching to suggest appropriate agent specializations.
9
10## Usage
11
12```bash
13./.claude/skills/task-classifier/classify-task.sh "Task description"
14```
15
16## Classification Categories
17
18| Category | Keywords | Use Case |
19|----------|----------|----------|
20| **frontend** | ui, ux, react, component, css, styling, layout, responsive, interface | UI/UX development |
21| **backend** | api, endpoint, server, database, rest, graphql, service, authentication | Server-side development |
22| **devops** | docker, kubernetes, ci/cd, deployment, infrastructure, container, pipeline | Infrastructure work |
23| **testing** | test, qa, validation, coverage, integration, unit, e2e | Quality assurance |
24| **security** | security, auth, encryption, vulnerability, audit, penetration | Security work |
25| **data** | database, sql, migration, schema, data, model, entity | Data modeling |
26| **performance** | performance, optimization, speed, cache, memory, cpu | Performance tuning |
27| **general** | (default) | General development |
28
29## Output Format
30
31Comma-separated list of classifications:
32
33```bash
34$ classify-task.sh "Create a React dashboard with API integration"
35frontend,backend,testing
36```
37
38## Integration with Agent Selector
39
40This skill is typically used with `cfn-agent-selector` to determine which agents to spawn:
41
42```bash
43CLASSIFICATION=$(classify-task.sh "$TASK_DESCRIPTION")
44AGENTS=$(select-agents.sh --classification "$CLASSIFICATION" --mode standard)
45```
46
47## Examples
48
49```bash
50# Frontend task
51$ classify-task.sh "Build responsive navigation component"
52frontend
53
54# Full-stack task
55$ classify-task.sh "Create REST API with React admin panel"
56frontend,backend
57
58# DevOps task
59$ classify-task.sh "Setup CI/CD pipeline with Docker"
60devops
61
62# Security audit
63$ classify-task.sh "Perform security audit and fix vulnerabilities"
64security
65```
66
67## Implementation Details
68
69- Uses `grep -E` for case-insensitive pattern matching
70- Returns multiple classifications if multiple keywords match
71- Falls back to "general" if no specific keywords detected
72- Stateless execution (no persistent state)
73- Exit code 0 on success, 1 on error
74
75## Used By
76
77- `cfn-v3-coordinator` - For automatic agent selection
78- `cfn-agent-selector` - As input for agent mapping
79- CFN Loop orchestration - For task-specific agent spawning