git-workflow

A Git workflow guide covering branches, commit messages, and pull requests using GitFlow conventions. A branch is a separate line of code changes, and a pull request is a proposal to review and merge those changes.

In plain words
What is it for?
Use it to name feature, fix, refactor, documentation, and test branches and to write conventional commits for project changes.
Why use it?
It gives the team consistent names and messages so code changes are easier to review, track, and integrate.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,584 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.00012 $0.01584
Opus 5 $0.00006 $0.00792
Sonnet 5 $0.00002 $0.00317
Haiku 4.5 $0.00001 $0.00158

Measured 3d ago against content hash f6a1d72ce693, 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 3d 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.

backend/omoi_os/sandbox_skills/git-workflow/SKILL.md · 294 lines

How it starts

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

Git Workflow

Follow these conventions for all git operations.

Branch Naming

{type}/{ticket-id}-{short-description}
Type Purpose Example
feature/ New features feature/TKT-123-user-auth
fix/ Bug fixes fix/TKT-456-login-error
hotfix/ Production fixes hotfix/TKT-789-security-patch
refactor/ Code refactoring refactor/TKT-101-cleanup-api
docs/ Documentation docs/TKT-102-api-docs
test/ Test additions test/TKT-103-unit-tests

Commit Messages

Use conventional commits format:

{type}({scope}): {description}

{body - optional}

{footer - optional}

Types

  • feat: New feature
  • fix: Bug fix
  • refactor: Code refactoring (no functional change)
  • test: Adding or updating tests
  • docs: Documentation only
  • chore: Maintenance tasks
  • style: Formatting, whitespace (no code change)
  • perf: Performance improvement

Examples

# Simple commit
git commit -m "feat(auth): add JWT token validation"

# With body
git commit -m "fix(api): handle null user in response

The API was returning 500 when user was not found.
Now returns 404 with proper error message.

Fixes TKT-456"

# Breaking change
git commit -m "feat(api)!: change response format to JSON:API

BREAKING CHANGE: Response format changed from custom to JSON:API spec.
Migration guide: docs/migration/v2-response-format.md"

Workflow Commands

Starting Work

# Create feature branch from main
git checkout main
git pull origin main
git checkout -b feature/TKT-123-feature-name

# Or from develop for GitFlow
git checkout develop
git pull origin develop
git checkout -b feature/TKT-123-feature-name

During Development

# Stage and commit changes
git add -A
git commit -m "feat(scope): description"

# Keep branch updated
git fetch origin
git rebase origin/main  # or origin/develop

Before PR

# Ensure clean history
git rebase -i HEAD~{n}  # Squash if needed

# Push to remote
git push -u origin feature/TKT-123-feature-name

Read the full file on GitHub · 294 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. 3d ago First seen · 294 lines · 12 tokens per session scan A f6a1d72ce693

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository kivo360/OmoiOS (75 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 1,584 once invoked, about $0.0001 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.

Related

Other skills, from other repositories