documentation-guide
Skill132 starsChanged 3 months agoMITView on GitHub
Use when writing or modifying documentation, guides, or example READMEs. Covers documentation structure, writing style, formatting conventions, cross-referencing, and code example standards.
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
All documentation lives in docs/
- Distinctive: line 26
No marketing bullshit or slop
- Very specific: line 38
No backticks for URL paths: /users/{id}
- Distinctive: line 42
Don't overuse lists
- Distinctive: line 44
Keep items concise; nest for sub-points
- Distinctive: line 69
Use "Rules for _X_:" format for constraints (if applicable)
- Distinctive: line 91
Use directory tree diagrams for file structure, if applicable
- Very specific: line 92
Use hl_lines to highlight important code, or new/changed lines when a guide builds on another
- Distinctive: line 138
Always link to the corresponding example application:
- Distinctive: line 159
Follow the project's code style — see AGENTS.md
- Distinctive: line 165
Always specify the language for code blocks
- Very specific: line 166
Use hl_lines after the language specifier for important lines, e.g.
- Very specific: line 172
Add the file under docs/
- Very specific: line 173
Update nav: in mkdocs.yml, following existing structure:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Style Guide for holm
Conventions for holm project documentation. When in doubt, follow existing patterns in docs/.
Structure
- All documentation lives in
docs/ - Example applications live in
examples/with corresponding README files README.mdcontent is synced withdocs/index.md
Writing Style
Tone
- Relaxed, friendly, direct and concise — no unnecessary preamble
- Conversational but professional; use "we" and "you"
- Practical: emphasize what users can do and how
- Assume intelligence; don't over-explain basics
- No marketing bullshit or slop
Formatting
Headers
- Sentence case (e.g., "Quick start guide" not "Quick Start Guide")
- H1 for titles only, H2 for sections, H3 for subsections, H4 sparingly
Inline Code
- Backticks for file names (
page.py), variable/function/package names (metadata,holm.App(),htmy— not FastAPI or Starlette), and code snippets (def page():) - No backticks for URL paths:
/users/{id}
Lists
- Don't overuse lists
- Bullet points for unordered, numbered for sequential
- Keep items concise; nest for sub-points
Emphasis
- Bold for key terms being defined, important concepts, feature names (file-system based routing)
- Italics for emphasis and when introducing terms ("Layouts are defined...")
Document Types
1. Conceptual Documentation
Explain concepts, architecture, and design decisions.
Examples: application-components.md, file-system-based-routing.md
Structure:
- Brief introduction
- Core concepts with clear definitions
- Rules or guidelines (bullet points)
- Examples
- Cross-references
Notes:
- Use "Rules for X:" format for constraints (if applicable)
- Include practical examples after explaining rules
2. Step-by-Step Guides
Walk users through building something specific.
Examples: guides/quick-start-guide.md, guides/forms.md, guides/actions-with-htmx.md
Structure:
- Introduction stating what will be built
- Topics covered
- Link to the corresponding example application
- Prerequisites
- Step-by-step instructions with code examples (corresponding example must be in
examples/) - Explanation of key concepts as they appear
- How to run the application
- What to expect when running it, if it makes sense
Notes:
- Use directory tree diagrams for file structure, if applicable
- Use
hl_linesto highlight important code, or new/changed lines when a guide builds on another - Explain the "why" after the "what"
- Include complete file contents, not just snippets
- End with next steps
3. Quick Reference ("In a Hurry")
Fast overview; focus on "what" not "how". Example: in-a-hurry.md
Structure:
- One-paragraph overview
- Core technology stack
- Key concept (file-system based routing)
- Component summaries with brief examples
- No step-by-step instructions
Notes: Extremely concise; bold key concepts; minimal code.
4. Example READMEs
examples/<example-name>/README.md — a single sentence or short paragraph (1-3 lines) describing the example.
Examples:
- "The quick start guide example."
- "The simplest possible application."
- "The quick start guide example with actions and HTMX."
Cross-Referencing
Internal Links
- Relative paths within docs:
[Application components](application-components.md)[Quick start guide](guides/quick-start-guide.md)[holm in a hurry](../in-a-hurry.md)(from a subdirectory)
External Links
- Full URLs with protocol (
https://) - Descriptive link text, never "click here"
- GitHub links use the full URL:
https://github.com/volfpeter/holm/tree/main/...
Referencing Examples
Always link to the corresponding example application:
The entire source code of this application can be found in the
[examples/quick-start-guide](https://github.com/volfpeter/holm/tree/main/examples/quick-start-guide)
directory of the repository.Code Examples
Example Applications
Each guide has a corresponding, complete, runnable example in examples/:
- Directory name matches the guide filename (without
.md) - The example follows the exact steps in the guide
- Code in the guide must exactly match the example
- Example README is minimal (1-2 sentences)
Code Style
- Follow the project's code style — see
AGENTS.md - Complete, runnable examples with necessary imports
- Realistic variable names; comments only for non-obvious parts
Highlighting
- Always specify the language for code blocks
- Use
hl_linesafter the language specifier for important lines, e.g.hl_lines="6-7 9 15"
Navigation (mkdocs.yml)
When adding documentation:
- Add the file under
docs/ - Update
nav:inmkdocs.yml, following existing structure:- Main docs at top level
- Guides under
Guides: - API reference under
API reference:
Checklist
- Follows the appropriate document type structure
- Correct header hierarchy
- Code blocks have a language; important lines highlighted with
hl_lines mkdocs.ymlupdated with a nav entry- Cross-references included
- Prerequisites listed
- Running instructions provided
- No unnecessary preamble or postamble
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- jmfederico/pi-web★ 882same name
- AsiaOstrich/universal-dev-standards★ 82same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

