plugins/codebase-mapper/skills/codebase-mapper/SKILL.md
Knowledge base for the codebase-mapper plugin. Provides writing guidelines, tone rules, and diagram conventions for generating human-readable project guides. Referenced by all codebase-mapper agents during document generation. TRIGGER WHEN: referenced by codebase-mapper pipeline agents (codebase-explorer, overview-writer, tech-writer, flow-writer, onboarding-writer, ops-writer, config-writer, guide-reviewer) during document generation. DO NOT TRIGGER WHEN: outside the /map-codebase pipeline (general documentation work should use docs:readme-craft or codebase-mapper:docs-create).
npx skillsauth add acaprino/alfio-claude-plugins codebase-mapperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a human-readable project guide for unfamiliar codebases. Output is narrative, didactic material - not technical dumps or AI-oriented analysis. Target audience: a smart colleague on their first day.
All output goes to .codebase-map/ in the project root:
.codebase-map/
INDEX.md # Entry point with navigable summary
00-executive-summary.md # Plain-language summary for anyone (non-technical)
01-overview.md # What is this project, who is it for
02-features.md # Functional capabilities
03-tech-stack.md # Technologies and dependencies
04-architecture.md # How code is organized, layers, components
05-workflows.md # Main user/system flows with diagrams
06-data-model.md # Data structures, entities, relationships
07-getting-started.md # Where to start working, key files, dev setup
08-open-questions.md # Gaps, unknowns, things to ask the team
09-project-anatomy.md # Config files, env vars, scripts, directory tree
10-configuration-guide.md # Configuration recipes, operations, troubleshooting
11-glossary.md # Domain and technical glossary (plain definitions)
_internal/
context-brief.md # Phase 1 exploration output (internal reference)
interconnect.md # Phase 1b structured map: contracts, invariants, domain rules (optional)
Single codebase-explorer agent reads the project and writes _internal/context-brief.md, which leads with a ## Project Profile (type, audience, register) and a ## Why / Context dossier.
The map-codebase command surfaces the inferred Project Profile and lets the user confirm or adjust it before the writers run. The confirmed profile drives register and depth across all documents.
Single senior-review:semantic-interconnect-mapper agent reads the context brief and writes _internal/interconnect.md (contracts, invariants, domain rules, integration hot-spots). Optional: if it fails, the pipeline continues in degraded mode. The tech-writer, flow-writer, ops-writer, and guide-reviewer cite this map instead of paraphrasing code.
Six parallel writer agents, each reading context-brief.md:
overview-writer - 00-executive-summary.md (plain-language), 01-overview.md, 02-features.md (mindmap)tech-writer - 03-tech-stack.md, 04-architecture.md (component diagram)flow-writer - 05-workflows.md, 06-data-model.md (flowcharts, sequence, ER)onboarding-writer - 07-getting-started.md, 08-open-questions.mdops-writer - 09-project-anatomy.md (config files, env vars, scripts, directory tree)config-writer - 10-configuration-guide.md (config recipes, operations, troubleshooting)Single guide-reviewer agent reads all documents, adds cross-references, fixes consistency, checks register consistency against the Project Profile, writes 11-glossary.md, and produces INDEX.md with per-audience reading paths.
Read on demand, not upfront:
references/writing-guidelines.md - voice, tone, structure, audience as a parameterreferences/audience-adaptation.md - Project Profile schema, register matrix, archetypes, the "for everyone" rulereferences/diagram-patterns.md - Mermaid templates for each documentBeyond the pipeline, the plugin provides standalone documentation agents:
documentation-engineer - Bottom-up technical documentation from code analysis (API docs, architecture, tutorials, refactoring)doc-humanizer - Rewrites existing documentation to follow the writing guidelinesBoth agents use the same writing guidelines and diagram patterns as the pipeline writers.
tools
Master memory forensics techniques including memory acquisition, process analysis, and artifact extraction using Volatility and related tools. Use when analyzing memory dumps, investigating incidents, or performing malware analysis from RAM captures.
development
Master binary analysis patterns including disassembly, decompilation, control flow analysis, and code pattern recognition. Use when analyzing executables, understanding compiled code, or performing static analysis on binaries.
development
Idiomatic Kotlin implementation patterns: coroutines and structured concurrency, Flow / StateFlow / SharedFlow, Kotlin Multiplatform (KMP) shared-code architecture, Jetpack Compose UI, Ktor server with JWT auth and Exposed, and type-safe DSL design (lambdas with receivers, delegated properties, inline reified, value classes). TRIGGER WHEN: building, writing, or reviewing Kotlin code using coroutines / Flow / suspend functions, expect/actual, Compose composables / ViewModels, Ktor routing, sealed-class state modeling, scope functions, or DSL builders. DO NOT TRIGGER WHEN: libGDX game work (use libgdx-development), Android Java without Kotlin, or pure JVM tuning unrelated to Kotlin language features.
tools
Strategic website planning skill that conducts structured client discovery, produces professional deliverables (website brief, sitemap, design direction, content strategy), and orchestrates frontend-design, frontend-layout, seo-specialist, and content-marketer agents automatically. TRIGGER WHEN: planning a new website or redesign before any code is written. DO NOT TRIGGER WHEN: the task is outside the specific scope of this component.