codebase-archaeology
Made by JeffSystematically explore unfamiliar codebases to build working mental models. Use when onboarding to new project, "what does this do", or understanding legacy code.
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
New: Codebase Archaeology, a documentation-first walk that builds a working mental model in one session
You land in an unfamiliar codebase and start reading random files. Hours later you have a fuzzy sense of the project and a context window full of irrelevant boilerplate. Archaeology is the alternative: documentation first, then trace data flow from the entry points outward, then map the 3–5 core data structures everything revolves around.
- Documentation first: read AGENTS.md and README.md before touching code, then the directory structure and dependency manifests (Cargo.toml, package.json, pyproject.toml)
- 3–5 core data structures: the agent names the small handful of types everything else uses, with their file locations and purpose
- Two prompt variants: the structured deep-investigation prompt for spawning an Explore agent, and the self-directed exploration prompt for when the agent should explore and report
- Timed phases with ready-made ripgrep searches: orientation (2 min), entry points (5 min), core types (5 min), data flow (10 min), plus searches for config, integrations and error handling
- Output is a reusable technical summary: entry points, key types with locations, data flow, external dependencies, and configuration; a map you can hand to the next session
The premise: random file reading wastes context. Most codebases revolve around a handful of key types and a small number of integration points, and the exploration is aimed at finding them. Read AGENTS.md and README.md before touching any code, then trace data flow from the entry points (main(), CLI commands, HTTP routes) outward through handlers and core domain to storage.