Skip to content
Development
Skill

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

From plugin
ai-agent-skills
1.2k18 skills

Claude Code

$ npx -y skills add MoizIbnYousaf/Ai-Agent-Skills --skill share-a-library --agent claude-code

SKILL.md

share-a-library.SKILL.md
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
Read more
@moizibnyousaf
Ships withai-agent-skills

Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills

Stars on GitHub

Momentum

stars in total
1.2k
Star history of MoizIbnYousaf/Ai-Agent-Skills on GitHub, a chart by star-history.com

Other skills on ai-agent-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about share-a-library.

Which coding agents can use share-a-library?
share-a-library installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.