codebase-documenter skill
✓ VerifiedScaffold structured project documentation templates including README, ARCHITECTURE, and API references with bracketed placeholders.
- GitHub stars
- 49
- Files
- 3
- Last commit
- Nov 11, 2026
- License
- MIT
- Allowed tools
- 5
What does the codebase-documenter skill do?
codebase-documenter is an agent skill. Scaffold structured project documentation templates including README, ARCHITECTURE, and API references with bracketed placeholders.
Summary generated from the skill's SKILL.md.
About the codebase-documenter skill
Bootstrapping documentation for new or under-documented repositories is what codebase-documenter enables. Engineering teams use this skill to generate structured skeletons for README files, architecture overviews, API references, and code comment standards. It is designed for situations where a project lacks a formal documentation structure and needs a populated starting point rather than finished prose.
An agent loads this skill when a user requests to scaffold project documentation or set up documentation standards. The process involves using tools like Read, Write, Edit, Glob, and Grep to create files from specific templates located in assets/templates. It produces files such as README.md, ARCHITECTURE.md, and docs/API.md, which contain bracketed placeholders like [Like this] to indicate where human writers must provide specific details.
This tool focuses strictly on scaffolding and standards references. It does not infer project specifics or write narrative descriptions, making it distinct from tools meant for verifying existing documentation accuracy or generating prose for existing components.
What an agent can do with it
- 1Initialize a new project repositoryCreate a complete set of starter documentation files for a brand new codebase.
- 2Establish coding documentation standardsDrop standardized guidelines for docstrings and inline comments into the repository.
- 3Create a project front doorGenerate a README scaffold that includes sections for quick starts and troubleshooting.
- 4Set up API documentation structuresProduce an API reference template that includes placeholders for endpoints and examples.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the codebase-documenter skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the codebase-documenter skill in Plugin
/plugin marketplace add rjmurillo/ai-agents /plugin install project-toolkit@ai-agents
Install the codebase-documenter skill in Claude Code
~/.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenterInstall the codebase-documenter skill in Claude Code (project)
.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter .claude/skills/codebase-documenterInstall the codebase-documenter skill in Codex
~/.agents/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.agents/skills/codebase-documenterInstall the codebase-documenter skill in Gemini CLI
~/.gemini/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.gemini/skills/codebase-documenterInstall the codebase-documenter skill in Claude.ai
npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter codebase-documenter && zip -r codebase-documenter.zip codebase-documenter # claude.ai → Customize → Skills → + → Create skill → Upload a skill → codebase-documenter.zip
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work
- Source repository linked and reachablerjmurillo/ai-agents/src/claude/skills/codebase-documenter is public and reachablegithub.com/rjmurillo/ai-agents/tree/HEAD/src/claude/skills/c ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-11github.com/rjmurillo/ai-agents/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗Pass
- Pre-approved tools are scopedPre-approved: Read, Write, Edit, Glob, Grepgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗Pass
SKILL.md
View on GitHubCodebase Documenter
Generate documentation scaffolding for a project that has none, or has the wrong shape. This skill produces structured starters with bracketed placeholders the team fills in. It does not write prose for you.
Triggers
| Trigger Phrase | Operation |
|---|---|
scaffold project documentation |
Generate README, ARCHITECTURE, API, code comment scaffolds |
bootstrap docs for new codebase |
Produce starter docs with placeholders |
add starter README |
Create README scaffold only |
set up documentation standards |
Drop standards references into the repo |
document this codebase from scratch |
Full scaffold pass |
When to Use
Use this skill when:
- A repository has no
README.md,ARCHITECTURE.md, or API reference, and you need a populated skeleton. - A team is onboarding without a tech writer and wants documented standards alongside the templates.
- You need a starting point for code-comment conventions in a polyglot project.
Use a different skill when:
- Documentation already exists and you want to verify accuracy, detect missing XML docs / docstrings / JSDoc, or audit README / CLAUDE.md drift. Use
doc-accuracyfor verification, missing-doc detection, and structural sync. - You want narrative prose generated for an existing component. Use the
explaineragent.
Boundaries
- Writes scaffolding and standards references only. Does not write narrative prose for the project.
- Placeholders use bracket convention
[Like this]so a writer can search and replace. - Templates must be filled in by a human or downstream skill. The skill does not infer project specifics.
Process
- Confirm the target directory and confirm no overwrite of existing docs without explicit user consent.
- Copy
assets/templates/README.template.mdtoREADME.md(or path the user requests). - Copy
assets/templates/ARCHITECTURE.template.mdtoARCHITECTURE.mdif a separate architecture doc is wanted. - Create parent directories (
docs/,docs/standards/, or any user-requested path) before any copy step that targets them. - Copy
assets/templates/API.template.mdtodocs/API.md(or equivalent) if the project exposes an API. - Copy
assets/templates/CODE_COMMENTS.template.mdtodocs/standards/CODE_COMMENTS.md(or link from the README). - Point the team at
references/documentation_guidelines.mdandreferences/visual_aids_guide.mdfor voice and visual standards.
Templates
| Template | Purpose |
|---|---|
assets/templates/README.template.md |
Project front door. Why, quick start, structure, common tasks, troubleshooting. |
assets/templates/ARCHITECTURE.template.md |
System overview, components, data flow, decisions, failure modes. |
assets/templates/API.template.md |
API reference per endpoint with conventions and examples. |
assets/templates/CODE_COMMENTS.template.md |
Docstring and inline comment standards across languages. |
References
| Reference | Purpose |
|---|---|
references/documentation_guidelines.md |
Voice, structure, audience framing, placeholder convention. |
references/visual_aids_guide.md |
When and how to use diagrams, tables, callouts. |
Verification Checklist
- No environment-specific paths in any template
- All user-provided paths are validated against path traversal
- Bracketed placeholders match the
[Word or short phrase]convention - Code fences are balanced and use language identifiers on the opener only
- Voice is active, audience is the project's reader (not the documenter)
- No marketing language, weasel words, or filler
- Diagrams added only when they reduce ambiguity (see
references/visual_aids_guide.md)
Anti-Patterns
| Avoid | Why | Instead |
|---|---|---|
| Filling in placeholders speculatively | Produces fiction the team will rediscover and rewrite | Leave brackets; team fills in |
| Copying README content into ARCHITECTURE | Both files drift; readers cannot tell which is current | One concept per document |
| Adding diagrams for every section | Visual noise distracts from text | Diagram only where ambiguity is real |
| Long preamble before quick start | Readers leave before they reach the value | Quick start in the first screen |
Files in this skill
3codebase-documenter skill questions
How do I install the codebase-documenter skill in Claude Code?
Run npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenter. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the codebase-documenter skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
Does this skill write the actual content for my documentation?
No, it produces structured starters with bracketed placeholders for a team to fill in rather than writing narrative prose.
How can I identify parts of the template that need human input?
The skill uses a bracket convention [Like this] so that writers can easily search and replace the placeholders.