Yao open skills sync

From yaojingang/yao-open-skills · View interactive version

Yao open skills sync is an AI agent skill from the GitHub repository yaojingang/yao-open-skills. Manage the yao-open-skills public collection. Use this skill whenever the user wants to evaluate whether a local skill should be open sourced, import a local skill into the yao-open-skills repository, register which skills are already public, track GitHub sync status, or update the collection README

How to use this skill

Skill file

Yao Open Skills Sync

Use this skill to manage the public yao-open-skills collection in the current repo root.

This skill is not for creating arbitrary new skills from scratch. It is for intake, governance, sync tracking, and collection maintenance.

Read First

Before changing the collection, read:

Only read repo-wide docs under ../../docs/ if you need more human-facing detail after reviewing the references.

Primary Responsibilities

Workflow

1. Inspect the source skill

Given a local path from the user:

Watch for:

2. Decide whether it can be public

Use the publishing rules:

3. Import the public copy

When approved:

4. Register the skill

Upsert the registry entry using:

python3 scripts/register_skill.py \
  --slug <slug> \
  --title "<title>" \
  --summary "<summary>" \
  --source-local-path "<absolute-source-path>" \
  --collection-path "skills/<slug>" \
  --lifecycle active \
  --sync-status <local-only|staged|published|needs-update> \
  --github-repo yao-open-skills \
  --github-url "<url-if-known>" \
  --license "<license>" \
  --tags "tag1,tag2"

Use --last-synced-at YYYY-MM-DD only when the skill has actually been pushed to GitHub.

5. Update the README catalog

After every registry change, run:

python3 scripts/render_collection_pages.py

README and index.html are rendered views. Do not maintain the catalog table or HTML Skill cards manually.

5.5 Write the usage guide

For every published skill, add or update:

docs/skills/<slug>.md

The guide should explain:

6. Publish to GitHub when requested

If the user wants the collection pushed:

If the public repo exists but the local collection has new unpublished changes, use needs-update until the push is complete.

7. Report the result

Always report:

Output Expectations

When this skill completes a sync task, the result should leave the collection in a consistent state:

Decision Rules

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.