git-workflows

git-workflows is a skill for Claude Code, Codex from Everyone-Needs-A-Copilot/claude-copilot. It costs 86 tokens per session (1,977 once invoked), scanned A, original, MIT.

A Git workflow guide covering branch strategies, commit messages, pull requests, and version-control practices. Git is a system for tracking code changes and collaborating safely.

In plain words
What is it for?
Use it to choose branching approaches, check commit messages, name branches, and prepare changes for merging.
Why use it?
It helps teams keep changes understandable, reduce common collaboration mistakes, and maintain a useful project history.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/everyone-needs-a-copilot/claude-copilot/git-workflows
Any agent
npx skills add Everyone-Needs-A-Copilot/claude-copilot --skill git-workflows
Clone the repo
git clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilot

Made for: Claude Code, Codex.

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 git-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/everyone-needs-a-copilot/claude-copilot/git-workflows.svg)](https://agentmods.dev/skills/everyone-needs-a-copilot/claude-copilot/git-workflows)
Your own site
<a href="https://agentmods.dev/skills/everyone-needs-a-copilot/claude-copilot/git-workflows"><img src="https://agentmods.dev/badge/skills/everyone-needs-a-copilot/claude-copilot/git-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00086 $0.01977
Opus 5 $0.00043 $0.00988
Sonnet 5 $0.00017 $0.00395
Haiku 4.5 $0.00009 $0.00198

Measured today against content hash 74388c9a0391, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/git_check.py, scripts/test_git_check.py), 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.

.claude/skills/devops/git-workflows/SKILL.md · 257 lines

How it starts

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

Git Workflows

Best practices for Git version control, branching strategies, and commit conventions. Run the convention checker on commit message batches before merge; use this prose guidance for strategy and workflow decisions (those are judgment calls the script does not make).

Purpose

  • Establish consistent Git workflows across projects
  • Ensure clean, meaningful commit history
  • Prevent common Git mistakes and conflicts
  • Facilitate effective code collaboration

Commit Message Convention

Use Conventional Commits format:

<type>(<scope>): <description>

[optional body]

[optional footer]

Valid Types

Type When to Use
feat New feature for users
fix Bug fix for users
docs Documentation only
style Formatting, no code change
refactor Code restructuring, no behavior change
perf Performance improvement
test Adding/fixing tests
chore Build, tooling, dependencies
build Build system changes
ci CI configuration changes
revert Reverts a previous commit

Examples

git commit -m "feat(auth): add OAuth2 login support"
git commit -m "fix(api): handle null response from payment service"
git commit -m "feat(api)!: change response format to JSON:API spec"
# Breaking change: add BREAKING CHANGE footer

Why Conventional Commits matter: Enables automated changelogs, semantic versioning, and clear history archaeology. Once committed and merged, a commit message cannot be changed without rewriting history — enforce format before merge, not after.


Branching Strategies

Trunk-Based Development (Recommended)

Best for: Teams with strong CI/CD, frequent releases.

main ────●────●────●────●────●────●────
          \        /
           ●──────●  (short-lived feature branch)

Rules:

  • Feature branches live < 2 days
  • Merge to main frequently
  • Use feature flags for incomplete work
  • main is always deployable

Read the full file on GitHub · 257 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 257 lines · 86 tokens per session scan A 74388c9a0391

Subscribe to this mod's changes

git-workflows is a skill published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (13 stars, last pushed today), licensed MIT. It adds 86 tokens to every session and 1,977 once invoked, about $0.0004 per session on Opus 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-09-04.