Skip to content
Agentmart
Submit a tool

document

Generate complete, structured documentation for a feature, module, API, or project using the Diataxis framework (tutorial / how-to / reference / explanation).

Skill by prestarius

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/prestarius-document

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate complete, structured documentation for a feature, module, API, or project using the Diataxis framework (tutorial / how-to / reference / explanation). Use whenever the user asks to "write docs", "document this", "generate documentation", "write a tutorial", "write a how-to", or "explain this module". Reads the real code before writing and never documents behavior the code doesn't have.

Use cases: documents, backend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/document

What's inside

Skill name
document
Description
Generate complete, structured documentation for a feature, module, API, or project using the Diataxis framework (tutorial / how-to / reference / explanation). Use whenever the user asks to "write docs", "document this", "generate documentation", "write a tutorial", "write a how-to", or "explain this module". Reads the real code before writing and never documents behavior the code doesn't have.
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

Produce documentation a reader can actually use, partitioned by what they need — not one
undifferentiated wall of prose.

1. **Scope & intent.** Confirm what to document and for whom. Ask once whether output should be
   inline (docstrings/README sections) or standalone files under `docs/` — default to standalone.
   Read `./CONTEXT.md` if present for the stack, domain language, and where docs already live.
2. **Read the code first (non-negotiable).** Before writing a line, read the implementation, its
   tests, config, and the public surface. Documentation is derived from what the code *does*, not
   what it should do. If something is undocumented because it's unclear, say so — don't invent it.
3. **Partition by Diataxis.** Decide which of the four quadrants the subject actually needs (not
   everything needs all four):
   - **Reference** — complete, accurate, factual description of the surface (API, flags, config).
     Information-oriented. Tie every entry to the code.
   - **Explanation** — *why* it works this way: design decisions, trade-offs, alternatives rejected.
     Understanding-oriented. (If a decision is load-bearing, suggest capturing it via the `domain-modeling` skill.)
   - **How-to** — task-oriented recipes that assume basic familiarity ("how to add a new handler").
   - **Tutorial** — a learning-oriented walkthrough for a newcomer, with a working example that
     produces a visible result early. Every step must actually run.
4. **Write reference first, then explanation, then how-to, then tutorial.** Reference grounds the
   rest; the others link back to it.
5. **Cross-link and index.** Connect the quadrants to each other and update the README / docs index
   so the new pages are discoverable. Don't leave orphans.
6. **Self-review against the code.** Check every factual claim against the implementation, confirm
   examples run (macOS-first commands), and keep the voice plain — apply the `humanizer` patterns to
   your own output. Markdown by default.

Don't pad, don't duplicate the same content across quadrants, and don't auto-commit — present the
files for review.

From prestarius/jet-skills-stack, MIT.

More from prestarius/jet-skills-stack

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 19, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from prestarius

Cite this page

document skill. Agent Mart. https://agentmart.dev/skills/prestarius-document (last updated 2026-10-24)