git-workflows

git-workflows is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 11 tokens per session (972 once invoked), scanned A, original, Apache-2.0.

A guide to using Git, a system for tracking code changes, across branches and teams. It covers branching approaches, commit messages, pull requests, and release workflows.

In plain words
What is it for?
It is for choosing a branching model, writing consistent commits, preparing releases, and coordinating collaborative development.
Why use it?
It helps teams avoid confusing history, inconsistent commits, and unclear processes for merging and releasing code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

Good fit It is for choosing a branching model, writing consistent commits, preparing releases, and coordinating collaborative development.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mn-lizard-team/aiyu-multi-agent/git-workflows
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.

Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/git-workflows.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/git-workflows)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/git-workflows"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/git-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 972 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.
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.00011 $0.00972
Opus 5 $0.00005 $0.00486
Sonnet 5 $0.00002 $0.00194
Haiku 4.5 $0.00001 $0.00097

Measured 4d ago against content hash 2c96cea0fad9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

git-workflows 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 4d 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.

.cursor/rules/skills/git-workflows.mdc · 188 lines

How it starts

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

Skill: git-workflows

Cursor Agent-Requested Rule — applied when AI determines relevance.


Git Workflows - Version Control Best Practices

Clean history, clear intent, collaborative development.


Branching Strategies

Git Flow

main        ●────────────────────────●
             ╲                      ╱
develop       ●──●──●──●──●──●──●──●
               ╲    ╲      ╱    ╱
feature/A       ●────●────●      ╱
feature/B             ●────●────●
hotfix                      ●──●
Branch Purpose Lifetime
main Production-ready code Permanent
develop Integration branch Permanent
feature/* New features Temporary
release/* Release preparation Temporary
hotfix/* Urgent production fixes Temporary

Trunk-Based Development

main    ●──●──●──●──●──●──●──●──●──●──●
         ╲    ╲    ╲    ╲    ╲    ╲
PR        ●────●   ●────●   ●────●
  • Short-lived feature branches (< 1 day)
  • Continuous integration to main
  • Feature flags for incomplete features

Commit Conventions

Conventional Commits

<type>(<scope>): <description>

[optional body]

[optional footer]

Types:

  • feat: — New feature
  • fix: — Bug fix
  • docs: — Documentation only
  • style: — Formatting, no code change
  • refactor: — Code restructuring
  • test: — Adding/updating tests
  • chore: — Build, dependencies

Examples:

feat(auth): add OAuth2 login with Google

fix(api): resolve null pointer in user validation

refactor(database): migrate from MongoDB to PostgreSQL

BREAKING CHANGE: removed deprecated v1 endpoints

Commit Best Practices

✅ DO ❌ DON'T
Write in imperative mood "Fixed bug" → "Fix bug"
Keep subject under 50 chars Long, rambling descriptions
Reference issues No context about why
Separate subject from body Everything in one line

Pull Request Workflow

PR Template

Read the full file on GitHub · 188 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. 4d ago First seen · 188 lines · 11 tokens per session scan A 2c96cea0fad9

Subscribe to this mod's changes

git-workflows is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 972 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-09-03.