moai-ref-git-workflow

moai-ref-git-workflow is a skill for Claude Code, Codex from modu-ai/moai-adk. It costs 58 tokens per session (1,751 once invoked), scanned A, original, Apache-2.0.

A reference guide for using Git, the version-control system that records code changes, including branches, commits, and pull requests. It covers common branch strategies and pull-request templates.

In plain words
What is it for?
Use it when choosing a branch name or workflow, preparing commits, opening pull requests, or deciding how changes should move between branches.
Why use it?
It gives agents consistent rules for organizing and reviewing code changes, especially when several developers work on the same project. It is a reference for Git operations, not for implementing or testing code.

Skill for Claude CodeCodex

About the project

MoAI-ADK is a Go-based harness that organizes and verifies Claude Code work across planning, implementation, synchronization, and review stages. Developers use it to structure agentic coding tasks, apply quality gates, and route work across language models, while the catalogue entries extend its workflow with skills, hooks, commands, MCP servers, instructions, and settings.

modu-ai/moai-adk · 1,200 stars · on GitHub

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

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 moai-ref-git-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-ref-git-workflow.svg)](https://agentmods.dev/skills/modu-ai/moai-adk/moai-ref-git-workflow)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/moai-ref-git-workflow"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-ref-git-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,751 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.00058 $0.01751
Opus 5 $0.00029 $0.00875
Sonnet 5 $0.00012 $0.00350
Haiku 4.5 $0.00006 $0.00175

Measured 5d ago against content hash d074950369e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

moai-ref-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 5d 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/moai-ref-git-workflow/SKILL.md · 199 lines

How it starts

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

Git Workflow Reference

Target Agent

manager-git - Applies these patterns directly to git operations, branch management, and PR creation.

Branch Strategy Patterns

GitHub Flow (Default for Most Projects)

main ─────────────────────────────────────────
  └── feat/SPEC-XXX-description ──── PR ──→ merge

Rules:

  • main is always deployable
  • Feature branches from main
  • PR required for all merges
  • Delete branch after merge

GitFlow (Complex Release Cycles)

main ──────────────────────────────────────────
  └── develop ─────────────────────────────────
        ├── feature/SPEC-XXX ──── PR ──→ develop
        └── release/v1.2.0 ────── PR ──→ main + develop

Trunk-Based (CI/CD Heavy)

main ──────────────────────────────────────────
  └── short-lived branch (< 1 day) ──→ merge

Branch Naming Convention

Pattern Example Use Case
feat/SPEC-{ID}-{slug} feat/SPEC-AUTH-001-jwt-auth New feature
fix/SPEC-{ID}-{slug} fix/SPEC-BUG-042-null-check Bug fix
refactor/{slug} refactor/extract-auth-middleware Refactoring
docs/{slug} docs/api-reference-update Documentation
chore/{slug} chore/upgrade-dependencies Maintenance

Conventional Commits Reference

Type When Example
feat New feature feat(auth): add JWT refresh token flow
fix Bug fix fix(api): handle null user in profile endpoint
refactor Code restructure refactor(db): extract query builder
test Test changes test(auth): add login edge case tests
docs Documentation docs(api): update endpoint descriptions
chore Maintenance chore(deps): upgrade Go to 1.23
perf Performance perf(query): add index for user lookup
style Formatting style: apply gofmt formatting
ci CI/CD changes ci: add GitHub Actions workflow
revert Revert commit revert: undo feat(auth) commit abc123

Read the full file on GitHub · 199 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. 5d ago First seen · 199 lines · 58 tokens per session scan A d074950369e8

Subscribe to this mod's changes

moai-ref-git-workflow is a skill published in the GitHub repository modu-ai/moai-adk (1,200 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 1,751 once invoked, about $0.0003 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.