gitgud is a pack of git skills for coding agents that commits, branches, reviews, releases and publishes like a careful maintainer.
Installation · Skills · Safety
- Clean commits: splits mixed work into logical Conventional Commits, matches the repo's own message style, keeps required trailers.
- Nothing private slips in: every commit checks for
.envfiles, keys, large binaries and debug leftovers;scrub-private-datascans the full history, commit metadata and photo EXIF/GPS. - Branches without drama: rebase or merge chosen by whether the branch is shared, conflict workflow, squash-merge-aware cleanup, reflog recovery.
- Issues and PRs anyone can read: plain-language summary first, jargon and run IDs collapsed, issue -> branch -> PR with
Closes #N. - Issue to reviewed PR: one request ships an issue on its own branch, then fresh reviewer agents and a fixer loop on the PR until a review reports no findings, nits included, then a merge into
develop;mainchanges only when you say go. PRs that change workflows, CI scripts or agent files get a focused review and are listed in the release PR, so your go covers them. A status label on each issue shows where it stands: in progress, in review, blocked or ready for release. With the bundledreview-gateworkflow andgateset as a required check, GitHub blocks feature PRs without a no-findings review of the latest commit and any PR closing an issue with an open "Done when" box. - CI that guards main: stack-detected workflow with SHA-pinned actions and an optional ruleset requiring green checks.
- Releases from history: next semver version and a Keep a Changelog section generated from commits by a stdlib-only script.
- Ready to open source: a guided checklist from secret scan to license, README and replacing the old history on GitHub.
- Asks before it rewrites: force pushes, history rewrites, deletes and visibility changes always need your explicit yes.
git clone https://github.com/n-stau/gitgud.git
cd gitgud
./install.shThe script symlinks every skill into ~/.claude/skills and ~/.agents/skills. Requires git 2.40+, Python 3.9+ and, for pull requests and releases, the GitHub CLI.
Skills load on their own when a request matches. Just ask:
commit my work
clean up my merged branches
open an issue for this bug
open a PR for this
implement issue #12
set up CI and protect main
cut a release
make this repo ready to go public
| Skill | Purpose |
|---|---|
gitgud-commit |
Logical commits with Conventional Commits messages and a pre-commit safety check |
gitgud-branch |
Naming, staying up to date, conflicts, worktrees, cleanup and recovery |
gitgud-issue |
Plain-language bug and task issues, issue templates, issue -> branch -> PR |
gitgud-pr |
Self-review, plain-language PR body, splitting, review replies, merge and cleanup |
gitgud-ci |
Actions checks pinned by SHA, PR template, optional rules for main |
gitgud-ship-issue |
Local loop: issue -> branch -> PR -> fresh-agent review and fix rounds until one has no findings -> merge into develop (review-gate check gate) |
gitgud-release |
Semver bump, changelog, manifest versions, annotated tag and GitHub release |
gitgud-go-public |
Release-readiness checklist for publishing a private repo |
scrub-private-data |
Find and remove secrets, personal data and metadata in files and full history |
write-readme |
READMEs in the style of big-company open-source repos |
- Read-only by default: scans and dry runs never change the repo.
- One yes per destructive step: force push, history rewrite, branch or repo deletion, tag push, release, visibility change.
- Backups before rewrites, secrets never printed in full, nothing pushed unless you ask.
MIT © n-stau