git-guide

git-guide is a skill for Claude Code from xonovex/platform. It costs 69 tokens per session (1,085 once invoked), scanned A, original, MIT.

A guide for everyday Git work, including commits, branches, worktrees, rebases, merges, and conflict handling. Git is a tool that records code changes and lets developers work on separate lines of development.

In plain words
What is it for?
Use it to write commit messages, create isolated worktrees, resolve conflicts, rebase and push branches, clean up branches, and validate changes before a merge.
Why use it?
It makes repository changes more consistent and reduces mistakes when preparing, publishing, or combining branches. It also describes checks to run before merging and safer handling of operations that change history.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xonovex-core plugin — 19 skills, 5 commands shipped together

Good fit Use it to write commit messages, create isolated worktrees, resolve conflicts, rebase and push branches, clean up branches, and validate changes before a merge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xonovex/platform/git-guide
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 xonovex/platform --skill git-guide
Clone the repo
git clone --depth 1 https://github.com/xonovex/platform

Made for: Claude Code.

Or install xonovex-core, the plugin that ships this one along with the rest of its 19 skills, 5 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/xonovex/platform/git-guide/github.svg)](https://agentmods.dev/skills/xonovex/platform/git-guide)
Your own site
<a href="https://agentmods.dev/skills/xonovex/platform/git-guide"><img src="https://agentmods.dev/badge/skills/xonovex/platform/git-guide/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 git-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/xonovex/platform/git-guide"><img src="https://agentmods.dev/badge/skills/xonovex/platform/git-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,085 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.00069 $0.01085
Opus 5.5 $0.00028 $0.00434
Sonnet 5.5 $0.00014 $0.00217
Haiku 4.5 $0.00007 $0.00109

Measured 7d ago against content hash bb080bb1e0e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-guide 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 7d 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.

packages/runtime/plugin/plugin-core/skills/git-guide/SKILL.md · 65 lines

How it starts

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

Git Guidelines

Create conventional commits, resolve conflicts, and manage worktrees with explicit validation and publication steps.

Core Principles

  • Conventional Commits - Use type prefixes (feat, fix, chore, docs, refactor, test, ci), see references/commit.md
  • Auto-Generate Messages - Analyze changed files and context, see references/commit.md
  • Isolated Development - Use worktrees for feature branches, see references/worktree-create.md
  • Validate Before Merge - Run typecheck/lint/build/test, see references/worktree-validate.md
  • Publish and Rebase - Push a branch upstream and rebase onto the base before opening a PR / MR, see references/push.md
  • Explicit Effects - Worktree create, merge, and cleanup default to preview and mutate only for an explicit apply

Commit Operations

  • Auto-commit - Analyze changes, infer type, generate message, optional push, see references/commit.md

Branch Operations

  • Push + rebase-onto-base - Publish a branch upstream and keep its PR / MR diff just this change; the host skill (github-guide / gitlab-guide) drives the PR itself, see references/push.md

Conflict Resolution

Worktree Operations

Read the full file on GitHub · 65 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. 7d ago Changed · +2 lines bb080bb1e0e0
  2. 1mo ago First seen · 63 lines · 69 tokens per session scan A c98a231fffd4

Subscribe to this mod's changes

git-guide is a skill published in the GitHub repository xonovex/platform (6 stars, last pushed 4d ago), licensed MIT. It adds 69 tokens to every session and 1,085 once invoked, about $0.0003 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-09-08.

Related

Other skills, from other repositories

cw-land

Use when turning verified Codewhale work into commits, branches, or a merge: choosing direct-main vs. worktree vs. integration branch, preserving contributor credit, and honoring the gate artifact before merging.

Hmbown/Codewhale · 44 tokens

atmos-git

Atmos Git and GitOps: git.repositories, clone/pull/status/diff/commit/push/clean, local Git hook shims and hook env vars, signed commits, managed workdirs, fork-PR trust gate (clone gate and posting gate), and auth via identities or github/sts.

cloudposse/atmos · 64 tokens

setup-caliber

Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update automatically on every commit. Use when Caliber hooks are not yet installed or when the user asks about keeping agent configs in sync.

caliber-ai-org/ai-setup · 61 tokens

conventional-commit

Conventional Commit - Generate Conventional Commits 1.0.0 compliant messages. MANDATORY for all git commits. Invoke when user says 'commit', 'commit this', or asks to commit code.

termio-sh/termio · 47 tokens

blueprint

Generates a step-by-step construction plan from a one-line objective, where each step is self-contained and executable by a fresh agent in a new session.

skillmds/skillmd · 34 tokens

contributing

Codex adapter for the opencode-swarm contribution checklist. Use when preparing user-visible changes, release note fragments, local validation, branch hygiene, PR checklist items, or contribution-policy compliance before publishing work.

ZaxbyHub/opencode-swarm · 44 tokens