git-workflow — git workflow patterns git-workflow, dotfiles, community, git workflow patterns, ide skills, commit message format, rebase strategy, pre-commit hooks, git history management, git repository optimization, Claude Code

v1.0.0

About this Skill

Perfect for Collaborative Development Agents needing standardized Git history management and commit message formatting. git-workflow is a set of patterns and strategies for managing Git repositories, including commit message formatting and rebase techniques.

Features

Standardized commit message format using type, scope, subject, body, and footer
Rebase strategy for managing Git history
Pre-commit hooks for automated code checks
Support for feat, fix, docs, style, refactor, perf, test, and chore commit types
Automated code formatting and restructuring
Performance improvement tracking via perf commit type

# Core Topics

cooldaemon cooldaemon
[13]
[8]
Updated: 2/24/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 10/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
10/11
Quality Score
57
Canonical Locale
en
Detected Body Locale
en

Perfect for Collaborative Development Agents needing standardized Git history management and commit message formatting. git-workflow is a set of patterns and strategies for managing Git repositories, including commit message formatting and rebase techniques.

Core Value

Empowers agents to manage Git repositories using standardized commit messages and rebase strategies, providing features like feat, fix, docs, style, refactor, perf, test, and chore commit types, and supporting collaborative project development with clear and concise commit history.

Ideal Agent Persona

Perfect for Collaborative Development Agents needing standardized Git history management and commit message formatting.

Capabilities Granted for git-workflow

Standardizing commit messages with clear type and scope definitions
Automating Git rebase strategies for streamlined collaborative development
Generating commit history reports for project transparency and accountability

! Prerequisites & Limits

  • Requires Git repository access
  • Limited to collaborative development environments

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is git-workflow?

Perfect for Collaborative Development Agents needing standardized Git history management and commit message formatting. git-workflow is a set of patterns and strategies for managing Git repositories, including commit message formatting and rebase techniques.

How do I install git-workflow?

Run the command: npx killer-skills add cooldaemon/dotfiles/git-workflow. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for git-workflow?

Key use cases include: Standardizing commit messages with clear type and scope definitions, Automating Git rebase strategies for streamlined collaborative development, Generating commit history reports for project transparency and accountability.

Which IDEs are compatible with git-workflow?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for git-workflow?

Requires Git repository access. Limited to collaborative development environments.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add cooldaemon/dotfiles/git-workflow. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use git-workflow immediately in the current project.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

git-workflow

Install git-workflow, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Git Workflow Patterns

Commit Message Format

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

<body>

<footer>

Types

TypeDescription
featNew feature implementation
fixBug fixes
docsDocumentation changes only
styleCode formatting, missing semicolons, etc.
refactorCode restructuring without behavior changes
perfPerformance improvements
testTest additions or corrections
choreBuild process, auxiliary tools, dependencies

Rules

  • Subject line: Max 50 characters, imperative mood, no period
  • Body: Wrap at 72 characters, explain WHY not WHAT
  • Write in English
  • Be specific and descriptive

Examples

feat(auth): add OAuth2 integration with Google

Implemented Google OAuth2 authentication flow to allow users
to sign in with their Google accounts. This includes:
- OAuth2 configuration and middleware setup
- User profile synchronization
- Session management with JWT tokens

Closes #123
fix(api): resolve race condition in payment processing

The payment webhook handler was not properly locking the
transaction record, causing duplicate charges when webhooks
arrived simultaneously. Added database-level locking to
ensure atomic transaction updates.

Pre-commit Hook Handling

CRITICAL: NEVER use --no-verify flag

Language-specific Checks

JavaScript/TypeScript:

  • Linting: npm run lint, eslint
  • Type checking: npm run typecheck, tsc
  • Formatting: prettier --check, npm run format
  • Tests: npm test, jest, vitest

Python:

  • Linting: ruff check, flake8, pylint
  • Type checking: mypy, pyright
  • Formatting: black --check, ruff format
  • Tests: pytest, python -m unittest

Ruby:

  • Linting: rubocop
  • Tests: rspec, rake test

Go:

  • Formatting: go fmt, gofmt
  • Linting: golangci-lint run
  • Tests: go test

General:

  • See makefile-first skill for command execution policy
  • Check package.json scripts section
  • Review project documentation

Fixing Pre-commit Failures

  1. Analyze the error message
  2. Fix automatically if possible (formatting, linting)
  3. For type errors: Modify code to fix
  4. For test failures: Debug and fix
  5. Stage fixed files and retry commit

Rebase Strategy

When to Rebase

Use git pull --rebase to maintain linear history:

  • Before pushing local commits
  • When local branch is behind remote

How Rebase Works

  1. Fetches remote changes
  2. Temporarily removes your local commits
  3. Applies remote commits to your branch
  4. Re-applies your local commits on top
  5. Creates linear history without merge commits

Conflict Resolution

When conflicts occur:

  1. git status to identify conflicted files
  2. Resolve each conflict (ours/theirs/manual)
  3. Remove conflict markers (<<<<<<<, =======, >>>>>>>)
  4. git add resolved files
  5. git rebase --continue
  6. Or git rebase --abort to give up

Safety Checks

Before git operations:

  • Uncommitted changes: Stash or commit before proceeding
  • Remote tracking: Ensure branch tracks a remote
  • Network connectivity: Verify connection to remote
  • Branch protection: Check if branch has push restrictions

Error Handling Patterns

No remote tracking:

bash
1git branch --set-upstream-to=origin/branch-name

Uncommitted changes:

bash
1# Option 1: Stash changes 2git stash push -m "Temporary stash for rebase" 3# ... perform rebase ... 4git stash pop 5 6# Option 2: Commit changes first

Network issues:

  • Retry with clear error messages
  • Check remote URL with git remote -v
  • Verify credentials if authentication fails

Pull Request Workflow

  1. Analyze full commit history (not just latest commit)
  2. Use git diff [base-branch]...HEAD to see all changes
  3. Draft comprehensive PR summary
  4. Include test plan with TODOs
  5. Push with -u flag if new branch

Git Fixup Pattern

During TDD, each User Story produces a clean commit history through fixup commits:

  1. After GREEN phase: Create a semantic commit

    bash
    1git add -A && git commit -m "feat(scope): description"
  2. After REFACTOR phase: Create a fixup commit targeting the GREEN commit

    bash
    1git add -A && git commit --fixup HEAD
  3. After review fixes: Create a fixup commit targeting the relevant US commit

    bash
    1git add -A && git commit --fixup <target-sha>
  4. Before push: Autosquash all fixup commits

    bash
    1GIT_SEQUENCE_EDITOR=true git rebase --autosquash origin/<base-branch>

The result is one clean commit per US in the final history.

Interleaved Commits

Git fixup! commits match their target by commit message, not by position in the log. This means interleaved normal and fixup commits from multiple USs are correctly handled by autosquash.

Before autosquash:

feat(auth): add login flow              <- US-1 GREEN
fixup! feat(auth): add login flow       <- US-1 REFACTOR
fixup! feat(auth): add login flow       <- US-1 review fix
feat(auth): add password reset          <- US-2 GREEN
fixup! feat(auth): add password reset   <- US-2 REFACTOR

After git rebase --autosquash:

feat(auth): add login flow              <- US-1 (REFACTOR + fix absorbed)
feat(auth): add password reset          <- US-2 (REFACTOR absorbed)

Each fixup is absorbed into the commit whose message it matches, regardless of intervening commits.

Related Skills

Looking for an alternative to git-workflow or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer