/oss-skills:open-source-playbookfrom oss-skills
Diagnoses an open-source project's stage and routes to the right skill: repo bootstrap, licensing, README, docs, API design, testing, or code review. Use for vague OSS goals like 'open source this' or 'grow this project'.
Ships in oss-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The router. Your job here is diagnosis before action: figure out what stage the project is actually in, name the one or two bottlenecks that matter, and hand off to the specific skills. Do not attempt to do all of open source in one pass.
Never advise from the prompt alone. Spend two minutes on ground truth:
ls -la # top-level hygiene files
git log --oneline -20 # commit style, cadence, bus factor
git shortlog -sn | head -20 # contributor distribution
gh repo view --json stargazerCount,forkCount,openIssues,createdAt,licenseInfo 2>/dev/null
gh issue list --limit 20 --state open 2>/dev/null
gh pr list --limit 20 --state open 2>/dev/null
Then read README.md, CONTRIBUTING.md, .github/workflows/, and the package
manifest. If gh is unavailable or unauthenticated, work from the local clone and say
so — do not fabricate repo statistics.
| Stage | Signal | Bottleneck is almost always |
|---|---|---|
| 0. Pre-release | No public repo, or code exists but no license/README | Positioning and legal basics |
| 1. Published, unknown | Public, <50 stars, single contributor | The README and a working install path |
| 2. Discovered | Traffic arriving, issues opening, nobody contributing code | Contributor onboarding and docs |
| 3. Growing | Multiple contributors, PR queue forming | Automation, review throughput, triage |
| 4. Depended-upon | Downstream users, breakage complaints | API stability, release discipline, security |
| 5. Institutional | Many maintainers, org-scale | Governance, sustainability, succession |
Most projects are one stage behind where their owner thinks they are. Calibrate on evidence (issue volume, external PRs, download counts), not ambition.
| The user's goal | Skill to load |
|---|---|
| Start a repo from nothing | repo-bootstrap |
| Pick a license, handle CLA/DCO, vendored code | license-and-legal |
| Nobody understands what this does | readme-that-converts |
| Docs sprawl, users ask answered questions | docs-architecture |
| Public interface design, stability guarantees | api-design |
| Test suite is slow, flaky, or missing | testing-strategy |
| Review an incoming PR | code-review |
| Big rewrite without breaking users | refactor-safely |
| Performance claims, benchmark suite | performance-benchmarking |
| CI is slow, flaky, or absent | ci-pipelines |
| Versioning, changelog, publishing | release-engineering |
| SECURITY.md, provenance, scorecard, CVEs | supply-chain-security |
| Dependency bloat, upgrade churn | dependency-hygiene |
| Issue backlog is unmanageable | issue-triage |
| No one contributes; first PRs stall | contributor-experience |
| Launch, announce, grow adoption | launch-and-growth |
| Decision-making, burnout, funding, succession | governance-and-sustainability |
Load skills on demand, not preemptively. Two skills per response is usually the ceiling before advice turns to mush.
Give the user an ordered plan with the smallest viable first step. A useful default ordering by stage:
good first issue labelsWork that pays off repeatedly beats work that pays off once. Ranked by leverage:
A project that grows on marketing alone with none of 1–3 collapses under its own issue queue. Say this out loud when a user wants to skip to launch.
Skills encode the practices that well-run projects share. They do not manufacture demand. If a project solves a problem nobody has, the correct advice is to change the problem, not the README. Say that plainly when it is true — it is the single most valuable thing a reviewer can tell a maintainer, and the hardest to hear.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub the-open-agent/oss-skills --plugin oss-skills18 skills in this plugin
/api-designDesign public interfaces for libraries and tools that other people depend on. Use when designing or reviewing a public API surface, deciding what to export, naming functions and CLI flags, adding configuration options, planning deprecations, or when the user asks "is this a good API" or "how do I change this without breaking users". Covers minimal surface area, error design, async and extension patterns, CLI ergonomics, config precedence, and stability guarantees. Also use before a 1.0 release to freeze the interface./ci-pipelinesDesign continuous integration for an open-source repository. Use when setting up GitHub Actions from scratch, when CI is slow or flaky, when adding a build matrix across OS and language versions, when configuring caching, or when handling PRs from forks that need secrets. Covers workflow structure, concurrency and cancellation, caching strategy, required checks and branch protection, self-hosted runner risks, and keeping CI cheap. Also use for "our CI takes 40 minutes" or "why is CI failing on forks"./code-reviewReview a pull request the way a good open-source maintainer does. Use when reviewing an incoming PR, when the user asks "review this PR" or "is this ready to merge", when triaging a stale PR queue, or when writing review feedback to an external contributor. Covers what to check and in what order, severity levels, phrasing feedback so people come back, handling large or unwanted PRs, first-time contributors, AI-generated submissions, and closing PRs kindly. Complements the built-in /code-review command by adding the maintainer and community dimension./contributor-experienceTurn users into contributors and make their first PR succeed. Use when a project gets stars but no contributions, when first-time PRs stall or get abandoned, when writing or improving CONTRIBUTING.md, when setting up a dev environment that works on the first try, or when the user asks "how do I get contributors" or "why does nobody contribute". Covers the contribution funnel, good first issues, local setup, mentorship, recognition, and onboarding a contributor into a maintainer./dependency-hygieneManage a project's dependencies so they stay small, current, and safe. Use when deciding whether to add a dependency, auditing an existing dependency tree, configuring Dependabot or Renovate, dealing with upgrade churn or a flood of bot PRs, resolving version conflicts, choosing between dependency ranges and pinning, or removing an unmaintained dependency. Also use for "our install is huge", "too many Dependabot PRs", or before publishing a library that others will depend on./docs-architectureStructure and write project documentation beyond the README. Use when docs have sprawled into an unnavigable pile, when users keep asking questions the docs already answer, when choosing a docs site generator (Docusaurus, MkDocs, VitePress, mdBook, Sphinx), or when planning a docs information architecture. Covers the Diataxis framework (tutorial/how-to/reference/explanation), versioning docs across releases, API reference generation, doc testing, and migration guides. Also use for "write docs for this project" or "our docs are bad".