agentleFS
extra-orgextra-org/extra/.claude/skills/documentation/SKILL.md

documentation

Skill113 starsChanged 6 months agoMITView on GitHub

Keep the repository's documentation accurate, honest, and synchronized with the code. Use when editing docs, README, AGENTS.md, or ADRs.

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use typescript, oauth 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.
  • MicrosoftSkill

    typescript

    Use this guide when working on TypeScript changes in the FAST monorepo — authoring Web Components, writing templates and styles, working with the observable/reactive system, and testing.

    Also in 5 projects that use this

  • VercelSkill

    oauth

    Configure OAuth providers (Google, Apple, Microsoft, Facebook, GitHub, etc.) to work with portless local dev URLs. Use when setting up OAuth redirect URIs, fixing "redirect_uri_mismatch" or "invalid redirect" errors, configuring sign-in providers for local development, or when a provider rejects .localhost subdomains. Triggers include "OAuth not working with portless", "redirect URI mismatch", "Google/Apple/Microsoft sign-in fails locally", "configure OAuth for local dev", or any task involving OAuth callback URLs with portless domains.

    Also in 3 projects that use this

  • MicrosoftSkill

    rust

    Use this guide when working on Rust changes in the FAST monorepo.

    Also in 3 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • BlockSkill

    debugging

    Debugging guidelines and best practices

    Also in 7 projects that use this

  • pluginagentmarketplaceSkill

    performance

    Optimize application performance through caching strategies, load balancing, database scaling, and monitoring. Build systems handling thousands of concurrent users.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Do not edit this file directly.

    line 10
  2. Distinctive:

    Keep the repository's documentation accurate, honest, and synchronized with the code, so future agents and users can trust it.

    line 18
  3. Distinctive:

    Docs follow code: Update docs in the same change as the behavior they describe.

    line 40
  4. Distinctive:

    Show, don't just tell: Prefer examples, flows, and small diagrams where they clarify.

    line 44
  5. Very specific:

    Sync cross-references: update indexes (docs/README.md, .ai/README.md) and any links.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 52 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
<!-- This file is generated by tools/skills. Do not edit this file directly. Edit .ai/skills/documentation.md and run `make generate-ai`. -->

Skill: Documentation

Purpose

Keep the repository's documentation accurate, honest, and synchronized with the code, so future agents and users can trust it.

When to Use This Skill

  • Editing anything in docs/, the README.md, or AGENTS.md.
  • Adding or changing an ADR.
  • Shipping a behavior/contract change that documentation must reflect.

Files to Read First

  • AGENTS.md
  • docs/README.md (reading order and index).
  • The specific doc/ADR you are changing and any code it describes.
  • .ai/skills/skill-authoring.md if the doc is a skill.

Core Principles

  • Be honest about status. Clearly separate what exists from what is planned; use accurate status markers (✅ done / ⏳ planned).
  • Never claim unimplemented features work. The project is in the foundation phase — don't describe the runtime/compiler/API as functioning.
  • Docs follow code. Update docs in the same change as the behavior they describe; don't let them drift.
  • Decisions go in ADRs. A binding architectural decision is recorded as an ADR, not buried in prose.
  • Show, don't just tell. Prefer examples, flows, and small diagrams where they clarify.
  • Right file for the right scope: README = user-facing; AGENTS.md = repo-wide rules for agents; ADRs = architectural decisions; docs/ = design.

Process

  1. Identify scope. Decide which file(s) the change belongs in (README vs. AGENTS.md vs. docs vs. ADR) — don't scatter the same content.
  2. Write the change concisely; add an example or flow if it aids understanding.
  3. For a new binding decision, add docs/adr/NNNN-title.md using the existing ADR format (Status, Context, Decision, Consequences, Alternatives, Enforcement).
  4. Sync cross-references: update indexes (docs/README.md, .ai/README.md) and any links.
  5. Verify honesty: re-read for any claim that overstates current status.
  6. Validate with make check.

Checklist Before Finishing

  • No unimplemented feature described as working; status markers accurate.
  • Docs updated in the same change as the behavior/contract.
  • Architectural decisions captured in an ADR (not just prose).
  • Correct file chosen for the scope (README / AGENTS / docs / ADR).
  • Examples/flows added where helpful.
  • Cross-references and indexes updated.
  • Consistent with AGENTS.md, README, docs, and ADRs.
  • make check passes.

Common Mistakes to Avoid

  • Documenting aspirational behavior as if it already works.
  • Editing a contract in prose without a supporting ADR.
  • Letting README/AGENTS/docs drift out of sync after a code change.
  • Duplicating the same content across multiple files.
  • Large rewrites that lose existing structure and history.

Expected Final Report

State: which docs/ADRs were created or changed and why; confirmation that no unimplemented feature is claimed as working; any new ADR added; which indexes and cross-references were updated; and the make check result.

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.