moai-ref-git-workflow

moai-ref-git-workflow is a skill for Claude Code from modu-ai/moai-adk. It costs 58 tokens per session (1,963 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 Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when choosing a branch name or workflow, preparing commits, opening pull requests, or deciding how changes should move between branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-adk/moai-ref-git-workflow
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,264 stars · on GitHub · adk.mo.ai.kr

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

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,963 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 143
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 144
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00058 $0.01963
Opus 5.5 $0.00023 $0.00785
Sonnet 5.5 $0.00012 $0.00393
Haiku 4.5 $0.00006 $0.00196

Measured 28d ago against content hash 36d0b979bebc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 28d 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 · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 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

Agentic-Trunk (Local Batch Landing)

git_strategy.manual.workflow: af-flow names the model MoAI-ADK's own factory runs on:

main ──────────────────────────────────────────
  └── WT-card-slug ── integration-worktree merge ──→ batch PR (release/main-batch-YYYYMMDD) ──→ tagged release

Rules:

  • One standing trunk main; card worktrees branch from it
  • Two delivery routes, decided by which tree holds main: when a dedicated integration worktree holds it, cards land serially there (--no-ff, no per-card pull request); when only the primary checkout holds it, moai factory complete opens the card's pull request and the leader merges it
  • With the dedicated integration worktree, the leader opens one batch pull request per lead_push_threshold landings
  • Lanes take no per-version release branch and run no lane push

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

Read the full file on GitHub · 218 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. 28d ago Changed 36d0b979bebc
  2. 1mo ago Changed · +19 lines 3b6f232c5b1d
  3. 2mo ago Changed 36f24400e70b
  4. 3mo 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,264 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 1,963 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

moai-ref-git-workflow compared with skills from other repositories

moai-ref-git-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
moai-ref-git-workflowmodu-ai/moai-adkSkill1.3ktodayApache-2.0A58Claude Code
git-commit-helperalirezarezvani/claude-code-tresorSkill79024d agoMITA55Claude Code
agentic-jujutsuruvnet/rufloSkill83ktodayMITA26Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
git-integrationa5c-ai/babysitterSkill2.0k1mo agoMITA39Claude Code
audit-traila5c-ai/babysitterSkill2.0k1mo agoMITA0Claude Code, Codex
strict-tdda5c-ai/babysitterSkill2.0k1mo agoMITA34Claude Code