A Claude Code skill that builds a persistent context system for any git repository — so engineers and LLM agents can understand your codebase fast with minimal searching.
Built by @cathrynlavery at founder.codes
Run /repo-atlas in any project and it will:
- Auto-generate a repo map with directory tree, entrypoints, file stats, and changelog
- Guide you through writing architecture, domain model, critical flows, state sources, gotchas, and test docs
- Add an agent on-ramp to your
CLAUDE.mdwith a two-agent workflow (plan + verify) - Create build targets (
make atlas-generate/make atlas-check) for CI integration
The result is a docs/atlas/ folder with 10 structured docs that any engineer or AI agent can load for instant context.
After generating your atlas, use the Codex skill to get a second opinion. Codex will independently review your atlas docs for accuracy, gaps, and missed gotchas — giving you an automated quality check powered by OpenAI Codex.
/repo-atlas # Build the atlas
/codex Review my atlas docs for accuracy and completeness
Languages: Python, JavaScript/TypeScript, Go, Rust, Swift, Java, Kotlin, C/C++, C#, PHP, Elixir, Dart
Build systems: npm, Cargo, Go modules, pip/pyproject, Gradle, Maven, XcodeGen, SPM, Bundler, CMake, Bazel, Earthly
CI: GitHub Actions, GitLab CI, CircleCI, Jenkins, Travis, Azure Pipelines, Bitbucket Pipelines, Cloud Build, CodeBuild
Copy the skill into your Claude Code skills directory:
# Clone and copy
git clone https://github.com/cathrynlavery/repo-atlas.git
cp -r repo-atlas ~/.agents/skills/repo-atlas
# Or just copy the directory manuallyThen in any project, say /repo-atlas or "map this repo" or "create atlas docs".
| File | Purpose |
|---|---|
SKILL.md |
Skill definition — 7-phase workflow |
scripts/generate_atlas.py |
Generator script (Python 3.7+, stdlib only) |
references/atlas-templates.md |
Structure templates for manual docs |
MIT
Made with Claude Code by @cathrynlavery | founder.codes