AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Docs Patterns

skill-jartan-llc-grimoire-docs-patterns · by Jartan-LLC

Documentation writing conventions -- style, structure, tone, and quality standards.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-jartan-llc-grimoire-docs-patterns

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jartan-llc-grimoire-docs-patterns)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
16d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Docs Patterns? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Documentation Writing Patterns

Before writing, read 2-3 existing docs in the same category to match their tone and structure.

Writing Style

Tone: Technical but accessible. Imperative for instructions ("Use X..."), declarative for specifications ("The User model has these fields..."). No marketing language.

Brevity is paramount. A doc that could be 100 lines should not be 300. Every paragraph must earn its place. If a table communicates it better than prose, use a table. If a link to another doc covers it, don't restate it. Be precise, not exhaustive.

Doc Types

Pick the type before the shape -- the four Diataxis types each want a different shape. Two questions place any doc: action (doing) or cognition (understanding)? Study (learning) or work (the task at hand)?

| Type | Purpose | Shape | Which am I writing? | |------|---------|-------|---------------------| | Tutorial | Learning-oriented -- teach a newcomer by doing | Guided, sequential lesson whose steps are guaranteed to work | "Teaching a beginner start-to-finish; if they follow along they succeed." | | How-to | Task-oriented -- reach one real goal with existing skills | Numbered steps for a single task; assumes competence | "Helping a competent user accomplish one specific goal." | | Reference | Information-oriented -- authoritative facts consulted mid-task | Austere, structured to mirror the code, consistent patterns and tables | "Describing what is -- consulted, not read through." | | Explanation | Understanding-oriented -- the why, context, trade-offs | Discursive prose; weighs alternatives and reasoning | "Explaining why -- read away from the code to understand." |

The Section Structure below is the reference shape. Don't force tutorials, how-tos, or explanations into it -- each has its own shape above.

Section Structure

The reference shape (see Doc Types). All reference- and README-style docs follow a consistent pattern:

  1. H1 title with a one-line description
  2. Overview -- brief intro, bullet list of capabilities/features
  3. Configuration -- tables for settings/env vars (Setting | Default | Description)
  4. Usage -- practical code examples showing realistic patterns
  5. Implementation details -- topic-specific sections as needed
  6. See Also -- related doc links

Two Audiences

Write for whichever audience will actually read the doc:

| Trait | Use it (human, published) | Navigate / change it (contributor + AI agent) | |-------|---------------------------|-----------------------------------------------| | Register | Narrative, scannable prose | Terse; structure over narrative | | Sections | Context carried across the page | Self-contained, retrievable in isolation | | Headings | Guide the eye | Stable and predictable; no skipped levels | | References | "As shown above" is fine | Explicit -- name the thing, not "the method above" | | Facts | May live inside prose | Stated plainly, one name per concept, not buried |

Both trace to one source: docstrings + type annotations. The "use it" doc narrates from them; the "navigate/change it" doc indexes them. State a fact once at its source -- types already carry the shapes, so prose shouldn't restate them -- and reference it from both.

Strictness Bars

"Examples work" and "links resolve" only hold if a check enforces them. Each bar is a CI gate, stated tool-free:

| Bar | What it catches | |-----|-----------------| | Strict build (warnings -> errors) | Malformed directives, missing or dead references shipped as silent warnings | | Internal link check | Dead cross-references to moved or deleted docs | | External link check | Link rot -- dead outbound URLs | | Tested / executed snippets | Stale examples that no longer run or match the code | | Nav / table-of-contents completeness | Orphan and unlisted pages nothing links to | | Cross-reference check | Broken reference-style pointers to renamed or removed targets |

Language toolchain implementing these bars (plus API docs generated from docstrings): see pythonica:python-api-docs.

Conventions

  • Tables for reference content (settings, fields, endpoints). 3-4 columns max.
  • Code examples in Usage sections -- complete enough to copy-paste, with error handling where relevant.
  • Internal links use relative markdown: [Doc Name](FILENAME.md)
  • No redundancy -- don't repeat information documented elsewhere. Link instead.
  • Code examples must work -- enforce with the tested-snippets bar (see Strictness Bars), not manual review alone.

Change narration

Prose that narrates the change which produced the page, or inventories where else its fact applies, is addressed to whoever reviews the diff rather than whoever is following the page. It arrives looking like context and costs the reader a sentence answering a question they did not ask.

Test: would a reader who never saw the change, wanting only what this section is for, do anything differently for having read it? No -> cut.

Or from source. This project installs with uv rather than pip -- in CI, in the devcontainer and in the Docker image: -- the reader is installing locally. Which installer the project stopped using, and the three other places the new one is also used, change nothing they type. Or from source, with uv: is the whole of it.

This is the prose form of the habit comment-hygiene names as PR narration in its Density section, and one migration commonly produces both at once -- so a diff carrying it in comments is worth reading for it in the docs too. Rationale that genuinely needs a home goes in the pull request body, which is read once, by the reader it was written for.

What to Avoid

  • Verbose explanations where a table or code block would be clearer
  • Repeating content from other docs (link to it)
  • Obvious statements that don't add value
  • Multiple ways of saying the same thing
  • Documentation that doesn't match the actual code

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.