xarchitecture
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Explore a codebase topic before making changes (read-only)
How it fires
How this command gets triggered: by you, by Claude, or both.
/xexploreContext preview
What this command does when you run it.
Explore a codebase topic before making changes (read-only)
description: Explore a codebase topic before making changes (read-only) tags: [exploration, codebase, discovery, read-only]
Comprehensively search the codebase for a topic before making any changes. Read-only — no files are modified.
**Explore a topic:**
/xexplore authentication
**Explore a specific area:**
/xexplore database migrations
**Help and options:**
/xexplore help /xexplore --help
If $ARGUMENTS contains "help" or "--help": Display this usage information and exit.
If $ARGUMENTS is empty: Tell the user: "Please provide a topic to explore. Example: /xexplore authentication" Stop and wait for input.
Find files whose names match the topic:
find . -iname "*$ARGUMENTS*" ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/vendor/*" 2>/dev/null | head -30
Grep the codebase for the topic keyword:
Check config files specifically:
Find test files related to the topic:
Check docs for the topic:
Present findings in a structured inventory:
## Exploration Report: [topic] ### Source Files (N found) - path/to/file.ts:42 — [matching line preview] ### Tests (N found) - tests/path/to/test.ts:15 — [matching line preview] ### Configuration (N found) - config/settings.json:8 — [matching line preview] ### Documentation (N found) - docs/guide.md:23 — [matching line preview]
If nothing is found:
**Do NOT make any changes to any files. This command is read-only.**
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…
Automate git workflow - stage, commit with smart messages, and push to specified branch