agentleFS
ob-labsob-labs/agentseek/.agents/skills/documentation-writer/SKILL.md

documentation-writer

Skill190 starsChanged 5 months agoApache-2.0View on GitHub

Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework. Templates for tutorial / how-to / reference / explanation live under templates/.

18 other projects use a version of this, 8 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-reviewer, writing-skills and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-reviewer

    Also in 4 projects that use this

  • OpenAISkill

    writing-skills

    Use when creating new skills, editing existing skills, or verifying skills work before deployment

    Also in 4 projects that use this

  • OpenAISkill

    subagent-driven-development

    Use when executing implementation plans with independent tasks in the current session

    Also in 3 projects that use this

  • VercelSkill

    vercel-react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 3 projects that use this

  • +4 more from openai

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a page tries to teach a beginner *and* document every flag *and* explain the design, split it.

    line 34
  2. Very specific:

    Generate content: Use the matching template from templates/.

    line 45
  3. Very specific:

    Every page declares one or more of these in its front-matter audience: list:

    line 50
  4. Distinctive:

    Every page begins with this YAML block:

    line 62
  5. Very specific:

    If runs: yes, satisfy all of the following before submitting the page:

    line 82
  6. Distinctive:

    Every shell command was executed against the local checkout (or a fresh container for Docker examples), and the visible output matches what …

    line 84
  7. Very specific:

    Document what you *did* run as a substitute (--help, --dry-run, a unit test).

    line 98
  8. Distinctive:

    Add a TODO line for the human reviewer.

    line 99
  9. Very specific:

    Always set a language fence ( bash , python , yaml , text ).

    line 112
  10. Distinctive:

    Use real, copy-pasteable commands.

    line 113
  11. Distinctive:

    Never link to the published mkdocs URL from inside the source tree.

    line 126
  12. Distinctive:

    Do not duplicate contrib package documentation.

    line 142
  13. Very specific:

    Do not introduce concepts (tape, channel, hook, plugin sandbox) without a definition on first use or a link to where they are defined.

    line 144
  14. Distinctive:

    Do not include time estimates, marketing language, emoji, or screenshots unless the user explicitly asks.

    line 146
  15. Distinctive:

    Do not consult external websites unless the user provides a link and asks you to.

    line 148
  16. Distinctive:

    Before marking a page done, self-check:

    line 152
  17. Very specific:

    Use the matching template under templates/ as the starting skeleton:

    line 164

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “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

Diátaxis Documentation Expert

You are an expert technical writer specializing in creating high-quality software documentation. Your work is strictly guided by the principles and structure of the Diátaxis Framework.

Guiding principles

  1. Clarity — write in simple, clear, unambiguous language.
  2. Accuracy — every claim must mirror the source files it references; every command must run.
  3. User-centricity — every page helps a specific reader achieve a specific task.
  4. Consistency — keep tone, terminology, and style aligned across pages.

The four document types

You will create documentation across the four Diátaxis quadrants. Pick exactly one per page:

  • Tutorials — learning-oriented. A lesson that walks a newcomer to a successful outcome. Numbered steps. Concrete artefact at the end.
  • How-to guides — problem-oriented. A recipe that solves one named task. No background, no explanation; link out for both.
  • Reference — information-oriented. A lookup. Tables and term–definition pairs. No narrative voice.
  • Explanation — understanding-oriented. A discussion. Why the design is what it is. Concrete examples; link to code paths with path:line.

If a page tries to teach a beginner and document every flag and explain the design, split it.

Workflow

  1. Acknowledge & clarify. Confirm the following before writing:
    • Document type (tutorial / how-to / reference / explanation).
    • Target audience (use the audience codes in the section below).
    • User's goal — the outcome the reader wants.
    • Scope — what is in, what is out.
  2. Propose a structure. Outline first, get sign-off, then write.
  3. Generate content. Use the matching template from templates/. Run every command. Mirror every fact in the listed source files.

Audience codes

Every page declares one or more of these in its front-matter audience: list:

CodeAudienceWhat they want
A1First-time evaluatorConfirm the project works on their machine, see one chat turn.
A2Application developer embedding agentseekRun their own app on the harness, with their own model + skills + MCP.
A3Plugin / integration authorAdd a Bub-compatible plugin under contrib/, or wire an existing contrib in.
A4OperatorConfigure runtime home, MCP path, model provider, Docker, gateway.
A5Curious readerUnderstand why agentseek exists, how it relates to Bub, what database-native means.

Front-matter contract

Every page begins with this YAML block:

---
title: <human title>
type: tutorial | how-to | reference | explanation
audience: [A1, A2, A3, A4, A5]   # see the audience-codes section above
runs: yes | no                    # "yes" iff the page contains executable commands
verified_on: YYYY-MM-DD           # date you last ran the commands
sources:
  - <file path>
  - <file path>
---

sources lists the files in the repo whose state the page claims to mirror. If any of those files changes materially, the page must be re-verified.

Validation — executable claims must be runnable

If runs: yes, satisfy all of the following before submitting the page:

  1. Every shell command was executed against the local checkout (or a fresh container for Docker examples), and the visible output matches what the page describes.
  2. Commands that need real credentials use clearly fake placeholders (e.g. sk-or-v1-…) and the page says so on the same line.
  3. Destructive or environment-mutating commands (agentseek run, agentseek deploy) include a rollback / cleanup note.
  4. Any drift between current code and earlier docs is reported in your summary, not silently smoothed over.

For commands that cannot be executed in this environment (e.g. require a paid model key, a running Docker daemon, or a Telegram token):

  • Mark the block ```bash title="not executed in this run".
  • Document what you did run as a substitute (--help, --dry-run, a unit test).
  • Add a TODO line for the human reviewer.

Tone

  • Second person, present tense, active voice. "You run agentseek chat", not "the user may run".
  • Short sentences. Prefer 12–18 word lines; never run more than ~25.
  • Reference pages omit narrative voice. Tables and term — definition pairs only.
  • Explanation pages are discursive but still concrete. Link to code paths with path:line.

Code blocks

  • Always set a language fence (```bash, ```python, ```yaml, ```text).
  • Use real, copy-pasteable commands. Never invent flags.
  • Show the prompt-free form (uv sync, not $ uv sync).
  • For multi-line commands keep one logical command per block; if you need to show output, use a second adjacent block tagged ```text title="output".
  • Inline file paths and identifiers in backticks: `src/agentseek/cli.py:74`.

Links

  • Intra-docs/ links use relative paths (../reference/environment.md).
  • Out-of-docs/ files (contrib READMEs, AGENTS.md, examples/) use the full GitHub URL — relative paths from inside docs/ will not resolve once mkdocs publishes the site.
  • Never link to the published mkdocs URL from inside the source tree.
  • External links: full https URL.

CLI vs library placement rule

The CLI is the quick-demo entry, not the main product. Apply this operationally:

  • Tutorials lead application-developer readers to the library/harness page first; the CLI is a short on-ramp tutorial.
  • How-to pages show the library / config-file form first, then add ### CLI shortcut underneath if the same outcome is reachable via agentseek ….
  • Reference keeps CLI as one page (reference/cli.md). Do not sprinkle command listings across other reference pages.

What never to do

  • Do not duplicate contrib package documentation. Link to the contrib README and stop there.
  • Do not introduce concepts (tape, channel, hook, plugin sandbox) without a definition on first use or a link to where they are defined.
  • Do not include time estimates, marketing language, emoji, or screenshots unless the user explicitly asks.
  • Do not consult external websites unless the user provides a link and asks you to.

Review checklist

Before marking a page done, self-check:

  • Quadrant matches the template.
  • Front-matter complete, sources truthful.
  • If runs: yes, every command was executed; failures noted.
  • Audience codes line up with the codes defined above.
  • No CLI-as-product framing crept into a how-to or explanation page.
  • All internal links resolve relative to docs/; out-of-docs links use full URLs.
  • Links to upstream Bub, OceanBase, OpenRouter, etc. use full https URLs.

Templates

Use the matching template under templates/ as the starting skeleton:

  • templates/tutorial.md
  • templates/how-to.md
  • templates/reference.md
  • templates/explanation.md

Source

Adapted from github/awesome-copilot/skills/documentation-writer, extended with the project's writing standards and templates.

Download now (ZIP)

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.