Generate, format, and validate code documentation — docstrings, JSDoc, OpenAPI/Swagger specs, documentation sites, and developer guides.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Generate or improve technical documentation for a codebase or API.
## Mode: docstrings
Add or improve inline documentation for functions, classes, and modules.
Steps:
1. Ask for: language, preferred style (Google / NumPy / Sphinx for Python; JSDoc for TypeScript/JavaScript)
2. Identify all public functions and classes missing documentation
3. For each, document: purpose, all parameters with types, return value, exceptions raised, and at least one example
4. Validate examples compile and run:
- Python: `python -m doctest file.py` or `pytest --doctest-modules`
- TypeScript: `tsc --noEmit`
5. Generate coverage report: `interrogate --fail-under=80 src/` (Python) or `npx typedoc-coverage` (TypeScript)
Rules:
- Do NOT document obvious getters/setters verbosely
- Do NOT repeat the function signature in prose
- Do NOT document private/internal methods unless they have complex invariants
Reference: `references/documentation.md` → Python Docstrings, TypeScript JSDoc
## Mode: openapi
Generate or improve an OpenAPI 3.1 specification for a REST API.
Steps:
1. Ask for: framework (FastAPI / Django / NestJS / Express / raw spec), existing routes or codebase to analyse
…
The line at the top of this page pins the label git:20261011.e8166a5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_auu64oavrahzfaoo
GET https://markdownregistry.com/api/v1/resolve?ref=nitinjain999/platform-skills/document
GET https://markdownregistry.com/api/v1/blob/628add7220a02cee6858a92d219fbb4a2db51799b73e4b7bf7fdcc40bf2e97ca
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
nitinjain999/platform-skills · .github/skills/code-review/SKILL.md · Review pull requests to this repo (a Claude Code / Copilot / Cursor platform-engineering skill plugin) for technical…
nitinjain999/platform-skills · SKILL.md · Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes…
nitinjain999/platform-skills · plugins/platform-skills/skills/ai-governance/SKILL.md · Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny…
oliver-kriska/claude-elixir-phoenix · plugins/elixir-phoenix/skills/document/SKILL.md · Use when asked to document Elixir code: add or fill in @moduledoc and @doc for modules and functions. Documents tested…
serpro69/claude-toolbox · kodex-plugin/skills/document/SKILL.md · After implementing a new feature or fixing a bug, make sure to document the changes.
Use when writing documentation…
serpro69/claude-toolbox · klaude-plugin/skills/document/SKILL.md · After implementing a new feature or fixing a bug, make sure to document the changes.
Use when writing documentation…
archcore-ai/archcore · plugins/archcore/skills/document/SKILL.md · Record a decision, document existing code, or file a supplied research material, in free text; no first word is a mode…
archcore-ai/plugin · plugins/archcore/skills/document/SKILL.md · Record a decision, document existing code, or file a supplied research material, in free text; no first word is a mode…
awrshift/agent-memory-kit · plugins/memory-kit/skills/document/SKILL.md · Write the human-facing prose about a change — PR body · changelog entry · release note · postmortem — and put it in the…