Agent Skill
2/7/2026

git-workflow

Use this skill for all version control tasks, including committing, branching, pushing, and reviewing history.

T
till
11GitHub Stars
1Views
npx skills add Till-Crazy-Tears-Us-Apart/Claude-Code-Engineering-Suite

SKILL.md

Namegit-workflow
DescriptionUse this skill for all version control tasks, including committing, branching, pushing, and reviewing history.

name: git-workflow description: Use this skill for all version control tasks, including committing, branching, pushing, and reviewing history. allowed-tools: Read, Grep, Glob, Bash user-invocable: false

Git Workflow & Safety Protocols

1. Safety & Confirmation

1.1 Dangerous Operations

Explicit user confirmation is REQUIRED for:

  • git commit (unless user pre-authorized)
  • git push
  • git reset --hard
  • git clean -fd
  • git checkout (if current branch has changes)

1.2 Command Standards

  • Atomic Commits: One logical change per commit.
  • No Parallel Git: Git relies on the index lock. Never run multiple git commands in parallel.
  • Rollback Protocol: checkout rollbacks require confirmation.

2. Conventional Commits Specification

Format: <type>(<scope>): <subject>

Supported Input Parameters (Mental Model):

  • Action: enum [commit, push, branch, log, status]
  • Commit Type: enum [feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert]
  • Commit Scope: string (optional, e.g., auth, api, ui)
  • Commit Message: string (max 50 chars)
TypeDescription
featA new feature
fixA bug fix
docsDocumentation only changes
styleChanges that do not affect the meaning of the code (white-space, formatting, etc)
refactorA code change that neither fixes a bug nor adds a feature
perfA code change that improves performance
testAdding missing tests or correcting existing tests
buildChanges that affect the build system or external dependencies
ciChanges to our CI configuration files and scripts
choreOther changes that don't modify src or test files
revertReverts a previous commit

3. Branching Strategy

  • Feature Branches: feat/short-description
  • Bugfix Branches: fix/issue-id-description
  • Chore Branches: chore/description
Skills Info
Original Name:git-workflowAuthor:till