agentleFS
codebygarvcodebygarv/Ai-skills/skills/documentation/documentation-writer/SKILL.md

documentation-writer

Skill26 starsChanged 4 months agoMITView on GitHub

Creates structured technical documentation from code, requirements, or existing notes. Use when a feature, module, or system needs written docs and none exist yet, or existing ones are out of date.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use writing-skills, subagent-driven-development and 5 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.
  • 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

Files
SKILL.md

Purpose

Produce clear, structured technical documentation from a given source — source code, requirements, meeting notes, or a mix — that explains what something is, how it works, and how to use it, for the audience it's meant for.

When to Use

  • A feature, module, API, or system has no documentation, or what exists is stale.
  • Turning requirements or design notes into a reference doc.
  • The user has working code but needs it explained for other engineers, or non-engineers.

What to Analyze / Do

  1. Identify the audience — engineers integrating with this, engineers maintaining it, or non-technical stakeholders — and match depth/jargon accordingly. Ask if unclear and it meaningfully changes the doc.
  2. Establish structure before writing prose — overview, how it works, usage/examples, configuration, edge cases/limitations, is a reasonable default shape; adapt to what the source material actually supports.
  3. Extract behavior from source — if working from code, document what it actually does, not an idealized version of what it's supposed to do; flag any place the code and stated intent seem to diverge.
  4. Include concrete examples — a real usage example beats an abstract description every time.
  5. Note what's deliberately left out — assumptions, out-of-scope behavior, known limitations — so the doc doesn't imply completeness it doesn't have.

Output Format

  • A structured Markdown doc: title, one-paragraph overview, then sections appropriate to the content (How it works / Usage / Configuration / Examples / Limitations).
  • Code examples in fenced blocks with the correct language tag.
  • Headings that let someone scan and jump to the relevant section rather than reading linearly.

Avoid

  • Documenting intended behavior instead of actual behavior when working from code — verify against the code, don't assume the docstring/comment is accurate.
  • Padding with generic boilerplate paragraphs that don't convey real information.
  • Writing at the wrong depth for the stated audience (over-explaining basics to engineers, or under-explaining to non-technical readers).

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.