agentleFS
SrejonKhanSrejonKhan/agent-skills/skills/update_docs/SKILL.md

update_docs

Skill3 starsChanged 2 months agoMITView on GitHub

Updates standard project documentation files (README, CODE_DOCUMENTATION, DESIGN_PHILOSOPHY) to reflect the current state of the codebase.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    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
  1. Very specific:

    Use view_file to read current docs.

    line 17
  2. Very specific:

    Use replace_file_content to update sections.

    line 18
  3. Distinctive:

    Ensure installation and usage instructions are up to date.

    line 26
  4. Distinctive:

    Add any new features to the feature list.

    line 27
  5. Distinctive:

    Verify prerequisites and configuration steps.

    line 28
  6. Distinctive:

    Update architecture diagrams or descriptions if flow has changed.

    line 33
  7. Distinctive:

    Keep it concise; avoid over-explaining standard boilerplate.

    line 34
  8. Distinctive:

    Ensure the tone reflects the project's core values.

    line 40
  9. Distinctive:

    Review: Check for consistency across all three documents.

    line 42
  10. Distinctive:

    When creating or heavily updating files, adhere to these structural templates:

    line 46

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

Update Documentation

This skill systematically updates the core documentation files of the project.

Inputs

  • Changes: Summary of what changed (or ask Agent to scan).
  • Docs to Update: README, CODE_DOCUMENTATION, etc.

Tooling Strategy

  • Use view_file to read current docs.
  • Use replace_file_content to update sections.

Workflow

  1. Analyze Changes: Briefly scan the recent changes in the codebase to understand what functionality has been added, modified, or removed.
  2. Update README.md:
    • Focus: "HOW TO'S".
    • Ensure installation and usage instructions are up to date.
    • Add any new features to the feature list.
    • Verify prerequisites and configuration steps.
  3. Update CODE_DOCUMENTATION.md:
    • Focus: "Code functionality - crisp, clear, and simple".
    • Describe the technical implementation of new features.
    • Update architecture diagrams or descriptions if flow has changed.
    • Keep it concise; avoid over-explaining standard boilerplate.
  4. Update DESIGN_PHILOSOPHY.md:
    • Focus: "Why and what are we trying to do - ideology".
    • Explain the reasoning behind recent major changes.
    • Re-align the document with the project's evolving goals if necessary.
    • Ensure the tone reflects the project's core values.
  5. Review: Check for consistency across all three documents.

Standard Documentation Templates

When creating or heavily updating files, adhere to these structural templates:

README Structure

Prioritize sections in this order:

  1. Title + One-liner: What is this?
  2. Quick Start: How to run in <5 min.
  3. Features: What can I do?
  4. Configuration: Environment variables and defaults.
  5. API Reference/Documentation: Link to details.
  6. Contributing & License.

Code Comment Guidelines (JSDoc/TSDoc)

Comment the Why (business logic), not the What (obvious). Document API contracts and complex algorithms.

/**
 * Brief description of what the function does.
 *
 * @param paramName - Description of parameter
 * @returns Description of return value
 * @throws ErrorType - When this error occurs
 */

Changelog Format (Keep a Changelog)

## [Unreleased]

### Added

### Changed

### Fixed

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.