agentleFS
strikersamstrikersam/autonomous-ai-agency/.agents/skills/docs-sync/SKILL.md

docs-sync

Skill9 starsChanged 3 months agoMITView on GitHub

Keep documentation in sync after code changes. Run after any change that alters module behaviour, APIs, env vars, or architecture.

  • Reads credentials

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use release.

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

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run this skill after any change that:

    line 21
  2. Distinctive:

    Read the current doc file content.

    line 47
  3. Distinctive:

    Use clear present-tense language ("The proxy exposes..." not "The proxy will expose...").

    line 49
  4. Distinctive:

    Verify all code snippets and example commands still work after your changes.

    line 50
  5. Distinctive:

    Update AGENTS.md (root or module-level) if the operating instructions changed.

    line 51
  6. Very specific:

    Write a new ADR in docs/adrs/ when:

    line 68

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

Skill: docs-sync

When to Use

Run this skill after any change that:

  • Adds or removes a FastAPI endpoint
  • Adds or removes an environment variable
  • Changes agent capabilities or planner/executor/verifier behaviour
  • Changes model routing logic or adds a new model
  • Adds a new dependency to requirements.txt
  • Modifies the admin dashboard or Telegram bot

Docs to Check After Each Change Type

ChangeDocs to update
New endpointREADME.md, docs/configuration-reference.md
New env varREADME.md, docs/configuration-reference.md, .env.example
New model or routing changedocs/model-routing.md, router/AGENTS.md
New agent capabilitydocs/features.md, agent/AGENTS.md
Admin dashboard changedocs/admin-dashboard.md
Telegram bot changedocs/telegram-bot.md
Architecture changedocs/architecture/overview.md, relevant ADR
New ADR decisiondocs/adrs/ — write a new ADR
New dependencydocs/configuration-reference.md if setup-relevant
Breaking changedocs/changelog.md ### Changed or ### Removed

Instructions

  1. Identify which doc files need updating (use the table above).
  2. Read the current doc file content.
  3. Make the minimal accurate update.
  4. Use clear present-tense language ("The proxy exposes..." not "The proxy will expose...").
  5. Verify all code snippets and example commands still work after your changes.
  6. Update AGENTS.md (root or module-level) if the operating instructions changed.

AGENTS.md Update Rules

Root AGENTS.md changes when:

  • Key commands change
  • New risky modules are introduced
  • Skill-to-situation mapping changes
  • Codebase structure changes significantly

Module AGENTS.md changes when:

  • Module invariants change
  • New env vars are introduced
  • Security surface changes

ADR Guidelines

Write a new ADR in docs/adrs/ when:

  • A significant architecture decision is made
  • A new technology or pattern is adopted
  • An existing approach is replaced with something different

ADR filename: NNN-short-title.md where NNN is the next sequential number.

ADR template:

# ADR NNN: <title>

**Status:** Accepted | Superseded by ADR NNN
**Date:** YYYY-MM-DD

## Context
Why is this decision needed?

## Decision
What was decided?

## Consequences
### Positive
### Negative / Trade-offs
### Neutral

Acceptance Checks

  • All relevant doc files updated
  • No code examples in docs are stale
  • AGENTS.md updated if operating instructions changed
  • ADR written if architecture decision was made
  • Changelog updated

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.