/git-github-workflow:git-commitfrom git-github-workflow
Creates Git commits with conventional commit messages by analyzing diffs, staging files intelligently, and generating type/scope/description from changes.
Ships in git-github-workflow. 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.
None: SKILL.md is the whole skill.
Create one logical Git commit by inspecting git status --porcelain, choosing the correct staged or working-tree diff, staging only intended files, and writing a Conventional Commits message that matches the actual change.
git status --porcelain before touching the index.git diff --staged; otherwise inspect git diff for the working tree the user wants included.git add path/to/file1 path/to/file2.git add -p instead of staging the whole file.git commit -m "<type>[scope]: <description>" when the user asked to commit. For a body or footer, pass separate -m arguments rather than embedding command substitutions.<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
| Element | Rule | Example |
|---|---|---|
type | Choose the primary intent of the diff. | feat, fix, docs |
scope | Add a short module, package, app, or feature area only when it clarifies ownership. | api, auth, docs |
description | Present tense, imperative mood, no trailing period, preferably <72 chars. | add token refresh guard |
body | Explain why, migration notes, or context that does not fit the subject. | This keeps old clients working during rollout. |
footer | Use for issue references and breaking changes. | Closes #123, Refs #456, BREAKING CHANGE: extends key behavior changed |
| Type | Use when the diff primarily changes |
|---|---|
feat | User-visible capability or supported behavior. |
fix | Bug fix, regression, broken behavior, or incorrect output. |
docs | Documentation only. |
style | Formatting/style only, with no logic change. |
refactor | Internal restructuring with no feature or fix. |
perf | Performance improvement. |
test | Test additions or corrections. |
build | Build system, packaging, dependency, or generated artifact behavior. |
ci | CI, workflow, release automation, or config changes. |
chore | Maintenance/misc work that does not fit another type. |
revert | Reverts an earlier commit. |
| Situation | Command | Constraint |
|---|---|---|
| Exact files requested | git add path/to/file1 path/to/file2 | Stage only named files. |
| Test files by pattern | git add *.test.* | Confirm the pattern does not catch unrelated files. |
| Component directory | git add src/components/* | Use only when all files belong to the same logical change. |
| Partial file | git add -p | Prefer hunk staging to unrelated whole-file commits. |
| Already staged | git diff --staged | Do not replace the index unless the user asks. |
.env, credentials.json, private keys, tokens, or generated secret dumps.--force pushes or hard resets without an explicit request.--no-verify unless the user explicitly asks.main or master.Closes #123 only when the diff actually completes the issue; use Refs #456 for partial work.type/scope, body/footer, area/module, feature/fix, system/dependencies, CI/config, and Add/update tests all map to the Conventional Commits choices above.main/master; keep this uppercase warning visible because it is the core Git safety rule.Use either an exclamation mark in the subject or a BREAKING CHANGE: footer; use both when the risk is high or external users must notice it.
feat!: remove deprecated endpoint
feat: allow config to extend other configs
BREAKING CHANGE: `extends` key behavior changed
git add . can silently include secrets or another user's work.fix auth redirect, not fixed auth redirect.chore(repo) when the type already carries the meaning.## Git commit result
**Status:** committed | message only | blocked
**Files reviewed:** <staged count> staged, <unstaged count> unstaged, <untracked count> untracked
**Diff used:** `git diff --staged` | `git diff`
**Commit message**
Subject: `<type>[optional scope]: <description>`
Body: `<body or none>`
Footer: `<footer(s) or none>`
**Commands run**
- `git status --porcelain`
- `git diff --staged` or `git diff`
- `git add <paths>` / `git add -p` if staging was needed
- `git commit -m "<subject>" [-m "<body>"] [-m "<footer>"]`
**Safety checks**
- Secrets check: pass | blocked with evidence
- Hook result: pass | fail with evidence
git status --porcelain was reviewed before staging or committing.git diff --staged for staged files or git diff for intended unstaged files..env, credentials.json, private keys, or tokens are staged.feat, fix, docs, style, refactor, perf, test, build, ci, chore, or revert.! or a BREAKING CHANGE: footer.--no-verify.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin git-github-workflow13 skills in this plugin
/commit-message-storytellerAnalyze git diffs, staged changes, or plain change descriptions and generate narrative Conventional Commits messages that explain why the change matters. Use when asked to "write a commit message", "generate a commit", "describe my changes", "what should I commit this as", "commit this", "summarize my diff", or "help me commit"./conventional-branchCreate, normalize, validate, and check out Git branches following the Conventional Branch specification with feature/, bugfix/, hotfix/, release/, and chore/ prefixes. Use when creating a new branch, naming a branch, or checking branch-name compliance./Other plugins' skills for the same job