Claude Code Subagents
Specialized AI agents that handle complex, multi-step development tasks autonomously
Claude Code subagents are specialized AI assistants that handle complex tasks autonomously, letting you focus on creative problem-solving while they handle the implementation details. Each agent is an expert in their domain with access to the tools they need.
Code Quality
Code Refactoring Specialist
Transforms AI-generated code into clean, professional implementations
Capabilities:
- Identifies and eliminates anti-patterns
- Consolidates duplicate logic
- Optimizes performance
- Applies project conventions from CLAUDE.md
- Maintains functionality while improving structure
claude code --agent code-refactoring-specialist src/components/TypeScript Safety Enforcer
Systematically improves type safety across codebases
Capabilities:
- Eliminates any types systematically
- Adds proper type definitions
- Fixes type errors incrementally
- Maintains build stability
- Implements strict type checking
claude code --agent typescript-safety-enforcer --strictDesign & UI
Color System Architect
Creates comprehensive color systems from basic palettes
Capabilities:
- Generates 10+ shade scales using OKLCH
- Ensures WCAG accessibility compliance
- Creates semantic color tokens
- Builds light/dark theme variations
- Converts colors to modern color spaces
claude code --agent color-system-architect --palette "#0066FF"Shadow Elevation Specialist
Implements sophisticated depth systems with subtle, professional shadows
Capabilities:
- Removes ALL colored shadows immediately
- Implements Vercel/Linear-style subtle elevation
- Creates consistent shadow scale (xs to xl)
- Ensures shadows use only neutral colors
- Optimizes for performance with will-change
claude code --agent shadow-elevation-specialist --style vercelComponent Consistency Enforcer
Ensures uniform component behavior and eliminates layout inconsistencies
Capabilities:
- Standardizes component dimensions and spacing
- Eliminates layout-shifting hover effects
- Aligns components to grid systems
- Ensures consistent interactive states
- Maintains visual harmony across contexts
claude code --agent component-consistency-enforcer src/components/HTML & Accessibility
Semantic HTML Refactor
Converts non-semantic HTML into proper HTML5 elements with zero breaks
Capabilities:
- Transforms divs to semantic landmarks
- Preserves ALL existing functionality
- Adds appropriate ARIA attributes
- Improves SEO and accessibility
- Tests each change incrementally
claude code --agent semantic-html-refactor --incrementalUX Consistency Auditor
Analyzes and fixes UX anti-patterns and interaction issues
Capabilities:
- Identifies jarring animations
- Fixes scroll conflicts and jumps
- Ensures interaction consistency
- Improves accessibility standards
- Reduces cognitive load
claude code --agent ux-consistency-auditor src/Workflow
Git Workflow Architect
Designs and optimizes git workflows for teams
Capabilities:
- Branch strategy planning
- Merge conflict resolution
- Release workflow design
- Team collaboration patterns
- Stale branch cleanup
claude code --agent git-workflow-architect --team-size 5General Purpose
Handles complex, multi-step research and development tasks
Capabilities:
- Researches complex questions
- Executes multi-step tasks
- Performs comprehensive searches
- Coordinates multiple operations
- Adapts to diverse requirements
claude code --agent general-purpose "Find and optimize all API calls"Configuration
Statusline Setup
Configures Claude Code status line settings
Capabilities:
- Customizes status line appearance
- Configures information display
- Sets up custom indicators
- Optimizes for workflow
claude code --agent statusline-setup --minimalOutput Style Setup
Creates and configures Claude Code output styles
Capabilities:
- Defines custom output formats
- Creates style templates
- Configures response patterns
- Sets up project-specific styles
claude code --agent output-style-setup --style concise