git-workflow

git-workflow is a skill for Claude Code from muyen/vibe-to-prod. It costs 23 tokens per session (701 once invoked), scanned A, original, MIT.

A Git workflow for creating branches, writing consistent commit messages, and preparing pull requests. Git is the system used to track code changes and collaborate safely.

In plain words
What is it for?
Use it for feature and bug-fix branches, staged commits, pushing changes, pull requests, rebasing, and merge-conflict decisions.
Why use it?
It removes guesswork about branch names, commit formats, and the steps for starting, saving, and sharing work.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the vibe-to-prod-skills plugin — 8 skills shipped together

Good fit Use it for feature and bug-fix branches, staged commits, pushing changes, pull requests, rebasing, and merge-conflict decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muyen/vibe-to-prod/git-workflow
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 muyen/vibe-to-prod --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/muyen/vibe-to-prod

Made for: Claude Code.

Or install vibe-to-prod-skills, the plugin that ships this one along with the rest of its 8 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 git-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/muyen/vibe-to-prod/git-workflow/github.svg)](https://agentmods.dev/skills/muyen/vibe-to-prod/git-workflow)
Your own site
<a href="https://agentmods.dev/skills/muyen/vibe-to-prod/git-workflow"><img src="https://agentmods.dev/badge/skills/muyen/vibe-to-prod/git-workflow/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 git-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/muyen/vibe-to-prod/git-workflow"><img src="https://agentmods.dev/badge/skills/muyen/vibe-to-prod/git-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 701 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.00023 $0.00701
Opus 5.5 $0.00009 $0.00280
Sonnet 5.5 $0.00005 $0.00140
Haiku 4.5 $0.00002 $0.00070

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

Security

Grade A, and why

git-workflow 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.

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/git-workflow/SKILL.md · 147 lines

How it starts

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

Git Workflow Skill

Manage git branches, commits, and pull requests following project conventions.

When to Activate

This skill should activate when:

  • Starting work on a new feature/fix
  • Creating a new feature branch
  • Preparing to create a pull request
  • Deciding whether to merge or rebase
  • Resolving merge conflicts

Branch Naming Convention

<type>/<short-description>

Examples:
- feature/add-user-profile
- fix/login-redirect-bug
- chore/update-dependencies

Commit Message Format

type: description

Types:
- feat:     New feature
- fix:      Bug fix
- docs:     Documentation
- style:    Formatting (no code change)
- refactor: Code restructuring
- test:     Adding tests
- chore:    Maintenance

Examples:
- feat: add user profile endpoint
- fix: resolve login redirect issue
- chore: update dependencies

Workflow Steps

1. Start New Work

# Ensure main is up to date
git checkout main
git pull origin main

# Create feature branch
git checkout -b feature/description

2. During Development

# Stage changes
git add -p  # Interactive staging (review each change)

# Commit with conventional format
git commit -m "type: description"

# Push regularly
git push -u origin branch-name

3. Before PR

# Ensure all tests pass
make test  # or appropriate test command

# Rebase on latest main (if needed)
git fetch origin main
git rebase origin/main

# Force push after rebase
git push --force-with-lease

4. Create PR

# Using GitHub CLI
gh pr create --title "type: description" \
  --body "## Summary
- What this PR does

## Test Plan
- How to test"

Merge vs Rebase Decision

Situation Action
Feature branch behind main Rebase onto main
Shared branch (multiple devs) Merge, don't rebase
Before PR Rebase + squash if messy
After PR approved Squash merge via GitHub

Conflict Resolution

# During rebase conflict
git status  # See conflicted files
# Edit files to resolve conflicts
git add <resolved-files>
git rebase --continue

# If too messy, abort and merge instead
git rebase --abort
git merge origin/main

Read the full file on GitHub · 147 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 · 147 lines · 23 tokens per session scan A 57dcafb8e9a0

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository muyen/vibe-to-prod (36 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 701 once invoked, about $0.0001 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-10-04.

Related

git-workflow compared with skills from other repositories

git-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-workflowmuyen/vibe-to-prodSkill368mo agoMITA23Claude Code
write-changelogDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA24Claude Code
changelogDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA22Claude Code
git-commitdecebals/claude-code-javaSkill7801mo agoMITA38Claude Code, Codex
atomic-commitsNickCrew/Claude-CortexSkill759d agoMITA143Claude Code, Codex
conventional-commitsskyf0xx/hedgehogSkill50yesterdayMITA88Claude Code
pr-writingskyf0xx/hedgehogSkill50yesterdayMITA107Claude Code