codebase-mapping

Solid

Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
74
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Codebase Mapping ## Overview Auto-indexes the project structure to build a comprehensive codebase map. This map is used for invisible context injection via the UserPromptSubmit hook, providing Claude with project awareness without explicit user prompting. ## Map Contents ### Project Structure - Directory tree with depth-limited enumeration - Key file identification (entry points, configs, lock files) ### File Type Distribution - Language breakdown (TypeScript, JavaScript, Python, etc.) - Framework detection (React, Next.js, Express, etc.) ### Entry Points - Main entry files (index, main, app) - CLI entry points - API route definitions ### Module Dependencies - Import graph analysis - Package boundary mapping - Circular dependency detection ### Test Layout - Test directory structure - Test file patterns and conventions - Test framework identification ## Context Injection The codebase map is injected as invisible context during UserPromptSubmit, providing: - Project type and framework awareness - Convention awareness for code generation - Dependency awareness for import suggestions - Test pattern awareness for test generation ## When to Use - Automatically at ClaudeKit session start - When project structure changes significantly - Before research or specification tasks ## Processes Used By - `claudekit-orchestrator` (session initialization) - `claudekit-research` (context for research agents) - `claudekit-spec-workflow` (context for spec creation)

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

codebase-mapping

Repository structure and dependency analysis for understanding a codebase's architecture. Use when needing to (1) generate a file tree or structure map, (2) analyze import/dependency graphs, (3) identify entry points and module boundaries, (4) understand the overall layout of an unfamiliar codebase, or (5) prepare for deeper architectural analysis.

335 Updated today
aiskillstore
AI & Automation Listed

shipkit-codebase-index

Generate project index for faster codebase navigation. Triggers: 'index codebase', 'create index', 'map project'.

1 Updated today
stefan-stepzero
AI & Automation Solid

codebase-context

Create a lightweight codebase_context.md that anchors the idea in the existing repo (modules, constraints, extension points). Generic framework prompt.

183 Updated 1 months ago
majiayu000
AI & Automation Listed

codebase-context

Create a lightweight codebase_context.md that anchors the idea in the existing repo (modules, constraints, extension points). Generic framework prompt.

3 Updated 1 months ago
majiayu000
AI & Automation Listed

byte-codebase-harness

Prepare a large-codebase navigation harness for Your ByteDance / Byte OS that works across Claude Code and Codex. Use when the user asks to make a repo easier for Claude/Codex to navigate, add CLAUDE.md or AGENTS.md, configure large monorepos, map a codebase, scope tests/lint by directory, reduce generated-file noise, add LSP guidance, or support subagent exploration before editing.

1 Updated 3 days ago
elan6666