managing-git-workflows

managing-git-workflows is a skill for Claude Code from ancoleman/ai-design-components. It costs 60 tokens per session (2,354 once invoked), scanned A, original, MIT.

A guide to organizing Git, the version-control system used to track code changes, for teams. It covers branches, commit messages, hooks, code reviews, releases, and monorepos, which keep several projects in one repository.

In plain words
What is it for?
Use it to choose a branching model, standardize commit messages, run checks before commits, manage several projects in one repository, and organize automated versioning or releases.
Why use it?
It helps teams agree on how changes are made, reviewed, tested, merged, and released.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the developer-productivity-skills plugin — 7 skills shipped together

Good fit Use it to choose a branching model, standardize commit messages, run checks before commits, manage several projects in one repository, and organize automated versioning or releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancoleman/ai-design-components/managing-git-workflows
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ancoleman/ai-design-components --skill managing-git-workflows
Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components

Made for: Claude Code.

Or install developer-productivity-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for managing-git-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-git-workflows/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/managing-git-workflows)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/managing-git-workflows"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-git-workflows/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for managing-git-workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/managing-git-workflows"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/managing-git-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.02354
Opus 5.5 $0.00024 $0.00942
Sonnet 5.5 $0.00012 $0.00471
Haiku 4.5 $0.00006 $0.00235

Measured 1mo ago against content hash 888a8588a4cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

managing-git-workflows scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (examples/gitflow-example.sh, examples/github-flow-example.sh, scripts/check-branch-name.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/managing-git-workflows/SKILL.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Workflows

Implement structured Git workflows for team collaboration, code quality, and automated releases. This skill covers branching strategies, conventional commit formats, Git hooks, and monorepo management patterns.

When to Use This Skill

Use this skill when:

  • Choosing a branching strategy for a new project or team
  • Implementing consistent commit message formats
  • Setting up Git hooks for linting, testing, or validation
  • Managing monorepos with multiple projects
  • Establishing code review workflows
  • Automating versioning and releases

Quick Decision: Which Branching Strategy?

Trunk-Based Development

Use when the team has strong CI/CD automation, comprehensive test coverage (80%+), and deploys frequently (daily or more). Short-lived branches merge within 1 day. Requires feature flags for incomplete features.

Best for: High-velocity teams with mature DevOps practices (Google, Facebook, Netflix)

GitHub Flow

Use for web applications with continuous deployment. Main branch always represents production. Simple PR-based workflow for small to medium teams (2-20 developers).

Best for: Startups, SaaS products, open-source projects

GitFlow

Use when supporting multiple production versions simultaneously, requiring formal QA cycles, or following scheduled releases (monthly, quarterly). More complex but structured.

Best for: Enterprise software, mobile apps with App Store releases, on-premise products

For detailed branching patterns with examples, see references/branching-strategies.md.

Conventional Commits

Structure commit messages for automated versioning and changelog generation:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Common Types:

  • feat - New feature (MINOR version bump: 0.1.0)
  • fix - Bug fix (PATCH version bump: 0.0.1)
  • docs - Documentation only
  • refactor - Code restructuring without feature change
  • test - Adding or updating tests
  • chore - Maintenance tasks

Read the full file on GitHub · 344 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 344 lines · 60 tokens per session scan A 888a8588a4cd

Subscribe to this mod's changes

managing-git-workflows is a skill published in the GitHub repository ancoleman/ai-design-components (525 stars, last pushed 10mo ago), licensed MIT. It adds 60 tokens to every session and 2,354 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

github-standards

GitHub repository standards and workflow rules. Use when creating repos, opening PRs, pushing code, setting up CI, creating branches, writing READMEs, or reviewing repo hygiene. Covers commit format (complements git-commit skill), PR message template, sensitive data pre-commit checks, repo naming, README requirements…

0xMassi/claude-skills · 95 tokens

git-conventions

Apply when committing, branching, or opening a pull request. Conventional commit format, branch naming, PR scope.

sordi-ai/skill-everything · 26 tokens

changelog

Auto-generate a changelog from git commits and sprint data. Internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 22 tokens

git-workflow

Guided git workflows: prepare PRs, clean up branches, resolve merge conflicts, handle monorepo tags, squash-and-merge patterns. Use when asked to prepare a PR, clean branches, resolve conflicts, or tag a release.

jezweb/claude-skills · 52 tokens

publish

Publish oh-my-opencode to npm by triggering the GitHub Actions publish workflow and verifying its artifacts. Ship-only: never runs pre-publish-review or re-reviews merged code unless the user explicitly asks. Argument: . Triggers: publish, release, deploy, npm publish.

code-yeongyu/oh-my-openagent · 68 tokens

close-task-commit-push-pr

Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.

devoxx/DevoxxGenieIDEAPlugin · 64 tokens