share-a-library
skillcreatorai/Ai-Agent-Skills/skills/share-a-library/SKILL.md
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.
Skill1.1k starsChanged 7 months ago
What's in it
- Share A Library
- Goal
- Preconditions
- Workflow
- Guardrails
- Done
--- 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. ```bash npx ai-agent-skills build-docs ``` 2. Publish the workspace to GitHub. ```bash 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: ```bash npx ai-agent-skills install <owner>/<repo> --collection starter-pack -p ``` Otherwise: ```bash 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
More agent context in skillcreatorai/Ai-Agent-Skills
17 other files this repository gives its agents.
Skill
- ask-questions-if-underspecifiedskills/ask-questions-if-underspecified/SKILL.md
- audit-library-healthskills/audit-library-health/SKILL.md
- backend-developmentskills/backend-development/SKILL.md
- best-practicesskills/best-practices/SKILL.md
- browse-and-evaluateskills/browse-and-evaluate/SKILL.md
- build-workspace-docsskills/build-workspace-docs/SKILL.md
- changelog-generatorskills/changelog-generator/SKILL.md
- code-documentationskills/code-documentation/SKILL.md
- content-research-writerskills/content-research-writer/SKILL.md
- curate-a-team-libraryskills/curate-a-team-library/SKILL.md
- database-designskills/database-design/SKILL.md
- install-from-remote-libraryskills/install-from-remote-library/SKILL.md
- llm-application-devskills/llm-application-dev/SKILL.md
- migrate-skills-between-librariesskills/migrate-skills-between-libraries/SKILL.md
- review-a-skillskills/review-a-skill/SKILL.md
- update-installed-skillsskills/update-installed-skills/SKILL.md
- verification-agentskills/verification-agent/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

