agentleFS
Fu-JieFu-Jie/openwebui-extensions/.github/skills/doc-mirror-sync/SKILL.md

doc-mirror-sync

Skill326 starsChanged 8 months agoMITView on GitHub

Automatically synchronizes plugin READMEs to the official documentation directory (docs/). Use after editing a plugin's local documentation to keep the MkDocs site up to date.

1 other project uses a version of this.

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, 5 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this mode when the request is "only sync docs".

    line 12
  2. Very specific:

    Only update documentation mirror files under docs/plugins/.

    line 14
  3. Distinctive:

    Do not bump plugin version.

    line 15
  4. Very specific:

    Do not modify plugin code (plugins/.py) unless explicitly requested.

    line 16
  5. Distinctive:

    Do not update root badges/dates for release.

    line 17
  6. Distinctive:

    Do not run release preparation steps.

    line 18
  7. Very specific:

    Update version badges in docs/plugins/{type}/index.md.

    line 23
  8. Very specific:

    If asked for English-only update, sync only README.md -> .md mirror.

    line 48
  9. Very specific:

    If both languages are requested, sync both README.md and README_CN.md.

    line 49
  10. Distinctive:

    After syncing, verify git diff only contains docs file changes.

    line 50

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

Doc Mirror Sync

Overview

Automates the mirroring of plugins/{type}/{name}/README.md to docs/plugins/{type}/{name}.md.

Docs-Only Mode (No Release Changes)

Use this mode when the request is "only sync docs".

  • Only update documentation mirror files under docs/plugins/**.
  • Do not bump plugin version.
  • Do not modify plugin code (plugins/**.py) unless explicitly requested.
  • Do not update root badges/dates for release.
  • Do not run release preparation steps.

Workflow

  1. Identify changed READMEs.
  2. Copy content to corresponding mirror paths.
  3. Update version badges in docs/plugins/{type}/index.md.

Commands

Sync all mirrors (EN + ZH)

python .github/skills/doc-mirror-sync/scripts/sync.py

Sync only one plugin (EN only)

cp plugins/<type>/<name>/README.md docs/plugins/<type>/<name>.md

Sync only one plugin (EN + ZH)

cp plugins/<type>/<name>/README.md docs/plugins/<type>/<name>.md
cp plugins/<type>/<name>/README_CN.md docs/plugins/<type>/<name>.zh.md

Notes

  • If asked for English-only update, sync only README.md -> .md mirror.
  • If both languages are requested, sync both README.md and README_CN.md.
  • After syncing, verify git diff only contains docs file changes.

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.