/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.
$ npx -y skills add skillcreatorai/ai-agent-skills --skill share-a-library --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/share-a-library
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
share-a-library.SKILL.mdname: share-a-library
description: 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.
category: workflow
version: 4.1.0
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
2. 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
3. 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
Read more
name: share-a-library description: 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. category: workflow version: 4.1.0
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
2. 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
3. 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
Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills
Repo: skillcreatorai/ai-agent-skills
Other skills on ai-agent-skills.
- /ask-questions-if-underspecified
Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
Open skill - /audit-library-health
Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.
Open skill - /backend-development
Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.
Open skill - /best-practices
Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.
Open skill - /browse-and-evaluate
Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.
Open skill - /build-workspace-docs
Use when regenerating README.md and WORK_AREAS.md in a managed library workspace. Always dry-run first to preview changes.
Open skill

