Skip to content
getgithardPublic

Repository files navigation

GitHard

OpenSSF Best Practices OpenSSF Scorecard

Boot camp for your GitHub repos.

You've got an idea, a GitHub account and no maintainer experience. GitHard is a Claude Code plugin that sets up your org and repos the way you'd want them a year from now, then helps you run them: issues people can actually finish, a safe way to take contributions from strangers, merges that wait for green, releases you can verify, and docs that only say what's true.

It's built from what worked, and what broke, while running a real open-source project from its first commit.

Proof: keyparity, from an empty org

We gave GitHard an empty GitHub org and a one-page plan for a small CLI, and let it do the rest. That became keyparity, which checks that the env vars your code reads are in .env.example and GitHub Secrets.

The org, the moment it was created:

$ bash org-audit.sh keyparity
missing  display name
missing  description
missing  website
missing  public email
missing  verified domain
missing  2FA required for members
missing  sign-off required on web commits
ok       members get read access by default
missing  public .github repo (profile README and default community files)
missing  pinned repos

The same org after GitHard. The two skipped items were the owner's call: keyparity has no domain, and no public email.

$ bash org-audit.sh keyparity --skip "verified domain" --skip "public email"
ok       display name
ok       description
ok       website
skipped  public email
skipped  verified domain
ok       2FA required for members
ok       sign-off required on web commits
ok       members get read access by default
ok       public .github repo
ok       .github has profile/README.md
ok       .github has CONTRIBUTING.md
ok       .github has SECURITY.md
ok       .github has CODE_OF_CONDUCT.md
ok       .github has default issue templates
ok       pinned repos (1)
What Before After
Repo setup audit no repo 22 of 22 checks pass
Releases none v0.1.2: five binaries with checksums and build attestations, plus npm
OpenSSF Best Practices no project passing
Work for newcomers none three scoped good first issues

Every pull request went through CI and a DCO check, and GitHard's merge script merged each one only when its checks were green on the exact commit tested. Along the way GitHard hit eight gaps in itself, and each one is fixed. They're logged in #15.

What's in it

Fifteen skills, each with evals that run with and without the plugin:

  • Setting up: repo-setup, org-setup, agent-toolkit (the Claude Code plugins, MCP servers and language servers a project needs)
  • People: contributors, fork-pr-safety, issues-and-roadmap
  • Shipping: merging, releases, docs-honesty
  • Security: security-baseline, openssf-badge (from passing to gold)
  • Everything else: writing, growth, save-point, and using-githard, which sends each request to the right one

The docs are at docs.githard.dev.

Install

In Claude Code:

/plugin marketplace add getgithard/githard
/plugin install githard@githard

Then ask for what you want in your own words: "set this repo up properly", "can I approve CI on this fork PR?", "cut a release". GitHard picks the skill that fits. If the skills don't show up straight away, start a new session.

The current release is githard--v0.2.0, and the launch post says what's in it. Its source is also published as a tarball with a build attestation, which you can check with gh attestation verify githard--v0.2.0.tar.gz --repo getgithard/githard. You can also rebuild it yourself and get the same bytes. From a clone, git archive --format=tar.gz --prefix=githard--v0.2.0/ githard--v0.2.0 | shasum -a 256 prints the hash in the release's SHA256SUMS.

Contributing

Ideas and bug reports are welcome in Issues and Discussions. See CONTRIBUTING.md before opening a pull request, and GOVERNANCE.md for how decisions get made.

License

MIT

Releases

Packages

Used by

Contributors

Languages