跳到正文
FunCoding

share-a-library

Use when a managed library is ready to publish to GitHub and hand to teammates as an install command. Run the GitHub publishing steps, then return the exact shareable install command.

Star
1,163
许可证
MIT
最近提交
2026年9月21日

skills/share-a-library/SKILL.md

在 GitHub 上查看

Share A Library

Goal

Turn a finished local library into a real shared artifact with a repo URL and an install command another agent can use.

Preconditions

  • You are already inside a managed library workspace.
  • The library has been sanity-checked.
  • npx ai-agent-skills build-docs has already run, or you run it now before publishing.

Workflow

  1. Regenerate docs if needed.
npx ai-agent-skills build-docs
  1. Publish the workspace to GitHub.
git init
git add .
git commit -m "Initialize skills library"
gh repo create <owner>/<repo> --public --source=. --remote=origin --push
  1. Return the exact shareable install command.

If the library has a starter-pack collection:

npx ai-agent-skills install <owner>/<repo> --collection starter-pack -p

Otherwise:

npx ai-agent-skills install <owner>/<repo> -p

Guardrails

  • Do not stop at git init. A shared library is not shared until the repo exists and the install command is ready.
  • If the repo already exists, connect the existing remote and push instead of creating a duplicate.
  • Prefer the collection install command when a curated starter pack exists.
  • Return the actual repo coordinates you used, not placeholders.

Done

Return:

  • the repo URL
  • whether you shared a collection or the whole library
  • the exact install command to hand to teammates

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea486k近 7 天新增 8,943 个 star

rea-changelog-update

MOmorluto/rea486k近 7 天新增 8,943 个 star

wizard

MAmattpocock/skills337k近 7 天新增 4,978 个 star

pr

MAmattpocock/skills337k近 7 天新增 4,978 个 star

triage

MAmattpocock/skills337k近 7 天新增 4,978 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills337k近 7 天新增 4,978 个 star