xarchitecture
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Break complex tasks into 4-8 hour atomic units for efficient development workflow
How it fires
How this command gets triggered: by you, by Claude, or both.
/xatomicContext preview
What this command does when you run it.
Break complex tasks into 4-8 hour atomic units for efficient development workflow
description: Break complex tasks into 4-8 hour atomic units for efficient development workflow tags: [planning, decomposition, estimation, dependencies, workflow]
Decompose tasks into atomic units based on the arguments provided in $ARGUMENTS.
First, examine the current project context: !find . -name "*.md" | xargs grep -l "TODO\|TASK\|FEATURE" | head -5 2>/dev/null !ls -la CHANGELOG.md ROADMAP.md PROJECT.md 2>/dev/null || echo "No project documentation found" !git log --oneline --since="1 month ago" | head -10 !find . -name "*spec*" -o -name "*requirement*" | head -5 2>/dev/null
Based on $ARGUMENTS, perform the appropriate task decomposition operation:
If decomposing tasks (--decompose, --breakdown): !grep -r "TODO\|FIXME\|FEATURE" . --include="*.md" --include="*.py" --include="*.js" | head -10 2>/dev/null !find . -name "*.spec" -o -name "*.feature" | head -5 2>/dev/null
Break down complex tasks:
If estimating time (--estimate, --sizing): !git log --pretty=format:"%h %s" --since="1 month ago" | grep -E "(feat|fix|refactor)" | wc -l !find . -name "*.py" -o -name "*.js" -o -name "*.ts" | xargs wc -l | tail -1 !git shortlog -sn --since="1 month ago" | head -5
Estimate task complexity:
If analyzing dependencies (--dependencies, --graph): !find . -name "*.py" -o -name "*.js" -o -name "*.ts" | xargs grep -l "import\|require" | head -10 !find . -name "package.json" -o -name "requirements.txt" | head -2 !git log --graph --oneline --since="1 month ago" | head -10
Analyze task relationships:
If finding parallel tasks (--parallel, --concurrent): !git branch -a | wc -l !find . -name "*test*" -type d | head -5 2>/dev/null !grep -r "@parallel\|@concurrent" . --include="*.py" --include="*.js" | head -5 2>/dev/null
Identify parallelizable work:
If validating atomicity (--validate, --verify): !find . -name "*.md" | xargs grep -l "acceptance criteria\|definition of done" | head -5 2>/dev/null !git log --pretty=format:"%h %s %an %ad" --date=short --since="1 month ago" | head -10
Validate task structure:
Think step by step about task decomposition requirements and provide:
1. **Task Analysis**:
2. **Decomposition Strategy**:
3. **Estimation Framework**:
4. **Execution Planning**:
Generate comprehensive task decomposition with atomic units, time estimates, dependency analysis, and execution planning.
If no specific operation is provided, perform task complexity assessment and recommend decomposition strategy based on current project state and requirements.
Transform Claude Code into a complete development platform with 45 AI-powered commands that automate your entire software development workflow. Now with improved git identity management!
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Manage project configuration files, environment variables, and application settings
Continue an execution plan from where it left off across sessions
Interactive debugging support with error analysis and fix suggestions - integrates with Debug Specialist sub-agent for complex…