/oss-skills:repo-bootstrapfrom oss-skills
Scaffolds new open-source repos or brings existing ones up to community standards: LICENSE, README, CONTRIBUTING, CI, issue templates, and a pre-publication secrets scrub.
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.
Read when SKILL.md points to them.
Getting the substrate right once removes a hundred small frictions later. This skill covers the baseline files, the ordering, and the pre-publication scrub that catches what you cannot un-publish.
Do these in order. Each unlocks the next.
license-and-legal).gitignore + .editorconfig — before the first commit that leaks build artifactsreadme-that-converts)ci-pipelines)issue-triage)supply-chain-security)release-engineering)| File | Non-negotiable? | Notes |
|---|---|---|
LICENSE | Yes | Full text, exact SPDX-recognized copy. Not a link. |
README.md | Yes | The whole project for 95% of visitors. |
.gitignore | Yes | Start from github/gitignore for your language. |
CONTRIBUTING.md | Yes once public | Setup, test, PR expectations. |
CODE_OF_CONDUCT.md | Yes once public | Contributor Covenant 2.1 + a real contact address. |
SECURITY.md | Yes once used | Reporting channel + supported versions. |
.github/workflows/ci.yml | Yes | Even one job. Red/green is a social signal. |
.github/ISSUE_TEMPLATE/ | At stage 2+ | Forms (.yml) beat markdown templates. |
.github/PULL_REQUEST_TEMPLATE.md | At stage 2+ | Short. Long ones get deleted by contributors. |
.editorconfig | Yes | Kills the tabs/spaces PR diff noise permanently. |
CHANGELOG.md | At first release | See release-engineering. |
CODEOWNERS | At 3+ maintainers | Auto-assigns review. |
.github/dependabot.yml | Yes | See dependency-hygiene. |
GOVERNANCE.md | At stage 5 | Premature for solo projects. |
Templates for each live in assets/ next to this skill. Read them with the Read tool
and adapt — never paste a template with {{PLACEHOLDER}} left in.
Language communities have strong conventions; follow them over any generic advice.
.
├── src/ or lib/ or <pkgname>/ # the actual code, one obvious root
├── tests/ # mirrors src/ structure
├── docs/ # anything longer than the README
├── examples/ # runnable, CI-tested, no pseudo-code
├── scripts/ # dev tooling, not shipped
└── .github/ # workflows, templates, CODEOWNERS
Rules that hold across languages:
examples/ must run. Broken examples are worse than no examples — they signal
the whole project is stale. Wire them into CI.misc/, stuff/, new/, old/, temp/, v2/. These are unmerged decisions.src/auth/token.ts → tests/auth/token.test.ts.Run before the repo goes public. This is the irreversible step — Git history is public forever, and GitHub caches deleted forks and dangling commits.
# Secrets across ALL history, not just HEAD
pip install detect-secrets 2>/dev/null; detect-secrets scan --all-files
gitleaks detect --source . --redact # if available
# Manual sweep of high-signal patterns
git log -p --all | grep -nEi 'api[_-]?key|secret|password|BEGIN [A-Z ]*PRIVATE KEY|xox[baprs]-|ghp_|AKIA[0-9A-Z]{16}'
# Internal references that shouldn't ship
grep -rniE 'internal\.|\.corp|jira\.|confluence|@yourcompany\.com|TODO\(.*@' \
--exclude-dir=.git . | head -40
# Large files that bloat every clone forever
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| awk '$1=="blob" && $3>1000000 {print $3, $4}' | sort -rn | head -20
Non-negotiables:
git filter-repo or BFG is cleanup, not remediation — assume it was scraped.The name is the most-repeated string in the project's life. Test it:
<name> github" should find you<BigCorpProduct>JSThe one-liner matters more than the name. Under 12 words, no adjectives, states the category and the differentiator:
If you cannot write that sentence, the project scope is not settled yet. Fix that before writing any docs.
README.md containing only the project name. Ship even three sentences.[INSERT EMAIL] in a live
repo signals the whole thing is decoration.What SKILL.md sets; muted values are Claude Code's defaults
18 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.npx claudepluginhub the-open-agent/oss-skills --plugin oss-skills