Summary
codebase-summary Installation Command Prompt $ npx skills add https://smithery.ai/skills/neversight/codebase-summary
smithery.ai
Analyze a codebase and generate comprehensive documentation including architecture, components, interfaces, workflows, and dependencies. Creates an AI-optimized knowledge base (index.md) and can consolidate into AGENTS.md, README.md, or CONTRIBUTING.md. Use when the user wants to document a codebase, create AGENTS.md, understand system architecture, generate developer documentation, or asks to "summarize the codebase".
codebase-summary Installation Command Prompt $ npx skills add https://smithery.ai/skills/neversight/codebase-summary
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Skill for converting an installed Firebase Extension (or extension source) into a standalone Cl…
30K installsMigration and code evolution instructions generator for GitHub Copilot. Analyzes differences be…
9K installsUse this skill when the user explicitly asks to map, document, or onboard into an existing code…
1.8K installsInspect an application repository connected to PlanetScale and recommend SQLCommenter-compatibl…
13 installsShared vocabulary for designing deep modules. Use when the user wants to design or improve a mo…
575K installsOther skills from smithery.ai · top by installs.
npx skills add https://smithery.ai
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Files included with this skill beyond the listing page.
SKILL.md
5,364 B
SUMMARY.md
446 B
Generate comprehensive codebase documentation optimized for AI assistants and developers.
Gather all parameters upfront in a single prompt:
| Parameter | Default | Description |
|---|---|---|
codebase_path |
Current directory | Path to analyze |
output_dir |
.sop/summary |
Documentation output directory |
consolidate |
false |
Create consolidated file at codebase root |
consolidate_target |
AGENTS.md |
Target: AGENTS.md, README.md, or CONTRIBUTING.md |
check_consistency |
true |
Check for cross-document inconsistencies |
check_completeness |
true |
Identify documentation gaps |
update_mode |
false |
Update existing docs based on git changes |
codebase_path existsoutput_dir if neededupdate_mode and index.md exists:- Run git log --oneline -20 to identify recent changes - Focus analysis on modified components
Run the structure analyzer:
python {baseDir}/scripts/analyze_structure.py "{codebase_path}" --depth 4 --output "{output_dir}/codebase_info.md"
Run the dependency extractor:
python {baseDir}/scripts/extract_dependencies.py "{codebase_path}" --output "{output_dir}/dependencies.md"
Then manually analyze:
Create these files in {output_dir}/:
index.md - Primary AI context file:
architecture.md:
graph diagramcomponents.md:
classDiagraminterfaces.md:
data_models.md:
erDiagramworkflows.md:
sequenceDiagramSee {baseDir}/references/documentation-templates.md for templates.
If check_consistency:
If check_completeness:
Save findings to {outputdir}/reviewnotes.md.
If consolidate is true:
consolidate_target as filename| Target | Focus |
|---|---|
| AGENTS.md | AI context, directory structure, coding patterns, testing |
| README.md | Project overview, installation, usage, getting started |
| CONTRIBUTING.md | Dev setup, coding standards, contribution workflow |
Default AGENTS.md prompt: Focus on information NOT in README.md or CONTRIBUTING.md—file purposes, directory structure, coding patterns, testing instructions, package guidance.
Report:
update_mode: summarize detected changes{consolidate_target} # At codebase root if consolidate=true
{output_dir}/
├── index.md # Primary AI context (read this first)
├── codebase_info.md # Structure analysis output
├── architecture.md # System architecture
├── components.md # Component details
├── interfaces.md # APIs and interfaces
├── data_models.md # Data models
├── workflows.md # Key workflows
├── dependencies.md # Dependencies output
└── review_notes.md # Review findings
Provide updates:
Setting up...
✅ Created {output_dir}
Analyzing structure...
✅ Found X packages across Y languages
✅ Identified Z components
Generating documentation...
✅ Created index.md
✅ Generated architecture.md, components.md...
Reviewing...
✅ Consistency check complete
✅ Found N gaps documented in review_notes.md
Done!
✅ Documentation at {output_dir}
✅ Primary context file: {output_dir}/index.md
{baseDir}/scripts/analyzestructure.py, {baseDir}/scripts/extractdependencies.py{baseDir}/references/documentation-templates.md