agentleFS
albkuealbkue/my-skill/skills/documentation/SKILL.md

documentation

Skill0 starsChanged 32 days agoMITView on GitHub

Write and maintain technical documentation grounded in real code - READMEs, setup guides, architecture overviews, API docs, environment-variable references, runbooks, ADRs, contribution guides, and changelogs. Use when the user asks to document a service, project, or feature, create a README, write an architecture decision record, or says documentation is missing or out of date. Do NOT use for academic thesis writing (thesis-helper), internship messages (internship-communication), or API contract design itself (api-design - document the decided contract here).

125 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use project-preferences, create-media-pack 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.
  • DepressionCenterSkill

    project-preferences

    Apply repository-specific preferences when planning, implementing, or reviewing changes in this project.

    Also in 6 projects that use this

  • DepressionCenterSkill

    create-media-pack

    Create a coordinated project branding and media pack with three accessible design options, approved vector artwork, image exports, a branding guide, and README integration. Use when asked for a repository media pack, brand kit, or complete project visual identity.

    Also in 5 projects that use this

  • thistleknotSkill

    response-style

    Response and prose protocol. Use when drafting user-facing prose, expanding a user's ideas, or tuning tone and format to preserve voice, avoid AI cliches, and maintain coherent answers.

    Also in 7 projects that use this

  • BrowserWorksSkill

    accessibility-frontend-review

    Performs an accessibility code review of a local diff or Phabricator revision in the style of the Firefox accessibility team. Use this skill whenever the user asks to review a Phabricator patch or revision for accessibility issues, mentions a D-number (like D284142) in the context of accessibility review, asks "does this patch have any a11y issues", or wants to check a diff against accessibility guidelines. Also use it when the user says things like "can you review this for a11y", "check this patch", or "give me an accessibility review of D[number]". Invoke proactively when the user pastes a phabricator.services.mozilla.com URL or shares a revision ID alongside any accessibility concern. Invoke when questions about the following topics are raised: aria properties, aria roles, high contrast mode, forced colors, prefers contrast, focus order, screen readers, assistive technology.

    Also in 4 projects that use this

  • BrowserWorksSkill

    android-new-module

    Guide for creating new Android gradle modules in the android-components project.

    Also in 4 projects that use this

  • +7 more from BrowserWorks

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 111 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the my-skill plugin's docs/workflow-profile.md.

    line 31
  2. Distinctive:

    Read the relevant code/config first.

    line 32
  3. Distinctive:

    Verify every claim against the code: commands, flag names, env vars, endpoint paths must be copied from real files and match exactly.

    line 35
  4. Distinctive:

    Every rule here is repo-type-agnostic - verify-against-code applies whether the repo is a job service, internship project, or thesis …

    line 42
  5. Distinctive:

    Never document behavior the code doesn't show.

    line 57
  6. Very specific:

    No secrets in docs — placeholders only (${DB_URL}), with a pointer to the secret store.

    line 59
  7. Distinctive:

    Keep ADRs short (≤ 1.5 pages each): context, decision, consequences — history lives in git.

    line 61
  8. Very specific:

    Behavior: Read the repo structure and config files.

    line 72

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

Documentation

Purpose

Produce documentation a new teammate (or Sothy in three months) can act on: accurate to the actual code, structured for the reader's task, and honest about what is out of date.

When to use

  • Creating or refreshing a README, setup guide, or onboarding doc for any project (backend job, internship repo, car-part retrieval system, data pipelines).
  • Writing architecture overviews, ADRs, API reference docs, environment-variable tables, runbooks, data dictionaries, or changelogs.
  • "Document this service", "our docs are stale", "prepare handover notes".

When not to use

  • Designing the API contract to be documented → api-design first.
  • Thesis chapters / academic prose → thesis-helper.
  • Professional messages to people → internship-communication.
  • Runbook content for production alerts → pair with observability (this skill formats it).

Context intake

  • Audience (new contributor / operator / API consumer / future self) and which docs already exist - prefer updating over creating. Detect or confirm before starting (ask at most what is genuinely needed):
  • Which context: one of the contexts defined in docs/workflow-profile.md ("Contexts")? Read docs/active-context.md first: if Current names a context set within the last day, use it, apply its rules, and do not ask. Otherwise fall back to the active roles and projects in docs/workflow-profile.md; ask when it could be two different contexts.
  • What is the desired output: a plan, code, a review, tests, documentation, a deployment plan, or research notes? Confirm if ambiguous.

Workflow

  1. Read the my-skill plugin's docs/workflow-profile.md. If it is missing, contradicts this request, or was last updated more than ~3 months ago, confirm or update it with Sothy before applying any role, project, or stack assumptions.
  2. Read the relevant code/config first; document what exists, not an idealized design.
  3. Pick the smallest artifact that fits the need (add a section to an existing doc rather than a new file when possible).
  4. Structure for the reader's job: setup docs ordered as copy-paste-able steps; API docs per endpoint; ADR = context → decision → consequences.
  5. Verify every claim against the code: commands, flag names, env vars, endpoint paths must be copied from real files and match exactly.
  6. Mark unknowns explicitly as [TO VERIFY] rather than guessing.
  7. Recommend, don't just write: note where the doc should live (repo root, docs/, wiki) and what to delete/merge later.

Adaptation rules

  • Doc set scales with repo size: single README for small projects; add docs/ (adr/, runbooks) only when they earn their space.
  • Every rule here is repo-type-agnostic - verify-against-code applies whether the repo is a job service, internship project, or thesis pipeline.

Inputs needed

  • The code, config, or diff to document (real files beat memory; read them before writing).
  • Audience and purpose: new contributor, operator, API consumer, future self.
  • Which docs already exist and where, so they are updated rather than duplicated.
  • Any house style (tone, heading style) already present in the target repo.

Output contract

  • Doc type + location — what artifact, which file path, created vs updated.
  • Document — ready-to-paste content.
  • Verified vs assumptions — what was checked against code; what needs Sothy to confirm.
  • Follow-ups — stale docs found en route that should be updated next.

Rules and constraints

  • Never document behavior the code doesn't show; if the intent differs from the implementation, flag the mismatch instead of papering over it.
  • Copy exact names: no paraphrased env vars, commands, or placeholder values left in final docs.
  • No secrets in docs — placeholders only (${DB_URL}), with a pointer to the secret store.
  • Match the target repo's existing tone/structure; don't import a new style.
  • Keep ADRs short (≤ 1.5 pages each): context, decision, consequences — history lives in git.

Quality checklist

  • Every command/field/endpoint verified against actual code.
  • Unknowns marked [TO VERIFY], never guessed.
  • No secrets - placeholders with secret-store pointers.
  • Location recommendation + follow-up stale docs noted.

Examples

  1. Request: "Write a README for our retrieval API so my supervisor can run it." Behavior: Read the repo structure and config files; produce README with: what it does, prerequisites, exact setup commands (copied from real scripts/requirements), env var table with [TO VERIFY] for unknown values, a run example, and a project structure sketch. List follow-ups for stale docs found.
  2. Request: "We switched from page-number to cursor pagination — write an ADR." Behavior: One-page ADR: context (inconsistent ordering under concurrent writes), decision (cursor tokens over pages), consequences (clients must migrate; no random page access), alternatives rejected (offsets, keyset-lite). Path suggestion docs/adr/0003-cursor-pagination.md.

Lessons learned

Record improvements after real usage (maintained via continuous-improvement). Format:

  • <date> -- <what happened> -> <change made to this SKILL.md>

(empty -- entries appear after real usage)

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.