documentation-templates — Claude Code skill for docs
This skill provides outlines and templates for READMEs, API references, code comments, and project records. Use it when starting documentation or bringing existing pages into a clearer structure.
npx claude-code-templates@latest --skill document-processing/documentation-templatesWhat documentation-templates does
The skill includes starting formats for a README, individual API endpoints, JSDoc/TSDoc comments, a changelog, and architecture decision records. Its README outline covers project purpose, setup, configuration, and documentation links. Endpoint entries have slots for parameters, response cases, and a request example. Comment guidance distinguishes explanations of complex behavior or API contracts from comments that merely restate the code.
A separate section covers llms.txt and documentation prepared for RAG indexing. It recommends a clear heading hierarchy, JSON/YAML samples, Mermaid diagrams, and sections that make sense on their own. Treat the formats as starting points and adapt them to the project. The skill is allowed to use Read, Glob, and Grep, so its listed tools support inspecting and searching files, not writing them.
What it helps with
- draft a README outline with setup and configuration sections
- document an API endpoint with parameters and response cases
- add comments for complex logic and API contracts
- record a project change or architecture decision
- prepare documentation for AI retrieval and RAG indexing
Example prompts for the agent
- Draft a README outline for this project using the skill's format.
- Document these API endpoints with parameters, response cases, and request examples.
- Review the code comments and suggest where behavior needs explanation and where a comment repeats the code.
How to install documentation-templates
1claude-code-templates
npx claude-code-templates@latest --skill document-processing/documentation-templates2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill documentation-templates -a claude-code3Manually: put the files in place
~/.claude/skills/documentation-templates/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/documentation-templates/
Manually: put the files in place
.agents/skills/documentation-templates/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/documentation-templates/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates documentation-templates2Manually: put the files in place
.github/skills/documentation-templates/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/document-processing/documentation-templatesManually: put the files in place
.devin/skills/documentation-templates/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about documentation-templates
How do I install documentation-templates in Claude Code?
Run npx claude-code-templates@latest --skill document-processing/documentation-templates. This is one available installation method.
What does documentation-templates do?
It supplies outlines for READMEs, API references, JSDoc/TSDoc comments, changelogs, and architecture decision records. It also covers llms.txt and preparing content for RAG indexing.
Which tools can the skill use in Claude Code?
Its allowed tools are Read, Glob, and Grep. These support reading and searching project files; writing tools are not part of that list.