From claude-resources
Local git discipline — commit hygiene, branch naming, rebase vs merge, drafting PR body content, versioning scheme selection. Use when staging a commit, writing a commit message, naming a branch, splitting a large change into smaller commits, drafting a PR description locally (the file content, not the `gh pr create` mechanics), or choosing a versioning scheme (semver vs calvert). Trigger on phrases like "commit this", "write the commit message", "split this up", "draft the PR description", "rebase onto main", or "what version do we bump?". Remote-write actions — push, PR creation, release publishing, registry push — live in the opt-in `ops-skills` plugin (`ops/git-remote`, `ops/pull-requests`, `ops/release`, `ops/registry`).
npx claudepluginhub deandum/claude-resources --plugin go-skillsThis skill uses the workspace's default tool permissions.
Git history is the project's autobiography. Commits are not just undo points — they are the narrative someone will read in six months when they are trying to understand what you did and why.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
Git history is the project's autobiography. Commits are not just undo points — they are the narrative someone will read in six months when they are trying to understand what you did and why.
Scope: this skill covers local git discipline. Remote-write actions — git push, gh pr create, tag push, release publishing, container registry push — live in the opt-in ops-skills plugin:
ops/git-remote — push, force-push policy, tag pushops/pull-requests — PR creation with gh pr create, review response, merge strategyops/release — tagging, changelog generation, GitHub Releasesops/registry — docker push, tag strategy, image signingWhen ops_enabled=false in session context (the default), agents execute only the local discipline from this skill; any remote action is reported as a follow-up.
ops/* skills listed aboveA commit should do one thing. If the imperative summary needs "and" or a semicolon, split it. Small commits:
Refactors and behavior changes do not belong in the same commit. Do the refactor first, prove nothing changed, then make the behavior change.
Format:
<verb>: <summary in imperative, under 72 chars>
<why this change is being made, not what — the diff shows what>
<any tradeoffs, constraints, or future-you notes>
feature/<slug> — new workfix/<slug> — bug fixchore/<slug> — refactor, rename, depsOn a local feature branch, rebase onto the base branch before integrating. This keeps history linear and makes bisect useful. Exceptions:
Force-push policy and the rules around rewriting published history are covered in ops/git-remote §3.
When preparing a PR description locally — before running gh pr create, which belongs to ops/pull-requests — the body should answer:
This is local drafting discipline: you write the body content as text, no network action. The mechanics of creation, template selection, review response, and merge strategy live in ops/pull-requests.
Pick one versioning scheme and stick to it:
Record the choice in an ADR (core/documentation). The mechanics of actually cutting a release — tagging, changelog, publishing — are covered in ops/release.
| Shortcut | Reality |
|---|---|
| "I'll squash everything at the end." | Squashing hides the history you would want for bisect and review. Commit cleanly as you go. |
| "The diff is obvious, no body needed." | The what is obvious; the why almost never is. Write the body. |
| "Quick fix, commit message doesn't matter." | Every commit is read 10× more than it is written. Invest. |
| "I'll mix the refactor and the feature — saves a PR." | You save a PR and lose a decade of reviewability. Split. |
| "I'll pick the versioning scheme once we need to release." | You'll pick it under pressure, badly. Decide now. |
ops_enabled first)