open-source-repo-prep

Installation
SKILL.md

open-source-repo-prep

Empirical, from taking a real solo-maintainer repo public end to end.

1. The baseline reality check, before adding anything

On a solo repo with no other collaborators, GitHub's default permissions already prevent "random people merging PRs" — write access is required to merge, and only the owner has it. Confirm this first (gh api repos/<owner>/<repo>/collaborators --jq '.[].login') so you know what you're actually adding protection for: not preventing unauthorized merges (already true), but making the intent explicit and future-proofing for when a second collaborator is added.

2. The files

  • LICENSE — MIT is the default for a solo dev's public tooling unless there's a reason otherwise. Match the exact text your other public repos already use for consistency.
  • CODE_OF_CONDUCT.md — Contributor Covenant v1.4 is a standard, freely-reusable template (not another project's IP) — adapt only the contact/enforcement line to point at the actual maintainer.
  • CONTRIBUTING.md — keep it to what's true for this project: local setup commands, PR expectations (one focused change, tests updated, run lint/typecheck locally before opening), and who merges. Don't copy a template project's CI/release/signing details (e.g. a Go project's GoReleaser/keychain signing steps) into a project that doesn't have them.
  • .github/CODEOWNERS — * @<owner> requests review from the owner on every PR. On its own this is a review request, not a merge gate — see §3.
  • .github/workflows/ci.yml — the minimum useful CI is install deps, typecheck, test. Don't wire release/deploy automation the project doesn't have yet.

2a. README for public consumption

Beyond the standard sections (features, install, quick start, license), for a project explicitly building on / inspired by prior art: credit it plainly, and don't overstate independence. If you found a very similar existing tool mid-build (see launch-video-generation's "prior art" habit), name it and be honest about when you learned of it — readers can tell the difference between genuine credit and a legal-CYA line, and it costs nothing to be direct.

Installs
2
GitHub Stars
1
First Seen
Jul 29, 2026