agentleFS
ImYourBoyRoyImYourBoyRoy/agent-continuity-stack/skills/maintain-project-docs/SKILL.md

maintain-project-docs

Skill1 starsChanged 4 months agoMITView on GitHub

Create or update a project's required README and authoritative contributor, operator, API, migration, and troubleshooting documentation. Use when documentation is missing, stale, publication-bound, or affected by material behavior; verify commands and avoid duplicates.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 15 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Update the smallest authoritative documentation surface that keeps the project usable and truthful.

    line 8
  2. Distinctive:

    Every maintained project requires a current README.md.

    line 16
  3. Distinctive:

    If the root README is missing, create it unless:

    line 20
  4. Distinctive:

    Keep applicable README content ready for its publication surfaces:

    line 29
  5. Distinctive:

    Read applicable instructions and identify the intended audience.

    line 45
  6. Distinctive:

    Prefer updating that source over adding another document.

    line 49
  7. Distinctive:

    Treat source, configuration, executable help, and verified behavior as stronger evidence than stale prose.

    line 50
  8. Very specific:

    Use references/document-types.md when deciding where information belongs.

    line 53
  9. Distinctive:

    Verify commands, paths, filenames, defaults, environment variables, and supported platforms.

    line 57
  10. Distinctive:

    Use placeholders for credentials, domains, usernames, and machine-specific paths.

    line 61
  11. Distinctive:

    Keep examples copyable without embedding secrets.

    line 63
  12. Distinctive:

    Keep README changes in the same work cycle as externally visible behavior, interface, command, configuration, installation, or publication …

    line 67
  13. Distinctive:

    Search affected docs after renames or behavior changes.

    line 72
  14. Distinctive:

    Do not hand-edit generated documentation unless its source is unavailable and the exception is recorded.

    line 82
  15. Very specific:

    Use available non-destructive checks such as link validation, rendering, doctests, example compilation, --help, schema validation, or the …

    line 87
  16. Distinctive:

    When Python packaging is in scope, authorized, and permitted by repository instructions, applicable evidence may include:

    line 92
  17. Distinctive:

    Do not install missing build tools merely to run these checks.

    line 100

≈ “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

Maintain Project Docs

Update the smallest authoritative documentation surface that keeps the project usable and truthful.

Agent control files such as AGENTS.md, CLAUDE.md, and client rules belong to maintain-agent-instructions, even when they use Markdown.

Establish the README foundation

Every maintained project requires a current README.md. Resolve the project root and inspect applicable instructions, source, manifests, package metadata, and existing documentation.

If the root README is missing, create it unless:

  • the request is strictly read-only;
  • repository policy forbids the change; or
  • the apparent root is not the maintained project boundary.

In those cases, report the missing foundation rather than silently substituting another file.

Keep applicable README content ready for its publication surfaces:

  • purpose, maturity, features, requirements, and supported platforms;
  • installation, imports, quick start, commands, configuration, and API usage;
  • copyable examples and verified representative outputs;
  • project layout and important entry points;
  • build, test, packaging, release, and troubleshooting guidance;
  • security, privacy, license, maintainer, and project links.

For Python packages, verify GitHub and PyPI long-description rendering, supported Python versions, installation, package imports, public APIs, examples, metadata, license, and publishing instructions. For other ecosystems, apply the equivalent package or application publication standard.

Locate authority

  1. Read applicable instructions and identify the intended audience.
  2. Inventory existing README files, docs, generated references, examples, schemas, runbooks, and release notes relevant to the change.
  3. Determine which source owns each fact.
  4. Prefer updating that source over adding another document.
  5. Treat source, configuration, executable help, and verified behavior as stronger evidence than stale prose.

Use references/document-types.md when deciding where information belongs.

Write evidence-backed documentation

  • Verify commands, paths, filenames, defaults, environment variables, and supported platforms.
  • Distinguish required steps from optional examples.
  • Mark destructive, privileged, networked, or production commands clearly.
  • Use placeholders for credentials, domains, usernames, and machine-specific paths.
  • Keep examples copyable without embedding secrets.
  • Preserve established terminology and link to the canonical definition.
  • State limitations and unverified platforms honestly.
  • Attribute ownership only from repository metadata or explicit direction.
  • Keep README changes in the same work cycle as externally visible behavior, interface, command, configuration, installation, or publication changes.

Prevent drift

Search affected docs after renames or behavior changes. Check:

  • internal links and anchors
  • command names and flags
  • configuration keys and precedence
  • API signatures and examples
  • supported-version statements
  • screenshots and generated samples
  • duplicated facts in multiple documents

Do not hand-edit generated documentation unless its source is unavailable and the exception is recorded.

Validate proportionally

Use available non-destructive checks such as link validation, rendering, doctests, example compilation, --help, schema validation, or the documentation build. Verify README commands and examples against current public APIs and metadata.

When Python packaging is in scope, authorized, and permitted by repository instructions, applicable evidence may include:

python -m build
python -m twine check dist/*

Do not install missing build tools merely to run these checks. Do not run commands that deploy, delete, install system software, rotate secrets, or mutate production merely to verify prose.

Report authoritative files changed, facts verified, checks performed, generated artifacts affected, and remaining uncertainty.

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.