documentation-templates

documentation-templates is a skill for Claude Code from ratnesh-maurya/cursor-claude-personas. It costs 23 tokens per session (842 once invoked), scanned A, original, MIT.

A set of templates and guidelines for writing project documentation such as README files, API references, and code comments.

In plain words
What is it for?
Use it when creating or improving README files, API documentation, architecture notes, or code comments.
Why use it?
It provides a consistent structure so developers can find setup instructions, configuration details, and technical references more easily.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when creating or improving README files, API documentation, architecture notes, or code comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ratnesh-maurya/cursor-claude-personas/documentation-templates
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ratnesh-maurya/cursor-claude-personas --skill documentation-templates
Clone the repo
git clone --depth 1 https://github.com/ratnesh-maurya/cursor-claude-personas

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates/github.svg)](https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates)
Your own site
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for documentation-templates

Your own site · 80×15
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/documentation-templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00842
Opus 5.5 $0.00009 $0.00337
Sonnet 5.5 $0.00005 $0.00168
Haiku 4.5 $0.00002 $0.00084

Measured 3mo ago against content hash 5133a2a97487, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

documentation-templates scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/documentation-templates/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Templates

Templates and structure guidelines for common documentation types.


1. README Structure

Essential Sections (Priority Order)

Section Purpose
Title + One-liner What is this?
Quick Start Running in <5 min
Features What can I do?
Configuration How to customize
API Reference Link to detailed docs
Contributing How to help
License Legal

README Template

# Project Name

Brief one-line description.

## Quick Start

[Minimum steps to run]

## Features

- Feature 1
- Feature 2

## Configuration

| Variable | Description | Default |
|----------|-------------|---------|
| PORT | Server port | 3000 |

## Documentation

- API Reference
- Architecture

## License

MIT

2. API Documentation Structure

Per-Endpoint Template

## GET /users/:id

Get a user by ID.

**Parameters:**
| Name | Type | Required | Description |
|------|------|----------|-------------|
| id | string | Yes | User ID |

**Response:**
- 200: User object
- 404: User not found

**Example:**
[Request and response example]

3. Code Comment Guidelines

JSDoc/TSDoc Template

/**
 * Brief description of what the function does.
 * 
 * @param paramName - Description of parameter
 * @returns Description of return value
 * @throws ErrorType - When this error occurs
 * 
 * @example
 * const result = functionName(input);
 */

When to Comment

✅ Comment ❌ Don't Comment
Why (business logic) What (obvious)
Complex algorithms Every line
Non-obvious behavior Self-explanatory code
API contracts Implementation details

4. Changelog Template (Keep a Changelog)

# Changelog

## [Unreleased]
### Added
- New feature

## [1.0.0] - 2025-01-01
### Added
- Initial release
### Changed
- Updated dependency
### Fixed
- Bug fix

5. Architecture Decision Record (ADR)

Read the full file on GitHub · 200 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 200 lines · 23 tokens per session scan A 5133a2a97487

Subscribe to this mod's changes

documentation-templates is a skill published in the GitHub repository ratnesh-maurya/cursor-claude-personas (12 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 842 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

documentation-templates compared with skills from other repositories

documentation-templates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentation-templatesratnesh-maurya/cursor-claude-personasSkill128mo agoMITA23Claude Code
work-with-creators-creator-vettinggooseworks-ai/goose-skillsSkill1.4k3d agoMITA110Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill382todayApache-2.0A32Claude Code, Codex
musicmarswaveai/skillsSkill83todayMITA109Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6k1mo agoMITA63Claude Code
x-use-reviewihuzaifashoukat/x-useSkill1872d agoMITA56Claude Code
nextauthclaude-dev-suite/claude-dev-suiteSkill51yesterdayMITA95Claude Code