/george-coding-agent:git-workflow-and-versioningfrom george-coding-agent
Enforces disciplined Git practices: atomic commits, separate concerns, meaningful messages, and safe publishing workflows.
Ships in george-coding-agent. 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.
Git is the safety net. Commits are save points, history is documentation, and every push is a publication. Agents write code fast, so the discipline that keeps changes small, reviewable and reversible matters more, not less.
Standing rules from your user or organization (who may merge, what needs review, when to publish, which repos allow a direct push, which identity to use) win over this skill. It does not decide them; follow them.
feat, fix, refactor, test, docs, chore).
update auth.ts, fix stuff, address review comments.fix: reject expired tokens before the cache lookup.git add -A or git add .. Build output, symlinks, local config and scratch files ride in that way. Read git diff --staged before every commit: no secrets, no generated files the repo does not expect, nothing outside the change.Co-authored-by: trailer copied exactly from their commits, never a guessed email.git reset --keep <save> (it refuses to discard uncommitted changes) or git revert. git reset --hard destroys uncommitted work; only use it on your own work after git status shows nothing you would lose.git reset --soft <base> then recommit in groups.The point of the tool is to not lose anyone's work. Refuse and surface a problem rather than attempt a clever recovery.
origin/<base>), never a stale local copy of it.--force-with-lease=<branch>:<sha> anchored to the commit you last observed on the remote, not one read just before pushing (that check always passes and protects nothing). Never a bare --force.A rule in prose is skipped under pressure; a hook is not. Set these up once per machine or repo:
push --force and -f (also +refspec), reset --hard, clean -f, branch -D, checkout . and restore ., stash drop and stash clear, add -A and add .. Add plain push to protected branches if your rules say a human publishes.pre-commit for lint and a secret scan on the staged diff; pre-push for the redaction scan below and a refusal to push to protected branches.Everything that leaves the machine is published: commit messages, branch and tag names, PR titles and bodies, review comments, release notes, uploaded artifacts.
~ (/Users/<name>, /home/<name>, C:\Users\<name>).pre-push.git config user.email in the repo before the first commit.git tag -a v1.4.0 -m "Release 1.4.0", then push the tag) and derive the version from the tag, so the artifact, tag and changelog cannot disagree.git bisect start; git bisect bad; git bisect good <sha>, then git bisect run <test-cmd> to find the first bad commit automatically. Atomic commits are what make this work.git log -S'<string>' (when a string appeared or vanished) and -G'<regex>', git log --grep, git blame -w, git log -p --follow <file>.debugging-and-error-recovery: the first bad commit is evidence, not the root cause.fix, wip, misc in the history under review.git add -A, a staged build artifact, symlink or .env.Per commit: one logical change; message says why; staged diff read; no secrets or artifacts; right identity. Per push: fetched and rebased on the fresh base; no force on a shared branch; redaction scan clean. Per finish: checks green on the integrated tree; summary written; the finish chosen by the user's rules or the user. Per release: bump matches the change; tagged; changelog entry by impact.
incremental-implementation (one slice per commit or PR), code-review-and-quality (sizing and splitting a change, receiving review), security-and-hardening (secrets), debugging-and-error-recovery (after bisect), quality-constraints (hooks as gates).git-workflow-and-versioning at aeac41d, MIT (see THIRD_PARTY_LICENSE-agent-skills): atomic commits, why-first messages, separate concerns, sizing, save points, change summaries, pre-commit hygiene, bisect, semver, tags, changelog. Its worktree section is deliberately not adopted (clone again instead), and its "do not squash" advice is narrowed to save points versus logical commits.finishing-a-development-branch at 2ce8aa1, MIT (see THIRD_PARTY_LICENSE-superpowers): verify then choose merge, PR, keep or discard; discard only on request with confirmation; a rejected push is not a reason to force.git-guardrails-claude-code and pr at 5beb35b, MIT (see THIRD_PARTY_LICENSE-mattpocock-skills): guardrails as hooks, the PR body (summary view, evidence, merge danger).ce-commit at 6500180, MIT (see THIRD_PARTY_LICENSE-compound-engineering-plugin): outcome-first subjects, named-file staging, co-author credit.ship at 576839c, MIT (see THIRD_PARTY_LICENSE-gstack): merge the base before verifying, bisectable commits, never force-push.branch-sync-and-push-safety and pr-publication-safety at 50ea98d, MIT: refuse over clever recovery, rebase on the fresh remote, a lease anchored to the observed head, redaction at one publication boundary. Ideas only, no text copied.[bl: ...] tags are analysed in BITTER_LESSON.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub georgewangyu/georgecodingagent --plugin george-coding-agent26 skills in this plugin
/api-and-interface-designDesign seams, APIs, config keys and schemas that are deep, hard to misuse, and safe to roll out and back. Use when adding or changing a contract./browser-testingVerify UI work in a real browser with the repo's own tool or the best fit (Playwright, DevTools, computer use) and look at the screen, not just the logs./ci-cd-and-automationAutomate the quality bar: one check command that hooks and required CI both run, fast gates first, protected main, and safe release and deploy steps./code-review-and-qualityReview a code change, or receive a review: pin the intent, read tests first, then spec and quality passes with a fresh read-only reviewer and the cr-review checklist./code-simplificationMake code easier to read without changing behavior: scope to the change, understand before removing, follow repo conventions, subtract before adding./context-engineeringPut the right context in front of an agent at the right time and carry it across a handoff without loss. Use when writing briefs, steering, or when context runs long.Other plugins' skills for the same job