# Git workflow

> Git workflow is an open-source agent skill for developer tools. Guides an agent through atomic commits, branch naming and git history lookups. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aws-solutions/konductor/tree/main/skills/git-workflow
- **Repository:** https://github.com/aws-solutions/konductor
- **GitHub stars:** 12
- **License:** Apache-2.0
- **Skill name:** git-workflow
- **Collection:** https://github.com/aws-solutions/konductor
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill gives an agent a set of git conventions for day-to-day version control work. It covers splitting changes into single-purpose commits, writing conventional commit messages with a type and scope, and keeping subject lines imperative and short. It also sets expectations that each commit should compile and pass tests.

For branches, it describes a type-prefixed naming pattern, short-lived feature branches, and merging the default branch into work before opening a pull request instead of rebasing, so pushed commits keep their hashes. A table of history commands points the agent to log, blame, bisect and pickaxe searches for tracing when a change landed. A quality gate lists problems to flag, such as committing secrets or mixing unrelated changes.

The skill is plain markdown instructions with no scripts or extra files. It expects a git repository the agent can run commands in, and it defers to project-specific commit rules when those exist.

## When your agent uses it

> Git workflow patterns for atomic commits, branch management, and history operations. Use when writing a commit message, splitting work into commits, naming a branch, or finding which commit introduced a change (blame, bisect, log -S).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aws-solutions/konductor/tree/HEAD/skills/git-workflow)
- [License: Apache-2.0](https://github.com/aws-solutions/konductor/tree/HEAD/skills/git-workflow)

## Features

- **Atomic commit splitting:** Guidance on keeping each commit to one logical change, such as separating fixes, features, refactors and formatting.
- **Conventional commit messages:** A type and scope format with a table of commit types and example messages.
- **Branch naming and lifetime:** A type-prefixed naming pattern and advice to keep branches short-lived and merged within days.
- **Merge-based PR preparation:** Instructions to merge the default branch into a feature branch before a pull request instead of rebasing.
- **History investigation commands:** Reference table for git log, blame, bisect and log -S to trace when code changed.
- **Commit quality checklist:** A review list of critical and important issues such as secrets in commits and stale branches.

## Good for

- Write a conventional commit message for my staged changes
- Split this large working tree change into several atomic commits
- Suggest a branch name for a new bug fix
- Find which commit added a particular string in the codebase
- Find the commit that introduced a regression using bisect
- Check whether my feature branch is ready for a pull request

## Install

### Claude Code

This skill ships in the `konductor` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor
```

Or copy only this skill to `~/.claude/skills/git-workflow`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/git-workflow &&
cp -R "$tmp/skills/git-workflow" ~/.claude/skills/git-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/git-workflow` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/git-workflow` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/git-workflow &&
cp -R "$tmp/skills/git-workflow" ~/.agents/skills/git-workflow &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/git-workflow` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/git-workflow` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/git-workflow &&
cp -R "$tmp/skills/git-workflow" ~/.cursor/skills/git-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/git-workflow` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/git-workflow
```

Or copy the folder to `~/.gemini/skills/git-workflow` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/git-workflow`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/git-workflow &&
cp -R "$tmp/skills/git-workflow" ~/.copilot/skills/git-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/git-workflow` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aws-solutions/konductor.git
```

Then copy `konductor/skills/git-workflow` into your agent's skills folder as `git-workflow`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Git workflow change in my repository?

It provides instructions only. It does not run scripts or modify files, and the agent applies the git patterns when a commit, branch or history task comes up.

### When does the skill trigger?

Its description says to use it when writing a commit message, splitting work into commits, naming a branch, or finding which commit introduced a change.

### Does Git workflow need any scripts or extra tools?

No scripts or reference files are included. It relies on standard git commands.

### How do I install Git workflow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/git-workflow to use it in all your projects, or to .claude/skills/git-workflow in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

### Does Git workflow run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Git workflow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Git workflow?

The closest alternatives to Git workflow are Git workflow and versioning, Git workflow, GitHub workflow, Git and Code commit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Git workflow and versioning](https://ai-powered.com/skills/git-workflow-and-versioning): Git workflow and versioning is an open-source agent skill for developer tools.
- [Git workflow](https://ai-powered.com/skills/git-workflow-nabwinsaud): Git workflow is an open-source agent skill for developer tools.
- [GitHub workflow](https://ai-powered.com/skills/github-workflow): GitHub workflow is an open-source agent skill for developer tools.
- [Git](https://ai-powered.com/skills/git-jasgujral): Git is an open-source agent skill for developer tools.
- [Code commit](https://ai-powered.com/skills/code-commit): Code commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-ivy00johns): Git commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit): Git commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-eduardo-sl): Git commit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/git-workflow-aws-solutions
