agentleFS
poorvith-mppoorvith-mp/skills-writing/skills/technical-docs/SKILL.md

technical-docs

Skill0 starsChanged 3 months agoMITView on GitHub

Write API references, user guides, setup manuals and architecture docs with consistent terminology. Use when writing developer documentation, API guides, or tutorials.

  • Reads credentials
  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    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:

    Before writing: Who is reading this and what do they already know?

    line 60
  2. Distinctive:

    Executive summaries: No technical detail, focus on business outcomes

    line 63
  3. Distinctive:

    Prefer concrete, actionable steps over vague advice — the user needs executable output.

    line 73
  4. Distinctive:

    Ask for missing context only when it blocks a correct answer.

    line 74
  5. Distinctive:

    Do not invent personal identities, third-party credits, or external source claims.

    line 75
  6. Distinctive:

    Write README files that make developers want to use a project within the first 30 seconds

    line 78
  7. Distinctive:

    Create API reference docs that are complete, accurate, and include working code examples

    line 79
  8. Distinctive:

    Write conceptual guides that explain *why*, not just *how*

    line 81
  9. Distinctive:

    Create contribution guides that make it easy for engineers to write good docs

    line 88
  10. Distinctive:

    Use clear headings and bullet lists where helpful.

    line 96
  11. Distinctive:

    Call out assumptions and open questions at the end.

    line 97
  12. Distinctive:

    NEVER invent statistics, quotes, or sources.

    line 109
  13. Distinctive:

    NEVER present an unverified figure as sourced.

    line 110
  14. Distinctive:

    NEVER bury the central point below preamble the reader will not reach.

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Technical Docs

Technical documentation serves four distinct modes (the Divio framework: Tutorials, How-To Guides, Reference, and Explanation). Documentation fails when these modes blur — such as when setup tutorials detour into deep architecture, or when API reference pages lack reproducible request and response payloads.

Process

  1. Classify documentation intent (Tutorial, How-To, Reference, or Architectural Explanation).
  2. Establish reader prerequisites, environment requirements, and required tokens/keys.
  3. Structure procedures with sequential, imperative, single-action steps.
  4. Provide complete, runnable code examples with expected output.
  5. Standardize domain terminology in a structured glossary.

Output Format

Technical Documentation: [Topic]

Overview

[One-paragraph plain English summary of what this component accomplishes and why it exists]

Prerequisites

  • Node.js >= 20.0.0 or Python >= 3.11
  • Environment variable API_KEY configured in .env

Quickstart / How-It-Works

  1. Step 1: Install Dependencies:
    npm install @company/sdk
  2. Step 2: Initialize Client:
    import { Client } from "@company/sdk";
    const client = new Client({ apiKey: process.env.API_KEY });
  3. Step 3: Execute Operation:
    const res = await client.resources.get("id_123");
    console.log(res.data);

API Reference / Schema

  • Endpoint: POST /api/v1/resources
  • Headers: Authorization: Bearer <token>, Content-Type: application/json
  • Request Body:
    { "name": "sample", "tier": "standard" }
  • Response 201 Created:
    { "id": "res_987", "status": "active" }

Glossary & Terminology

TermDefinitionContext / Scope
Idempotency KeyUnique header to prevent duplicate charge executionAll mutation endpoints
Tenant IDUUID representing the client organization partitionMulti-tenant auth token

Audience-First Writing

Before writing: Who is reading this and what do they already know?

  • Developer docs: Technical terms OK, code examples, values precision
  • End-user guides: Minimal technical knowledge assumed, task-oriented, screenshots
  • Executive summaries: No technical detail, focus on business outcomes

Documentation Types (Divio System)

  • Tutorials: Learning-oriented, hold reader's hand to first success
  • How-to Guides: Goal-oriented, step-by-step for known goals
  • Reference: Information-oriented, complete and accurate, dense
  • Explanations: Understanding-oriented, background and context

Style Rules

Active voice, one action per step, consistent terminology, test your own instructions.

Critical rules

  1. Prefer concrete, actionable steps over vague advice — the user needs executable output.
  2. Ask for missing context only when it blocks a correct answer; otherwise state assumptions.
  3. Do not invent personal identities, third-party credits, or external source claims.

Additional notes (merged)

  • Write README files that make developers want to use a project within the first 30 seconds
  • Create API reference docs that are complete, accurate, and include working code examples
  • Build step-by-step tutorials that guide beginners from zero to working in under 15 minutes
  • Write conceptual guides that explain why, not just how
  • Set up documentation pipelines using Docusaurus, MkDocs, Sphinx, or VitePress
  • Automate API reference generation from OpenAPI/Swagger specs, JSDoc, or docstrings
  • Integrate docs builds into CI/CD so outdated docs fail the build
  • Maintain versioned documentation alongside versioned software releases
  • Audit existing docs for accuracy, gaps, and stale content
  • Define documentation standards and templates for engineering teams
  • Create contribution guides that make it easy for engineers to write good docs
  • Measure documentation effectiveness with analytics, support ticket correlation, and user feedback
  • Code examples must run — every snippet is tested before it ships
  • No assumption of context — every doc stands alone or links to prerequisite context explicitly
  • Keep voice consistent — second person ("you"), present tense, active voice throughout
  • Version everything — docs must match the software version they describe
  • One concept per section — do not combine installation, configuration, and usage into one wall of text
  • Lead with the result the user asked for.
  • Use clear headings and bullet lists where helpful.
  • Call out assumptions and open questions at the end.
  • Stay specific to the Technical Writer workflow; avoid generic filler.

Verification & Quality Checklist

  • Every factual claim and statistic traced to a citable source.
  • Reading level and terminology matched to the stated audience.
  • Length and formatting fit the destination channel's limits.
  • One clear call to action, placed where the reader will still be reading.

Anti-Patterns & Constraints

  • NEVER invent statistics, quotes, or sources.
  • NEVER present an unverified figure as sourced.
  • NEVER bury the central point below preamble the reader will not reach.

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.