agentleFS
peopleforresterpeopleforrester/claude-dotfiles/skills/docs/update-docs/SKILL.md

update-docs

Skill3 starsChanged 8 months agoMITView on GitHub

Update documentation to match current code. Detects drift between docs and implementation. Invokes the doc-updater agent.

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fullstack-developer, cache-components and 2 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.
  • belokonmSkill

    fullstack-developer

    End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development

    Also in 4 projects that use this

  • mm-mazharSkill

    cache-components

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    Also in 3 projects that use this

  • DauQuangThanhSkill

    frontend-code-review

    Conducts comprehensive frontend code reviews including React/Vue/Angular component analysis, TypeScript/JavaScript quality assessment, CSS/styling review, performance optimization, accessibility compliance, security vulnerabilities, and best practices validation. Produces detailed review reports with specific issues, severity ratings, and actionable recommendations. Use when reviewing frontend code, analyzing React/Vue/Angular components, checking JavaScript/TypeScript quality, validating CSS/SCSS, assessing web performance, or when users mention "review frontend code", "check React components", "analyze JavaScript", "review TypeScript", "validate accessibility", or "frontend code quality".

    Also in 4 projects that use this

  • ReScienceLabSkill

    reddit

    Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subreddit, or r/ links.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 43 edited versions we read keep these.

  • 4

    Distinctive

    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:

    After completing a feature

    line 55
  2. Distinctive:

    Before creating a release

    line 56
  3. Distinctive:

    When documentation feels outdated

    line 57
  4. Distinctive:

    After refactoring that changes APIs

    line 58

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

/update-docs - Documentation Update

Invoke the doc-updater agent to sync documentation with code changes.

Usage

/update-docs                    # Full documentation audit
/update-docs README.md          # Update specific file
/update-docs --api              # Focus on API documentation
/update-docs --changelog        # Update CHANGELOG only

What Gets Checked

  1. README.md - Installation steps, usage examples, env vars
  2. API Documentation - Endpoints, parameters, responses
  3. Inline Docs - JSDoc, docstrings, rustdoc accuracy
  4. CHANGELOG - New entries for recent changes
  5. Architecture Docs - Diagrams and decisions match reality

Documentation Drift Detection

The agent compares:

  • Recently changed source files vs documentation
  • Public API signatures vs documented signatures
  • Environment variables in code vs documented variables
  • Dependencies in package.json vs documented requirements

Output

## Documentation Update Report

### Changes Made
| File | Section | Change |
|------|---------|--------|
| README.md | Setup | Updated Node version |
| docs/api.md | /users | Added new parameter |

### Drift Detected
- [File]: [What needs updating]

### Suggestions
- [Documentation improvement idea]

When to Use

  • After completing a feature
  • Before creating a release
  • When documentation feels outdated
  • After refactoring that changes APIs

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.