/gabbe:git-workflowfrom GABBE
Enforces Conventional Commits, quality gates, and structured PR creation. Activates when the user asks to commit, push, or open a pull request.
Ships in GABBE. 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 well-structured commits following Conventional Commits spec, pass all quality gates before pushing, and create a descriptive PR for human review.
Verify quality gates (all must pass before committing)
[test command] # All tests pass
[typecheck command] # No type errors
[lint command] # No lint errors
[security_scan] # No new critical/high CVEs (on dependency changes)
If any fail: fix them before continuing. Do NOT commit with failing gates.
Stage changes
git status # Review what's changed
git diff # Review the actual changes
git add [specific files] # Never: git add -A (risk of including .env or build artifacts)
Write a Conventional Commit message
Format: <type>(<scope>): <subject>
| Type | When to use |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, no logic change |
refactor | Code restructure, no behavior change |
test | Adding or fixing tests |
chore | Build process, tooling, deps |
perf | Performance improvement |
sec | Security fix |
deps | Dependency updates |
sec and deps are kit types, not part of the Conventional Commits spec; if the project's commit linter rejects them, use fix(security) or chore(deps).
Good examples:
feat(auth): add OAuth2 Google login with refresh tokens
fix(api): resolve N+1 query in users list endpoint
sec(deps): update lodash 4.17.20 -> 4.17.21 (CVE-2021-23337)
test(domain): add unit tests for Order aggregate invariants
refactor(application): extract CreateOrderUseCase from OrderController
Bad examples (avoid):
fix stuff # No scope, no description
WIP # Work in progress should not be committed
update code # No context
temp # Never commit temporary code
Create the commit (steps 4 to 6 run only when the human asked for a commit, push or pull request in this request; otherwise show the exact commands and stop)
git commit -m "feat(auth): add email verification flow
- Add email_verified_at column to users table
- Send verification email on registration
- Add /auth/verify endpoint
- Block login for unverified accounts
Closes #42"
Create a feature branch (if working on main without a branch)
git checkout -b feat/[issue-number]-[brief-description]
# Example: git checkout -b feat/42-email-verification
Push and create PR
git push origin [branch-name]
# Create PR with gh CLI (preferred):
gh pr create \
--title "feat(auth): add email verification flow" \
--body "$(cat <<'EOF'
## Summary
- Add email verification requirement for new user accounts
- Users must verify email before they can log in
## Changes
- Database: adds `email_verified_at` column to users
- API: adds `POST /auth/verify` endpoint
- Auth: blocks unverified accounts from login
## Test Plan
- [ ] Run unit tests: `[test command]`
- [ ] Test registration flow end-to-end
- [ ] Test that unverified users cannot log in
- [ ] Verify verification email is sent
## Breaking Changes
None — existing verified users are not affected.
## Security Notes
Verification tokens expire after 24 hours.
EOF
)"
Post-PR checklist
feat/[issue]-[description] # New features
fix/[issue]-[description] # Bug fixes
refactor/[description] # Refactoring
chore/[description] # Tooling, deps
sec/[description] # Security fixes
docs/[description] # Documentation
Commit created + PR URL. Report: "Committed: [message]. PR: [URL]. All [N] quality gates passed."
--no-verify, -n); if a hook fails, fix the cause.git status for .env*, key files and build output before the commit.BREAKING CHANGE: footer; ask the human when unsure.What SKILL.md sets; muted values are Claude Code's defaults
49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning./assurance-ladderChoose how strongly a component must be verified, from plain tests (level 0) to a machine-checked proof of a small core (level 3), record the choice in an ASSURANCE_PLAN, and know which evidence each level leaves. Use at S01/S02 when planning verification, when a requirement mentions concurrency, money, authorisation or safety, or when asked how sure we are that code is correct. Use when: assurance level, how strongly to verify, formal verification, choose verification level, assurance plan, prove correctness, model checking, high-risk component./audit-trailAppends one structured row per decision, phase change, approval or failure to agents/memory/AUDIT_LOG.md. Use when a decision, human approval, gate result or task outcome must be recorded, or when someone asks why something was done./characterization-testsUse before changing code that has no tests or weak tests. Pins what the code does today with golden-master and characterisation tests, handles non-determinism, and records a coverage baseline, so later changes can be checked against it. Use when: characterization test, characterisation test, golden master, approval test, pin behaviour, no tests, legacy tests, snapshot current behaviour, baseline coverage.npx claudepluginhub andreibesleaga/gabbe --plugin gabbeOther plugins' skills for the same job