codemap
/codemap
Generate codebase maps with directory trees and relationships. Use for onboarding and architecture documentation.
- Author
- ils15 ↗
- Repository
- copilot-global-config ↗
- Licence
- MIT
- Last repository change
- 22.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 22.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Generate codebase maps with directory trees and relationships. Use for onboarding and architecture documentation.
Original author description
Generate codebase maps with directory trees and relationships. Use for onboarding and architecture documentation.
How it works
- When to Use
- How to Generate
- Output Format
- Maintenance
SKILL.md preview
--- name: codemap description: "Generate codebase maps with directory trees and relationships. Use for onboarding and architecture documentation." context: fork --- # Codemap — Codebase Cartography ## When to Use - Onboarding to a new codebase - Planning large refactors - Documenting architecture - Understanding dependencies between modules ## How to Generate ### 1. Directory Tree ```bash tree -I 'node_modules|.git|__pycache__|*.pyc|.venv|dist|build' -L 3 ``` ### 2. Entry Points Identify main entry points: - `package.json` → `main`, `bin` - `pyproject.toml` → `scripts` - `src/main.py`, `src/index.ts`, `app.py` - Dockerfiles, docker-compose.yml ### 3. Module Map For each significant directory, document: - Purpose - Key files - Dependencies (imports from other modules) - Public API surface ### 4. Relationship Graph Show how modules connect: ``` frontend/ → api/ (HTTP calls) backend/ → database/ (SQLAlchemy models) worker/ → queue/ (Redis/RabbitMQ) ``` ## Output Format ```markdown # Codemap: <Project Name> ## Entry Points - `src/main.py` — FastAPI application - `scripts/migrate.sh` — Database migration runner ## Directory Structure ``` src/ ├── api/ # REST endpoints ├── services/ # Business logic ├── models/ # Database schemas └── utils/ # Shared utilities ``` ## Module Relationships | Module | Depends On | Used By | |--------|-----------|---------| | api/ | services/, models/ | — (top level) | | services/ | models/, utils/ | api/ | | models/ | — | api/, services/ | ## Key Files | File | Purpose | Lines | |------|---------|-------| | src/api/auth.py | Authentication endpoints | 120 | | src/services/user.py | User business logic | 200 | ``` ## Maintenance - Regenerate when directory structure changes significantly - Update after major refactors - Keep in `/memories/repo/codemap.md` (Tier 1 memory)
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · ils15/copilot-global-config | 100 | MIT |
| jordancoin/codemap | 100 | MIT |
| AZidan/archflow | 100 | MIT |
| alvinunreal/oh-my-opencode-slim | 100 | MIT |
| jordancoin/codemap | 100 | MIT |
| azidan/codemap | 100 | MIT |
| ialameh/sift-coder | 100 | MIT |
| jellydn/my-ai-tools | 96 | MIT |
| QDinvest/Code-Map-QD | 96 | MIT |
Identical content appears in 2 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 4f4aa5a21d9f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100codemap-export
Use to export the codemap as machine-readable JSON for downstream tooling. Same data as /codemap, different format. "Export the codemap", "give me the codemap as JSON". - 90rc-codemap
Builds and refreshes per-directory codemap.md as a cheap structure map. Use before exploring a large repo. Do not use to trace one bug. - 100codemap-refresh
Use when code has changed since codemap files were generated and the user wants them brought up to date: "refresh", "update the diagrams", "docs are stale". Detects which docs/codemap files are outdated and regenerates only those, preserving manual edits. - 100architecture-md
Generate an ARCHITECTURE.md file for a codebase following matklad's principles. Use when asked to "write an architecture doc", "create ARCHITECTURE.md", "document the architecture", "explain the codebase structure", "write a codemap", or when onboarding contributors to a… - 90explore
Systematic codebase exploration using codemap's analysis tools. Use when understanding how code works, tracing dependencies, or onboarding to a new area. - 100architecture-overview
Use when the user wants an architecture overview, system structure, "how is this project organized", or C4-style diagrams of a codebase. Reads the code and writes docs/codemap/architecture.md with three zoom levels as Mermaid diagrams.