agentleFS
GuusLabGuusLab/nemi-plugin/skills/write-docs/SKILL.md

write-docs

Skill0 starsChanged 2 months agoMITView on GitHub

Write, edit, restructure, illustrate and publish Nemi Docs documents. Use when the user wants to draft, write up, edit, rewrite, proofread, translate, extend or summarise a document in Nemi, add a picture to one, turn notes or a file into a doc, or publish a doc as a web page.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use audit-choices, close-spec and 10 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.
  • dzhngSkill

    audit-choices

    Audit the choices an implementing agent made, not its diff — a pure decision audit that traces the session's history into a choices ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.

    Also in 3 projects that use this

  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 3 projects that use this

  • LucasMatuszewskiSkill

    audit-agents

    Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.

    Also in 3 projects that use this

  • Halcyon666Skill

    write-skills

    Creates high-quality Agent Skills (SKILL.md files) that follow the open Agent Skills specification. Use when asked to create a skill, write a SKILL.md, package agent instructions, build a reusable capability, or turn a workflow into a shareable skill. Produces spec-compliant, concise, well-structured skills optimized for agent discovery and execution.

    Also in 3 projects that use this

  • isLinXuSkill

    eval-skills

    AI Agent Skill unit testing framework. A framework-agnostic toolkit for discovering, scaffolding, selecting, evaluating, and reporting on AI skills. Use this skill to assess skill quality before production, compare candidate skills on the same benchmark, enforce quality gates in CI/CD, and generate human-readable evaluation reports.

    Also in 3 projects that use this

  • TrecekSkill

    audit-tests

    Audit the test suite for useless tests, consolidation opportunities, over-mocking, weak assertions, and other test quality issues. Use when user says "audit tests", "audit test suite", "review tests", or "test quality check". Generates an improvement plan in temp/ with explanations for each proposed change.

    Also in 3 projects that use this

  • +6 more from dzhng

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    start the body with a heading that is exactly the title.

    line 19
  2. Distinctive:

    Never open the body with a heading that disagrees with the title.

    line 21
  3. Distinctive:

    Use headings for anything longer than a screen, tables for anything the reader will compare, task lists for action items with owners.

    line 63

“Common” is measured: kept by at least 6 in 10 of the 21 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

Nemi Docs

A Nemi Doc is a collaborative document stored in the Docs app, not in the file tree. It is read and written as Markdown.

Markdown that survives

Supported: headings, bold, italic, strike, ==highlight==, inline code and fenced code blocks, links, images, quotes, nested lists, task lists (- [ ]), GFM tables, horizontal rules and hard line breaks. Anything else (HTML, footnotes, math, custom containers) becomes plain text, so do not use it.

Titles

Until the user renames a doc by hand, its first h1 or h2 becomes its title. So either:

  • give title and start the body with the first section (no heading repeating the title), or
  • start the body with a heading that is exactly the title.

Never open the body with a heading that disagrees with the title.

Create

  1. Pick the workspace (workspace_list if the user has several and did not say).
  2. doc_create with title and the whole body in one call. Write the real content, not a skeleton, unless the user asked for an outline.
  3. Reply with what you wrote in a sentence or two and the document's title. Do not paste the whole document back.

Edit

There is no partial edit. Every change is: read, change the text, write it all back.

  1. doc_list (it shows previews) to find the doc, then doc_get for the full Markdown.
  2. Make the change on that Markdown. Keep everything you were not asked to change exactly as it was, including headings, links, image lines and task list states. Do not "improve" untouched paragraphs.
  3. doc_update with mode "replace" and the complete new body.
  4. To add at the end only (a new meeting's notes, a log entry), use mode "append" with just the new part; no need to read first.

Others may be editing the same document live. Read immediately before you write, and keep the gap short. If the user says someone else is working in it, append instead of replacing when that does the job.

Pictures

doc_add_image is the only way to put a picture in a doc. Give a file_id for an image in the file tree (find it with file_list) or a Gallery photo_id, an optional caption, and position "start" or "end". A share link or a download link pasted into the Markdown will not render as a picture. To put a picture in the middle, add it, then doc_get, move the image line to where it belongs, and doc_update replace.

From a file to a doc

To turn a PDF, Word file, notes or a transcript into a Nemi Doc: file_read the file (follow next_offset for long ones), then doc_create with the result written as proper Markdown. Say in the reply which file it came from.

Publish

doc_publish puts the doc on the open web as a read-only page anyone can open without an account, that search engines may find, and that follows every later save. Only the doc's creator can publish.

  • Confirm before publishing unless the user asked for it in so many words.
  • Reply with the address and say plainly that it is public.
  • published false takes the page down and the address stops working.

Delete

doc_delete is permanent and only the creator can do it. Confirm first, naming the document.

Good documents

  • Match the user's language. A Dutch request gets a Dutch document.
  • Use headings for anything longer than a screen, tables for anything the reader will compare, task lists for action items with owners.
  • Meeting notes: date, attendees, decisions, action items as a task list with names.

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.