# Git Workflow

> Git-workflow guidance — branch hygiene, branch-off triggers, divergence from main, merge-strategy selection, push timing. Per-profile threshold scaling (regulated halves defaults). Use when this capability is needed.

- Skill: `tomevault-io/git-workflow-135` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/git-workflow-135`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/git-workflow-135/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/git-workflow-135

---


# Git-workflow skill

Per architecture §16 W-2. Recommends:
- **branch-hygiene**: detect stale branches with no commits in window.
- **branch-off**: when commit count exceeds threshold, recommend a new
  branch.
- **diverged-from-main**: warn when ahead+behind exceeds threshold.
- **merge-strategy**: squash for single-concern ≤3 commits; merge-commit
  for multi-concern; warn-against-rebase on shared branches.
- **push-timing**: warn when working tree has uncommitted changes.

Per-profile thresholds: `risk_tier: regulated` halves all defaults
(stricter discipline for higher-risk codebases).

---
> Source: [drumfiend21/claude-tdd-pro](https://github.com/drumfiend21/claude-tdd-pro) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

