xarchitecture
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Comprehensive traceability tracking and analysis for SpecDriven AI development with end-to-end requirement tracking
How it fires
How this command gets triggered: by you, by Claude, or both.
/xtraceContext preview
What this command does when you run it.
Comprehensive traceability tracking and analysis for SpecDriven AI development with end-to-end requirement tracking
description: Comprehensive traceability tracking and analysis for SpecDriven AI development with end-to-end requirement tracking
Comprehensive traceability tracking and analysis for SpecDriven AI development with end-to-end requirement tracking.
/xtrace --spec <spec-id> # Trace specification to implementation /xtrace --test <test-name> # Trace test to specifications /xtrace --code <file> # Trace code to requirements /xtrace --coverage # Traceability coverage analysis /xtrace --gaps # Identify traceability gaps
Trace specification through implementation chain.
**Examples:**
/xtrace --spec cli1a # Full trace for specification cli1a /xtrace --spec auth2c --tests # Show implementing tests /xtrace --spec api3b --code # Show implementing code /xtrace --spec cli1a --commits # Show related commits
Trace test back to originating specifications.
**Examples:**
/xtrace --test test_user_auth # Trace test to specifications /xtrace --test TestCLIInterface --coverage /xtrace --test test_api_validation --authority
Trace code implementation to requirements.
**Examples:**
/xtrace --code src/auth.py # Trace file to specifications /xtrace --code src/cli/ --recursive # Trace directory /xtrace --code --changed # Trace recent changes
Analyze traceability coverage across the project.
**Examples:**
/xtrace --coverage # Overall traceability coverage /xtrace --coverage --authority system # System-level coverage /xtrace --coverage --component auth # Component coverage /xtrace --coverage --gaps # Coverage gap analysis
Identify and analyze traceability gaps.
**Examples:**
/xtrace --gaps # All traceability gaps /xtrace --gaps --specs # Specifications without tests /xtrace --gaps --tests # Tests without specifications /xtrace --gaps --critical # Critical authority gaps
┌─────────────┬──────────────┬──────────────┬──────────────┐ │ Spec ID │ Tests │ Code │ Coverage │ ├─────────────┼──────────────┼──────────────┼──────────────┤ │ cli1a │ ✓ Complete │ ✓ Complete │ 95% │ │ auth2c │ ✓ Complete │ ⚠ Partial │ 70% │ │ api3b │ ✗ Missing │ ✗ Missing │ 0% │ └─────────────┴──────────────┴──────────────┴──────────────┘
┌─────────────┬──────────────┬──────────────┬──────────────┐ │ Authority │ Specs │ Tests │ Implementation│ ├─────────────┼──────────────┼──────────────┼──────────────┤ │ System │ 12 │ 11 (92%) │ 10 (83%) │ │ Platform │ 45 │ 42 (93%) │ 38 (84%) │ │ Developer │ 123 │ 118 (96%) │ 115 (93%) │ └─────────────┴──────────────┴──────────────┴──────────────┘
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…