Skip to main content

git-workflow

Git conventions: conventional commits, branch naming, PR hygiene, release tagging.

Source facts

Repository
irahardianto/awesome-gcli-test
Last source activity
April 21, 2026 at 22:43
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
git-workflow
description
Git conventions: conventional commits, branch naming, PR hygiene, release tagging.
user-invocable
false
## Git Workflow ### Commits — Conventional Format ``` <type>(<scope>): <description> [optional body] [optional footer] ``` | Type | Purpose | |---|---| | feat | New feature | | fix | Bug fix | | docs | Documentation | | style | Formatting | | refactor | No feature/fix change | | test | Adding/updating tests | | chore | Maintenance, deps | | perf | Performance | | ci | CI/CD config | Rules: imperative mood ("add" not "added"), scope = feature area, <72 chars, body explains WHY. ### Branch Naming Format: `<type>/<ticket-or-desc>` (kebab-case) ``` feat/task-crud-api fix/auth-token-expiry refactor/storage-layer chore/update-deps ``` ### Commit Hygiene - One logical change per commit - Never commit broken tests - No debug code (console.log, TODO hacks) - No secrets (use .gitignore + env vars) ### PR Size - Ideal: <400 lines. Acceptable: 400-800. Too large: >800 (split). ### Merge Strategy - Feature → main: squash merge - Release: merge commit - Hotfix: cherry-pick ### Checklist - [ ] Branch named with type prefix - [ ] Conventional commit format - [ ] No debug code or secrets - [ ] Tests pass before commit - [ ] PR <400 lines (or justified) - [ ] Messages explain WHY ### Related - Code Completion Mandate @.gemini/rules/code-completion-mandate.md - Testing Strategy @.gemini/rules/testing-strategy.md - Security Mandate @.gemini/rules/security-mandate.md
View on GitHub