Team Setup Guide
Configure ContextDigger for individual or team workflows
📋 Contents
👤 Individual Setup (Solo Development)
Working on your own project? ContextDigger works out of the box with zero configuration.
Install ContextDigger
Initialize in Your Project
This creates the .cdg/ directory with your project data.
Decide: Track or Ignore .cdg/?
✅ Option A: Track .cdg/ in Git (Recommended)
Persist your bookmarks, notes, and discoveries across machines.
Benefits: Your bookmarks, notes, and navigation history sync across devices.
⚠️ Option B: Keep .cdg/ Local Only
Add to .gitignore if you want ContextDigger data to stay local.
Trade-off: Your ContextDigger data won't sync to other machines.
✓ Done!
Start using ContextDigger with /dig <area>, /mark-spot, and other commands.
👥 Team Setup (Collaborative Development)
Working with a team? ContextDigger automatically enables team awareness when you share the .cdg/ directory via Git.
🔑 How Team Collaboration Works
- ✓ No setup required - Works automatically when .cdg/ is in git
- ✓ Decentralized - No central server, uses git for sync
- ✓ Auto-detection - Team members identified by git config
- ✓ Privacy-friendly - Can opt out anytime
Repository Owner: Initialize
The .cdg/ directory now exists in your repository.
Team Members: Clone & Start
That's it! No additional setup required. ContextDigger will automatically:
- Detect existing .cdg/ structure
- Read team activity from other members
- Broadcast your own activity when you navigate
Team Awareness: Automatic
Every time you navigate (/dig <area>), ContextDigger automatically:
- Updates your activity file in
.cdg/team/<your-email>.json - Records what area you're working on
- Tracks your recent bookmarks and navigation
See Team Activity
View what your teammates are working on:
Example output: "Alice is working on backend-api | Bob is in auth-module | Carol recently marked payment-handler"
Share Activity via Git
Team activity is automatically shared through normal git workflow:
🔒 Privacy & Git Configuration
⚠️ Privacy Controls
By default, team activity is shared via git. You can easily opt out or customize privacy settings.
Option 1: Keep Team Activity Private
Don't want to share your activity? Gitignore the team directory:
Result: Your activity stays local. You can still see teammates' activity if they share theirs.
Option 2: Team Activity On (Default)
Default behavior - team activity is tracked and shared:
Result: Your activity is shared with the team. Everyone sees who's working on what.
Option 3: Complete Privacy (Gitignore .cdg/)
Don't want to share anything? Gitignore the entire .cdg/ directory:
Result: Everything stays local - bookmarks, notes, team activity, and all discoveries.
🔍 How User Identity Works
ContextDigger identifies team members using Git configuration:
Activity file created: .cdg/team/alice_at_company_com.json
Note: Make sure your git config is set correctly for proper team identification.
💡 Best Practices
✅ For Individuals
- ✓ Track .cdg/ in git to sync across machines
- ✓ Use bookmarks liberally with
/mark-spot - ✓ Review dashboard regularly with
/dig-dashboard - ✓ Keep notes in areas for future reference
✅ For Teams
- ✓ Commit .cdg/ regularly to keep team updated
- ✓ Check
/dig-teambefore starting work - ✓ Share bookmarks for important code locations
- ✓ Use area notes for team documentation
✅ Git Workflow
- ✓ Treat .cdg/ like any other project data
- ✓ Include in your normal commit workflow
- ✓ Pull before starting to see latest team activity
- ✓ Resolve conflicts normally (merge or accept theirs)
⚠️ Privacy Considerations
- ✓ Team activity is visible to all repo members
- ✓ Use gitignore if you want privacy
- ✓ Activity shows what areas you visit, not code details
- ✓ You can opt out anytime by editing .cdg/.gitignore
📚 Common Workflows
Individual Developer
Team Member (First Time)
Daily Team Workflow
🔧 Quick Reference
Setup Commands
/init-dig Initialize ContextDigger
/dig-dashboard View project overview
Team Commands
/dig-team See team activity
/dig <area> Navigate (broadcasts to team)
Need help? Visit the documentation or check out all commands.