Doc mirror sync

From Fu-Jie/openwebui-extensions · View interactive version

Doc mirror sync is an AI agent skill from the GitHub repository Fu-Jie/openwebui-extensions. 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.

How to use this skill

Skill file

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".

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.