AI collaboration guide for SourceAtlas development.
AI-optimized codebase analysis tool - scan <5% of files to achieve 70-95% understanding using information theory principles.
Current Version: v2.13.1 (2026-03-09)
| File | Purpose |
|---|---|
ANALYSIS_CONSTITUTION.md |
Immutable analysis principles (7 Articles) |
PROMPTS.md |
Stage 0-1-2 prompt templates |
PRD.md |
Product requirements |
USAGE_GUIDE.md |
User documentation |
dev-notes/ROADMAP.md |
Future plans |
dev-notes/HISTORY.md |
Version history |
/atlas.overview - Project fingerprint (Stage 0)
/atlas.pattern - Learn design patterns
/atlas.flow - Flow tracing (11 modes)
/atlas.history - Git temporal analysis
/atlas.impact - Change impact analysis
/atlas.deps - Dependency analysis
/atlas.list - List saved analyses
/atlas.reset - Clear saved analyses
All commands auto-save to .sourceatlas/. Use --force to skip cache and re-analyze.
- Never use
git commit- GitButler manages all commits - Focus on code, let GitButler handle version control
- When done, stop and let GitButler hooks execute
- Information Theory - High-entropy files first (configs, docs, models)
- Scale-Aware - TINY 50%, SMALL 20%, MEDIUM 10%, LARGE 5%, VERY_LARGE 3%
- Evidence-Based - Every claim needs
file:linereference - Exclude Always -
.venv,node_modules,__pycache__
- Standards over custom (YAML, Markdown)
- Test on 3+ real projects
- Document while developing
- Use
validate-constitution.shfor compliance
- Information theory works - <5% scan → 70-80% understanding
- Scale-awareness critical - Different strategies per size
- YAML > TOON - Standard ecosystem > 14% token savings
- Benchmarking reveals truth - Test on real projects
- AI collaboration detectable - Level 0-4 maturity model
sourceatlas2/
├── plugin/ # Official Claude Code Plugin
├── .claude/commands/ # Local dev slash commands
├── scripts/atlas/ # Core analysis scripts
├── dev-notes/ # Development history
├── proposals/ # Feature proposals
└── ideas/ # Experimental notes
When user asks about "this project", "architecture", "overview":
- Check
.sourceatlas/exists - Read
overview.yamlfor context - Read specific caches based on question topic
/multi-approach- Compare 2+ implementation options/dev-notes-guide- dev-notes/ management rules/pre-release- Version bump checklist