Help us improve
Share bugs, ideas, or general feedback.
From all-skills
Guides Git operations including commits, branches, PRs, rebasing, and conflict resolution with conventional commit format and squash merging.
npx claudepluginhub vinnie357/claude-skills --plugin sbxHow this skill is triggered — by the user, by Claude, or both
Slash command
/all-skills:gitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Activate when creating commits, managing branches, creating pull requests, resolving conflicts, or following Git workflows.
Guides Git operations with Conventional Commits, PR formats, workflows including local CI and squash merges. Use for commits, branches, pull requests, and merge conflicts.
Guides Git workflows with branching strategies (GitHub Flow, Git Flow), conventional commit messages, branch naming, PR templates, and operations like rebase. Use for Git ops, commits, branches, team workflows.
Manages Git workflows including branching, commit conventions, pull requests, and conflict resolution. Use with Git operations or version control questions.
Share bugs, ideas, or general feedback.
Activate when creating commits, managing branches, creating pull requests, resolving conflicts, or following Git workflows.
Follow the Conventional Commits specification:
type(scope): description
optional body
optional footer
Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
Subject line rules:
Body (optional): Wrap at 72 characters. Focus on the what and how — never describe the changes themselves, as the git diff handles that.
Footer (optional): Reference issues (Closes #123), note breaking changes (BREAKING CHANGE: ...).
NEVER include attribution — no Co-Authored-By, Signed-off-by, or similar footers. This rule has no exceptions.
Examples:
# Single-line (preferred for most commits)
feat(auth): add JWT authentication
fix(api): handle null values in user response
docs(readme): add installation instructions
chore(deps): bump plugin versions
# With body and footer
feat(api): add user search endpoint
Implement full-text search across user names and emails using
PostgreSQL's full-text search capabilities.
BREAKING CHANGE: API now requires PostgreSQL 12+
Closes #789
Title matches commit format. Body is a bullet list of changes only.
gh pr create --title "feat(auth): add JWT authentication" --body "- Add JWT generation and validation
- Implement refresh token rotation
- Add authentication middleware"
Rules:
mise run ci — fix until 0 failures/core:security)git push -u origin <branch>gh pr create with minimal format (title + bullets)gh pr checks --watch (wait for CI to complete)bees close <task-id>git add .bees/ && git commit -m "chore(bees): close <task-id>"git pushgit checkout main && git pullgit branch -d <branch>bees ready for next taskAlways squash merge PRs:
gh pr merge <number> --squash
Never use regular merge or rebase merge for PRs. Squash merge keeps main history clean with one commit per PR.
<type>/<description>
<type>/<issue-number>-<description>
Examples: feature/user-authentication, fix/456-null-pointer-error, chore/update-dependencies
Use SSH-form remote URLs (git@github.com:<owner>/<repo>.git), not HTTPS, for any worker that performs git push, git fetch, or other operations. SSH key-based auth bypasses OAuth scope checks that HTTPS push enforces, so it works reliably across container hosts and CI runners that do not carry GitHub-aware credential helpers.
# Convert an https remote to ssh form
git remote set-url origin git@github.com:<owner>/<repo>.git
Do not use git worktree add to create isolated workspaces for parallel agents. Worktrees share the parent repository's object database and branch lock; concurrent operations across worktrees corrupt the index and break checkouts.
Use one of these instead:
git clone --depth 50 --reference /<canonical-path>/<repo> --dissociate /tmp/agent-<id>/<repo> — separate object DB, fast.cp -R: of the canonical clone into a temp dir — slower but no shared state at all.Anonymous curl against https://github.com/<owner>/<repo>/releases/... for a PRIVATE repository returns HTTP 404, not 401. Always authenticate (gh auth login or Authorization: token <gh-token> header) before fetching release assets from a private repo. Anonymous-first probes silently report "not found" when the real problem is "not authenticated".
Prefer the layered auth chain over a single static GITHUB_TOKEN env var:
gh keychain (primary on operator boxes — gh auth login).A single GITHUB_TOKEN env var blanket-deployed across hosts loses scope granularity and rotation independence. Use gh auth refresh -h github.com -s workflow to add the workflow scope when CI scripts need it.
Default to git-backed designs (local, private, or GitHub) for any system that needs an audit trail, replicability, or merge semantics. Git provides commit-level history, signature verification, hooks, and a uniform protocol across local files, private servers, and public hosts. Build atop git before introducing a new storage layer.
gh pr create --title "type(scope): description" --body "- change 1"
gh pr create --draft # Draft PR
gh pr list # List PRs
gh pr view 123 # View PR
gh pr checkout 123 # Checkout PR locally
gh pr merge 123 --squash # Squash merge PR
Co-Authored-By, Signed-off-by, or similar to commits. No "Generated with Claude Code" or similar in PRsgh pr merge --squash/core:gcms skillFor detailed command references and advanced topics, see:
origin is a file-based local clone: add github remote, push there, verify with gh apigit pull not git fetch. Verify via git rev-parse HEAD, not git rev-parse origin/<branch>