jellydn/my-ai-tools/codemap
Claude Code and agent skill by jellydn/my-ai-tools
- community
Checking that the SKILL.md file is still in the repository.
Create a seven-document architecture map when the user asks to map a codebase.
Install
npx vskill@latest install jellydn/my-ai-tools/codemapSKILL.md
Codemap
What I do
Analyze your entire codebase and create 7 comprehensive documentation files in .planning/codebase/:
- STACK.md - Technologies, dependencies, configuration
- INTEGRATIONS.md - 3rd party providers, APIs, databases, auth providers
- ARCHITECTURE.md - System patterns, layers, data flow
- STRUCTURE.md - Directory layout, key locations, naming conventions
- CONVENTIONS.md - Code style, patterns, error handling
- TESTING.md - Framework, structure, mocking, coverage
- CONCERNS.md - Tech debt, bugs, security, performance issues
When to use me
Use this skill when you need to:
- Onboard new developers to understand the codebase quickly
- Plan new features with full context of existing patterns
- Understand code conventions before making changes
- Identify technical debt and areas of concern
- Document the current state of the project
How it works
This skill runs four focus passes. Use parallel file-reading and file-writing workers when the runtime provides them. If suitable workers are unavailable, perform the same passes sequentially in the current context:
- Tech → Analyzes stack and integrations → STACK.md, INTEGRATIONS.md
- Architecture → Analyzes patterns and structure → ARCHITECTURE.md, STRUCTURE.md
- Quality → Analyzes conventions and testing → CONVENTIONS.md, TESTING.md
- Concerns → Identifies tech debt and issues → CONCERNS.md
Each pass:
- Explores the codebase for its focus
- Uses templates from
$SKILL_PATH/templates/ - Writes documents directly to
.planning/codebase/ - Returns only confirmation (not document contents)
The orchestrator:
- Creates
.planning/codebase/directory - Runs the four passes in parallel only when suitable workers are available
- Otherwise runs those passes sequentially in the current context
- Collects confirmations
- Verifies all documents created
- Commits the codebase map (if configured)
Process
Scope and Runtime
Accept an optional --paths <p1,p2,...> for an incremental map. Validate repository-relative prefixes before use: reject absolute paths, .. components, and shell metacharacters (;, backticks, $, &, |, <, >). If no supplied path is valid, stop and ask for a corrected scope; do not silently expand to the whole repository. Pass the same normalized scope to every mapper and every sequential pass. Do not interpolate unchecked input into shell commands.
Use the actual current date for all analysis-date placeholders. For scoped refreshes, retain documented information outside the scope and state which prefixes were rechecked.
Use parallel agents only when the runtime supports file-reading and file-writing workers. Do not assume an explore agent can write files or use a browser agent as a code mapper. If suitable workers are unavailable, perform the four focus passes sequentially in the current context, using the same scope and templates. Do not require GSD-specific SDK commands or agent types.
Step 1: Check Existing Map
If .planning/codebase/ already exists, prompt:
Step 2: Create Structure
Create the output directory:
Step 3: Run the Four Focus Passes
Run the passes in parallel only when the runtime supports file-reading and file-writing workers. Otherwise perform them sequentially in the current context. Parallel workers are optional, not required. Each pass must receive the validated scope, current date, and the appropriate template paths from $SKILL_PATH/templates/. The examples below describe assignments, not mandatory API parameter names. While a parallel worker is active, do not duplicate its exploration or write its documents.
Tech Agent:
Architecture Agent:
Quality Agent:
Concerns Agent:
Step 4: Verify Output
Wait for every mapper to finish. Check that all seven expected documents exist and each has more than 20 lines; a filename alone is not success. Report missing, short, or failed outputs and repair them before declaring completion. Check that dates are current and scoped output retains unaffected information.
Step 5: Secret Check and Optional Commit
Before showing or committing documents, scan for accidentally copied credentials. List configuration paths and environment-variable names, not secret values. Do not read .env contents or credential files for the map. Use the repository's secret scanner when available. A minimal supplementary check is:
This prints filenames only, not matching secret values. A no-match exit status is normal; a scanner error is not a clean scan. If a match is found, stop, redact the content, and recheck before proceeding. Pattern matching is not proof that all secrets are absent; also review excerpts copied from logs and configuration.
If the checks pass, .planning/ is not gitignored, and the user wants to commit:
Step 6: Summary
Present completion summary:
Templates
Templates are located in $SKILL_PATH/templates/:
STACK.md.template- Technology stackINTEGRATIONS.md.template- External integrationsARCHITECTURE.md.template- System architectureSTRUCTURE.md.template- Directory structureCONVENTIONS.md.template- Coding conventionsTESTING.md.template- Testing patternsCONCERNS.md.template- Technical concerns
Each agent reads the appropriate template and fills it in based on codebase exploration.
Agent Guidelines
When spawned as a mapper agent:
Exploration Commands
Helper: Use fd if available, fall back to find
Tech Focus:
Architecture Focus:
Quality Focus:
Concerns Focus:
Critical Rules
- Write documents directly - Use the Write tool, don't return contents
- Always include file paths - Every finding needs a file path in backticks
- Use the templates - Fill in the template structure exactly
- Be thorough - Read actual files, don't guess
- Return only confirmation - Response should be ~10 lines with file paths and line counts
- Skip commits — orchestrator handles git operations
Inspiration
This skill is inspired by and adapted from glittercowboy/get-shit-done, specifically their map-codebase workflow and gsd-codebase-mapper agent.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationWarning, 60 of 100Marginal. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/codemap/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 9
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jellydn/my-ai-tools/codemap)