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,753 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,236 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,753 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.01753
Opus 5.5 $0.00023 $0.00701
Sonnet 5.5 $0.00012 $0.00351
Haiku 4.5 $0.00006 $0.00175

Measured 14d ago against content hash 36f24400e70b, 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 14d 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. 14d ago Changed 36f24400e70b
  2. 1mo 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,236 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 1,753 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.