Command Reference
Complete guide to all 80 ContextDigger commands
💬 Use These Commands in Claude Code Chat
All commands below like /init-dig, /dig, /mark-spot, etc. are typed in your Claude Code chat session.
Open Claude Code in your project directory, then type these commands in the chat to navigate your codebase.
Jump to Section
Discovery & Navigation
Auto-discover code areas, navigate with precision, bookmark locations
/init-dig Setup Initialize ContextDigger in your project. Scans the codebase, detects languages, discovers logical areas.
/init-dig /dig <area> Navigation Navigate to a specific code area. Shows files, history, suggestions, and metadata.
/dig backend-api /redig Refresh Re-scan and rediscover code areas. Use after major code reorganization.
/redig /mark-spot <name> Bookmark Bookmark current location for instant access later. Like browser bookmarks for code.
/mark-spot auth-handler /goto-spot <name> Navigation Jump to a bookmarked location instantly from anywhere in the codebase.
/goto-spot auth-handler /list-spots Info Show all bookmarked locations with timestamps and descriptions.
/list-spots /dig-search <query> Search Search across areas, files, notes, and history. Fuzzy matching included.
/dig-search authentication /dig-tree Visualization Show hierarchical tree view of all code areas and relationships.
/dig-tree /dig-split <area> [-v|-vv] v1.3.0 NEW Multi-strategy split of large areas into focused sub-areas. Analyzes files with 4 parallel strategies (directory, naming, role, imports) and presents interactive multi-select.
/dig-split apex-tests /dig-split apex-tests -v /dig-split apex-tests -vv • -v: Horizontal verbose (file previews, patterns, metadata)
• -vv: Vertical tree (hierarchical with recursive splits)
/create-subarea <parent> <name> <pattern> v1.3.0 NEW Quick create a sub-area with an exact glob pattern. Perfect when you know exactly what files you want.
/create-subarea apex-tests account "**/*Account*Test.cls" History & Context
Browser-like navigation, snapshots, breadcrumbs, pattern-based suggestions
/dig-history History Show complete navigation history with timestamps. See everywhere you've been.
/dig-history /dig-back Navigation Navigate to previous location in history. Like browser back button.
/dig-back /dig-forward Navigation Navigate to next location in history. Like browser forward button.
/dig-forward /dig-snapshot <name> Context Save current context snapshot. Preserve your complete work state.
/dig-snapshot feature-work /dig-load <name> Context Load a saved snapshot. Resume exactly where you left off.
/dig-load feature-work /dig-breadcrumb Navigation Show navigation breadcrumb trail. Understand your current context path.
/dig-breadcrumb /dig-suggest Pattern Get pattern-based suggestions for where to navigate next.
/dig-suggest /dig-recent Quick Access Quick list of recently visited areas for fast re-access.
/dig-recent Team Collaboration
Team presence, knowledge sharing, wiki generation, activity tracking
/dig-team Presence See which governed areas teammates have been updating (via git sync). Team activity over time, not live presence.
/dig-team /dig-note <message> Knowledge Add contextual notes to current area for your team. Share discoveries.
/dig-note "Fixed auth bug here" /dig-wiki Documentation Auto-generate or view team knowledge base. All notes organized.
/dig-wiki /dig-share <area> Sharing Share a code area context with teammates. Export shareable report.
/dig-share backend-api /dig-who <area> Ownership See who works most on an area. Identify code owners and experts.
/dig-who backend-api /dig-activity Tracking Show team activity feed. Who did what, when, and where.
/dig-activity Code Intelligence
Dependencies, impact analysis, hotspots, test coverage, gap detection
/dig-deps <area> Analysis Show dependencies for an area. What imports/uses this code.
/dig-deps authentication /dig-impact <area> Analysis Analyze change impact. What would break if you modify this area.
/dig-impact database-layer /dig-hotspots Metrics Find code hotspots. Most frequently changed files and areas.
/dig-hotspots /dig-coverage <area> Quality Show test coverage for area. Find untested code quickly.
/dig-coverage backend-api /dig-gaps Quality Find documentation and test gaps. Identify technical debt.
/dig-gaps /dig-graph Visualization Generate dependency graph. Visualize code relationships.
/dig-graph /dig-complexity Metrics Measure code complexity. Find areas needing refactoring.
/dig-complexity /dig-diff Comparison Compare snapshots or areas. See what changed over time.
/dig-diff Analytics & Insights
Work tracking, productivity metrics, dashboards, reporting
/dig-analytics Metrics Comprehensive analytics dashboard. All metrics in one place.
/dig-analytics /dig-dashboard Overview Project overview dashboard. Quick snapshot of everything.
/dig-dashboard /dig-stats Statistics Detailed statistics. Lines of code, file counts, area metrics.
/dig-stats /dig-report <type> Reporting Generate reports. Daily, weekly, or custom activity reports.
/dig-report weekly /dig-timeline History Visual timeline of work. See your coding journey over time.
/dig-timeline /dig-velocity Productivity Measure development velocity. Track productivity trends.
/dig-velocity /dig-insights AI AI-powered insights. Get pattern-based recommendations about your codebase.
/dig-insights /dig-export Export Export data to JSON, CSV, or Markdown. Integrate with other tools.
/dig-export --format json Command Quick Reference
| Command | Category | Description |
|---|---|---|
/init-dig | Discovery | Initialize in project |
/dig <area> | Discovery | Navigate to area |
/mark-spot | Discovery | Bookmark location |
/goto-spot | Discovery | Jump to bookmark |
/dig-search | Discovery | Search everything |
/dig-history | History | View navigation history |
/dig-back | History | Navigate backward |
/dig-forward | History | Navigate forward |
/dig-snapshot | History | Save context snapshot |
/dig-suggest | History | Pattern suggestions |
/dig-team | Team | Team presence |
/dig-note | Team | Add team note |
/dig-wiki | Team | Team knowledge base |
/dig-deps | Intelligence | Show dependencies |
/dig-impact | Intelligence | Impact analysis |
/dig-hotspots | Intelligence | Find code hotspots |
/dig-coverage | Intelligence | Test coverage |
/dig-gaps | Intelligence | Find gaps |
/dig-dashboard | Analytics | Project overview |
/dig-analytics | Analytics | Full metrics |
/dig-stats | Analytics | Code statistics |
/dig-report | Analytics | Generate report |
Need More Help?
Explore more resources and get started with ContextDigger