Command Reference

Complete guide to all 40+ 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.

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.

Example:
/init-dig
/dig <area> Navigation

Navigate to a specific code area. Shows files, history, suggestions, and metadata.

Example:
/dig backend-api
/redig Refresh

Re-scan and rediscover code areas. Use after major code reorganization.

Example:
/redig
/mark-spot <name> Bookmark

Bookmark current location for instant access later. Like browser bookmarks for code.

Example:
/mark-spot auth-handler
/goto-spot <name> Navigation

Jump to a bookmarked location instantly from anywhere in the codebase.

Example:
/goto-spot auth-handler
/list-spots Info

Show all bookmarked locations with timestamps and descriptions.

Example:
/list-spots
/dig-search <query> Search

Search across areas, files, notes, and history. Fuzzy matching included.

Example:
/dig-search authentication
/dig-tree Visualization

Show hierarchical tree view of all code areas and relationships.

Example:
/dig-tree

History & Context

Browser-like navigation, snapshots, breadcrumbs, smart suggestions

/dig-history History

Show complete navigation history with timestamps. See everywhere you've been.

Example:
/dig-history
/dig-back Navigation

Navigate to previous location in history. Like browser back button.

Example:
/dig-back
/dig-forward Navigation

Navigate to next location in history. Like browser forward button.

Example:
/dig-forward
/dig-snapshot <name> Context

Save current context snapshot. Preserve your complete work state.

Example:
/dig-snapshot feature-work
/dig-load <name> Context

Load a saved snapshot. Resume exactly where you left off.

Example:
/dig-load feature-work
/dig-breadcrumb Navigation

Show navigation breadcrumb trail. Understand your current context path.

Example:
/dig-breadcrumb
/dig-suggest Smart

Get smart suggestions for where to navigate next based on patterns.

Example:
/dig-suggest
/dig-recent Quick Access

Quick list of recently visited areas for fast re-access.

Example:
/dig-recent

Team Collaboration

Team presence, knowledge sharing, wiki generation, activity tracking

/dig-team Presence

See what teammates are working on. Real-time team presence and activity.

Example:
/dig-team
/dig-note <message> Knowledge

Add contextual notes to current area for your team. Share discoveries.

Example:
/dig-note "Fixed auth bug here"
/dig-wiki Documentation

Auto-generate or view team knowledge base. All notes organized.

Example:
/dig-wiki
/dig-share <area> Sharing

Share a code area context with teammates. Export shareable report.

Example:
/dig-share backend-api
/dig-who <area> Ownership

See who works most on an area. Identify code owners and experts.

Example:
/dig-who backend-api
/dig-activity Tracking

Show team activity feed. Who did what, when, and where.

Example:
/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.

Example:
/dig-deps authentication
/dig-impact <area> Analysis

Analyze change impact. What would break if you modify this area.

Example:
/dig-impact database-layer
/dig-hotspots Metrics

Find code hotspots. Most frequently changed files and areas.

Example:
/dig-hotspots
/dig-coverage <area> Quality

Show test coverage for area. Find untested code quickly.

Example:
/dig-coverage backend-api
/dig-gaps Quality

Find documentation and test gaps. Identify technical debt.

Example:
/dig-gaps
/dig-graph Visualization

Generate dependency graph. Visualize code relationships.

Example:
/dig-graph
/dig-complexity Metrics

Measure code complexity. Find areas needing refactoring.

Example:
/dig-complexity
/dig-diff Comparison

Compare snapshots or areas. See what changed over time.

Example:
/dig-diff

Analytics & Insights

Work tracking, productivity metrics, dashboards, reporting

/dig-analytics Metrics

Comprehensive analytics dashboard. All metrics in one place.

Example:
/dig-analytics
/dig-dashboard Overview

Project overview dashboard. Quick snapshot of everything.

Example:
/dig-dashboard
/dig-stats Statistics

Detailed statistics. Lines of code, file counts, area metrics.

Example:
/dig-stats
/dig-report <type> Reporting

Generate reports. Daily, weekly, or custom activity reports.

Example:
/dig-report weekly
/dig-timeline History

Visual timeline of work. See your coding journey over time.

Example:
/dig-timeline
/dig-velocity Productivity

Measure development velocity. Track productivity trends.

Example:
/dig-velocity
/dig-insights AI

AI-powered insights. Get smart recommendations about your codebase.

Example:
/dig-insights
/dig-export Export

Export data to JSON, CSV, or Markdown. Integrate with other tools.

Example:
/dig-export --format json

Command Quick Reference

Command Category Description
/init-digDiscoveryInitialize in project
/dig <area>DiscoveryNavigate to area
/mark-spotDiscoveryBookmark location
/goto-spotDiscoveryJump to bookmark
/dig-searchDiscoverySearch everything
/dig-historyHistoryView navigation history
/dig-backHistoryNavigate backward
/dig-forwardHistoryNavigate forward
/dig-snapshotHistorySave context snapshot
/dig-suggestHistorySmart suggestions
/dig-teamTeamTeam presence
/dig-noteTeamAdd team note
/dig-wikiTeamTeam knowledge base
/dig-depsIntelligenceShow dependencies
/dig-impactIntelligenceImpact analysis
/dig-hotspotsIntelligenceFind code hotspots
/dig-coverageIntelligenceTest coverage
/dig-gapsIntelligenceFind gaps
/dig-dashboardAnalyticsProject overview
/dig-analyticsAnalyticsFull metrics
/dig-statsAnalyticsCode statistics
/dig-reportAnalyticsGenerate report

Need More Help?

Explore more resources and get started with ContextDigger