codebase-documenter
Skill101 starsChanged 9 months agoMITView on GitHub
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments. Use when documenting code or making a project easier for new developers.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Douglasst102/AgentSkillstheir own version, first seen Sep 28, 2026
- rm2thaddeus/Aitor_Skillstheir own version, first seen Jan 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Douglasst102/AgentSkills★ 4same name
- rm2thaddeus/Aitor_Skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository180 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-a11ySkill
- agent-accessibility-expertSkill
- agent-android-developerSkill
- agent-api-designerSkill
- agent-api-integration-specialistSkill
- agent-audio-engineerSkill
- agent-auth-specialistSkill
- agent-blockchain-developerSkill
- agent-brand-strategistSkill
- agent-browser-extension-developerSkill
- agent-cli-developerSkill
- agent-cloud-architectSkill
- agent-code-explainerSkill
- agent-compliance-engineerSkill
- agent-cpp-expertSkill
- agent-database-expertSkill
- agent-data-engineerSkill
- agent-desktop-developerSkill
- agent-devsecops-engineerSkill
- agent-django-fastapi-expertSkill
- agent-documentation-writerSkill
- agent-e2e-test-specialistSkill
- agent-email-specialistSkill
- agent-embedded-developerSkill
- agent-event-driven-architectSkill
- agent-flutter-developerSkill
- agent-game-developerSkill
- agent-go-expertSkill
- agent-graphic-designerSkill
- agent-graphql-architectSkill
- agent-i18n-specialistSkill
- agent-kotlin-expertSkill
- agent-macos-developerSkill
- agent-microservices-architectSkill
- agent-migration-specialistSkill
- agent-ml-engineerSkill
- agent-mobile-architectSkill
- agent-mobile-release-managerSkill
- agent-monetization-expertSkill
- agent-motion-designerSkill
- agent-next-js-expertSkill
- agent-observability-engineerSkill
- agent-payment-billing-specialistSkill
- agent-product-analytics-specialistSkill
- agent-product-managerSkill
- agent-pwa-specialistSkill
- agent-python-expertSkill
- agent-realtime-specialistSkill
- agent-rust-expertSkill
- agent-seo-specialistSkill
- agent-serverless-specialistSkill
- agent-startup-advisorSkill
- agent-svelte-expertSkill
- agent-teamsSkill
- agent-technical-writerSkill
- agent-test-generatorSkill
- agent-ux-researcherSkill
- agent-video-producerSkill
- agent-vue-nuxt-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create comprehensive, beginner-friendly documentation for any codebase.
- Distinctive: line 42
Generate: - Use templates, customize for project
- Distinctive: line 43
Verify: - Read as beginner, check examples against the code by reading
- Distinctive: line 183
No visual aids for complex systems
- Distinctive: line 190
Fresh Eyes Test: - Read as if you've never seen the codebase
- Distinctive: line 191
Check Examples: - Read each example against the current code, APIs, and paths it uses
- Distinctive: line 192
Check Links: - All internal/external links resolve
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codebase Documenter
Create comprehensive, beginner-friendly documentation for any codebase.
When to Use
Use for:
- Writing or updating README files
- Creating architecture documentation
- Adding meaningful code comments
- Documenting APIs and endpoints
- Creating getting-started guides
- Explaining project structure
Don't use when:
- Code review → use
generic-code-reviewer - UX design decisions → use
generic-ux-designer - Adding code features → use
generic-feature-developer
Core Principles
- Start with "Why" - Explain purpose before implementation
- Progressive Disclosure - Simple to complex
- Provide Context - Why code exists, not just what it does
- Include Examples - Concrete usage for every concept
- Assume No Prior Knowledge - Define terms, avoid jargon
- Visual Aids - Diagrams, file trees, flowcharts
- Quick Wins - Get something running in 5 minutes
Documentation Workflow
- Analyze - Entry points, dependencies, core concepts, configuration
- Choose Type - README → Architecture → API → Comments
- Generate - Use templates, customize for project
- Verify - Read as beginner, check examples against the code by reading
Documentation Types
README (Project Entry Point)
# Project Name
## What This Does
[1-2 sentence explanation]
## Quick Start
[< 5 minute setup]
## Project Structure
[Visual file tree]
## Key Concepts
[Core abstractions]
## Common Tasks
[Step-by-step guides]Architecture Documentation
# Architecture Overview
## System Design
[High-level diagram]
## Data Flow
[How data moves through system]
## Key Design Decisions
[Why certain choices were made]
## Extension Points
[Where to add new features]Code Comments
// ✅ GOOD - Explains WHY and context
// IndexedDB quota check: Prevents silent failures when storage is full.
// Without this, writes fail with cryptic QuotaExceededError.
if (quota.percentUsed > 80) showStorageWarning();
// ❌ BAD - Just repeats what code does
// Check if quota is over 80API Documentation
## Endpoint: POST /api/resource
### What It Does
[Plain-English purpose]
### Request/Response
[JSON examples]
### Common Errors
[Error codes and meanings]Visual Patterns
File Tree
project/
├── src/ # Source code
│ ├── components/ # Reusable UI
│ ├── services/ # Business logic
│ └── types/ # TypeScript types
├── tests/ # Test files
└── package.json # DependenciesData Flow
User Request Flow:
1. User submits → 2. Validation → 3. API → 4. Database → 5. Response
[1] components/Form.tsx
↓ validates
[2] services/validation.ts
↓ calls API
[3] services/api.ts
↓ queries
[4] Database
↓ returns
[5] Form.tsx (updates UI)Design Decision (ADR)
## Why We Use [Technology]
**Decision:** [What we chose]
**Context:** [Why we needed to choose]
**Reasoning:** [Why this option]
**Trade-offs:** [What we gave up]Documentation Quality Checklist
Before Publishing
- Quick start works in < 5 minutes
- Code examples are copy-pasteable
- File paths are accurate
- Links work
- Jargon is defined
- Diagrams are included for complex flows
Common Mistakes to Avoid
- Assuming reader knows the codebase
- Outdated code examples
- Missing prerequisites
- No visual aids for complex systems
- Explaining "what" without "why"
Verification Workflow
After writing documentation:
- Fresh Eyes Test - Read as if you've never seen the codebase
- Check Examples - Read each example against the current code, APIs, and paths it uses
- Check Links - All internal/external links resolve
- Beginner Review - Would a new developer understand?
- Update Check - Does it reflect current code?
See Also
- Code Review Standards - Documentation quality
- Project
CLAUDE.md- Documentation rules
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

