specialization
From ruvnet
Train agents to become experts in specific domains for better performance.
Install
/specializationFacts
- Repository
- ruvnet/ruflo
- Status
- Actively maintained
- Last commit
- Source file
- .claude/commands/training/specialization.md
Source preview
The instructions Claude Code reads when this command runs.
# Agent Specialization Training
## Purpose
Train agents to become experts in specific domains for better performance.
## Specialization Areas
### 1. By File Type
Agents automatically specialize based on file extensions:
- **.js/.ts**: Modern JavaScript patterns
- **.py**: Pythonic idioms
- **.go**: Go best practices
- **.rs**: Rust safety patterns
### 2. By Task Type
```
Tool: mcp__claude-flow__agent_spawn
Parameters: {
"type": "coder",
"capabilities": ["react", "typescript", "testing"],
"name": "React Specialist"
}
```
### 3. Training Process
The system trains through:
- Successful edit operations
- Code review patterns
- Error fix approaches
- Performance optimizations
### 4. Specialization Benefits
```
# Check agent specializations
Tool: mcp__claude-flow__agent_list
Parameters: {"swarmId": "current"}
Result shows expertise levels:
{
"agents": [
{
"id": "coder-123",
"specializations": {
"javascript": 0.95,
"react": 0.88,
"testing": 0.82
}
}
]
}
```
## Continuous Improvement
Agents share learnings across sessions for cumulative expertise!
## CLI Usage
```bash
# Train agent specialization via CLI
npx claude-flow train agent --type coder --capabilities "react,typescript"
# Check specializations
npx claude-flow agent list --specializations
```View full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 14d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 14d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 14d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 13d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 13d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 13d ago