Commit & Branching Conventions
SkillProductivityUse when the user asks to commit, commit and push, or make a git commit. Covers branching, commit workflow, conventional commits, TODO updates, and push/PR rules.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Commit & Branching Conventions skill
What this skill tells your AI
The instructions your AI receives, as published by edochi/mdvs in .claude/skills/commit/SKILL.md and read by ahel’s review.
Branching
Never push directly to main. All work goes through feature branches + PRs.
- One branch per TODO or feature:
feat/description,fix/description,docs/description - Branch off
main:git checkout -b feat/my-feature main - Always ask the user before creating a branch
- Merge via PR (regular merge, not squash)
When to Commit
Never commit unless the user explicitly asks. No autonomous commits. Wait for "commit", "commit and push", or similar.
Before Committing
- If the work corresponds to a spec TODO, update its status to
donebefore committing (use thetodoskill). This lets the user review the TODO update as part of the same diff. - Verify tests pass, clippy is clean, and fmt is applied.
Commit Workflow
Run git add, git commit, and git push as separate commands — never
chained together.
Staging
- Stage specific files by name — never use
git add -Aorgit add . - Don't stage files that contain secrets (
.env, credentials)
Commit Messages
Use Conventional Commits format. A
commit-msg hook (cocogitto) enforces this.
Format: <type>[optional scope]: <description>
Types: feat, fix, refactor, docs, test, chore, ci, perf, style
git commit -m "$(cat <<'EOF'
feat: add enum constraints on string fields
EOF
)"
Push
Only push when the user explicitly asks. "Commit" does not imply "push". Wait for "push", "commit and push", or similar.
Pull Requests
After pushing a feature branch, create a PR to main when the user asks. Use
gh pr create with a clear title and summary. CI must pass before merging. Use
regular merge (not squash).
Safety Rules
- Never push directly to
main - Never amend, force-push, or skip hooks — unless the user explicitly asks
- Never rebase interactively (
git rebase -i) - If a pre-commit hook fails, fix the issue and create a new commit (don't amend)
Signals
- GitHub stars
- 27
- Forks
- 2
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
commit-edochi- Source
- github.com/edochi/mdvs