git-workflow

git-workflow is a skill for Claude Code, Codex from nasrulhazim/claude. It costs 137 tokens per session (4,929 once invoked), scanned A, original, MIT.

A set of Git workflows for Laravel and JavaScript projects. It covers shared rules for commit messages, version numbers, release notes, branches, hooks, pull requests, and ignored files.

In plain words
What is it for?
Use it to set up commit conventions and hooks, create commit messages, update a changelog, prepare releases, plan a branch strategy, create pull-request templates, and generate Git ignore files.
Why use it?
It reduces inconsistent commit history and release steps across a team. It also provides project-specific configuration for checks that run before code is committed.

Skill for Claude CodeCodex

Part of the claude-toolkit plugin — 36 skills, 12 commands, 20 agents shipped together

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/nasrulhazim/claude/git-workflow
Any agent
npx skills add nasrulhazim/claude --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/nasrulhazim/claude

Made for: Claude Code, Codex.

Or install claude-toolkit, the plugin that ships this one along with the rest of its 36 skills, 12 commands, 20 agents.

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/nasrulhazim/claude/git-workflow.svg)](https://agentmods.dev/skills/nasrulhazim/claude/git-workflow)
Your own site
<a href="https://agentmods.dev/skills/nasrulhazim/claude/git-workflow"><img src="https://agentmods.dev/badge/skills/nasrulhazim/claude/git-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,929 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.00137 $0.04929
Opus 5 $0.00068 $0.02465
Sonnet 5 $0.00027 $0.00986
Haiku 4.5 $0.00014 $0.00493

Measured today against content hash 5c15eaf17c1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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

How it starts

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

Git Workflow

Automate and standardise git workflows — from commit messages to releases — for Laravel and JavaScript projects.

Command Reference

Command Description
/git init-conventions Set up conventional commits + commitlint + hooks in a project
/git commit Generate conventional commit message from staged changes
/git changelog Generate/update CHANGELOG.md from git history
/git release Version bump, changelog, tag, GitHub Release
/git branch-strategy Recommend and scaffold branch strategy
/git hooks Set up pre-commit hooks (CaptainHook for PHP, husky for JS)
/git pr-template Generate PR template + review checklist
/git ignore Generate .gitignore + .gitattributes by project type

1. /git init-conventions — Conventional Commits Setup

Set up conventional commits tooling in an existing project.

Conventional Commits Specification

Format:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Allowed Types

Type SemVer Impact When to Use
feat MINOR New feature or capability
fix PATCH Bug fix
docs Documentation only
style Formatting, whitespace, semicolons
refactor Code restructure without behaviour change
perf PATCH Performance improvement
test Adding or updating tests
build Build system or dependency changes
ci CI configuration changes
chore Maintenance tasks
revert varies Reverts a previous commit

Laravel Scopes

Use scopes to identify the affected area:

  • auth — Authentication, authorization, guards, policies
  • api — API routes, controllers, resources, middleware
  • ui — Blade, Livewire, Flux components, frontend
  • db — Migrations, seeders, factories, query changes
  • config — Configuration files, environment variables
  • test — Test files and test utilities
  • ci — GitHub Actions, deployment scripts
  • model — Eloquent models, relationships, scopes
  • route — Route definitions, middleware assignment
  • middleware — HTTP middleware classes

Read the full file on GitHub · 706 lines

Files

What ships with it

3 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 Changed · +39 lines 5c15eaf17c1f
  2. 4d ago First seen · 667 lines · 137 tokens per session scan A acba37b2b94d

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository nasrulhazim/claude (22 stars, last pushed 2d ago), licensed MIT. It adds 137 tokens to every session and 4,929 once invoked, about $0.0007 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-08-30.