agentleFS
volfpetervolfpeter/holm/.agents/skills/documentation-guide/SKILL.md

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
  1. Very specific:

    All documentation lives in docs/

    line 14
  2. Distinctive:

    No marketing bullshit or slop

    line 26
  3. Very specific:

    No backticks for URL paths: /users/{id}

    line 38
  4. Distinctive:

    Don't overuse lists

    line 42
  5. Distinctive:

    Keep items concise; nest for sub-points

    line 44
  6. Distinctive:

    Use "Rules for _X_:" format for constraints (if applicable)

    line 69
  7. Distinctive:

    Use directory tree diagrams for file structure, if applicable

    line 91
  8. Very specific:

    Use hl_lines to highlight important code, or new/changed lines when a guide builds on another

    line 92
  9. Distinctive:

    Always link to the corresponding example application:

    line 138
  10. Distinctive:

    Follow the project's code style — see AGENTS.md

    line 159
  11. Distinctive:

    Always specify the language for code blocks

    line 165
  12. Very specific:

    Use hl_lines after the language specifier for important lines, e.g.

    line 166
  13. Very specific:

    Add the file under docs/

    line 172
  14. Very specific:

    Update nav: in mkdocs.yml, following existing structure:

    line 173

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md content is synced with docs/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:

  1. Brief introduction
  2. Core concepts with clear definitions
  3. Rules or guidelines (bullet points)
  4. Examples
  5. 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:

  1. Introduction stating what will be built
  2. Topics covered
  3. Link to the corresponding example application
  4. Prerequisites
  5. Step-by-step instructions with code examples (corresponding example must be in examples/)
  6. Explanation of key concepts as they appear
  7. How to run the application
  8. What to expect when running it, if it makes sense

Notes:

  • Use directory tree diagrams for file structure, if applicable
  • Use hl_lines to 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:

  1. One-paragraph overview
  2. Core technology stack
  3. Key concept (file-system based routing)
  4. Component summaries with brief examples
  5. 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_lines after the language specifier for important lines, e.g. hl_lines="6-7 9 15"

Navigation (mkdocs.yml)

When adding documentation:

  1. Add the file under docs/
  2. Update nav: in mkdocs.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.yml updated with a nav entry
  • Cross-references included
  • Prerequisites listed
  • Running instructions provided
  • No unnecessary preamble or postamble

Download now (ZIP)

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. jmfederico/pi-web★ 882same name
    2. 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.

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.