Skip to content
n-stauPublic

About

Git skills for coding agents: commits, branches, PRs, releases and going public, like a careful maintainer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitgud icon: a pixel git branch with a crown

gitgud

gitgud is a pack of git skills for coding agents that commits, branches, reviews, releases and publishes like a careful maintainer.

Skills Claude Code Codex

Installation · Skills · Safety

Highlights

  • 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 .env files, keys, large binaries and debug leftovers; scrub-private-data scans 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; main changes 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 bundled review-gate workflow and gate set 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.

Installation

git clone https://github.com/n-stau/gitgud.git
cd gitgud
./install.sh

The 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.

Quick start

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

Skills

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

Safety

  • 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.

License

MIT © n-stau

About

Git skills for coding agents: commits, branches, PRs, releases and going public, like a careful maintainer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages