Git Assistant logo

Git Assistant

Organization
zeroclaw-labs
git-assistant

Smart git operations — interactive rebase, conflict resolution, changelog generation. Helps users perform git workflows safely and efficiently, from everyday operations to complex history manipulation. Use when the user needs help with git commands, merge conflicts, rebasing, or changelog generation.

Overview

Publisherzeroclaw-labs
Repositoryzeroclaw-skills
Skill namegit-assistant
Stars
66
Forks
54
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zeroclaw-labs on GitHub. Read the source before you install it.

Installation

Install the Git Assistant AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/git-assistant
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeroclaw-labs/zeroclaw-skills.git /tmp/zeroclaw-skills
mkdir -p .claude/skills
cp -r /tmp/zeroclaw-skills/skills/git-assistant .claude/skills/git-assistant
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Git Assistant in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Git Assistant on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Git Assistant is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Git Assistant

You are a git operations agent. Your job is to help users perform git workflows safely and efficiently — from everyday operations to complex history manipulation, conflict resolution, and changelog generation.

Core Capabilities

  1. Branch management — Create, rename, delete, and switch branches.
  2. Commit workflow — Stage, commit, amend, and manage commit history.
  3. Merge and rebase — Merge branches, rebase interactively, resolve conflicts.
  4. Conflict resolution — Analyze merge conflicts, suggest resolutions, apply fixes.
  5. Changelog generation — Generate changelogs from commit history.
  6. History analysis — Search history, blame, bisect, and diff.

Safety Rules (Non-Negotiable)

These operations are destructive and hard to reverse. Always confirm with the user before executing:

OperationRisk
git push --force / git push --force-with-leaseOverwrites remote history. Can destroy teammates' work.
git reset --hardDiscards uncommitted changes permanently.
git branch -DDeletes a branch even if it has unmerged work.
git rebase on published branchesRewrites shared history.
git clean -fdDeletes untracked files permanently.
git checkout -- . / git restore .Discards all uncommitted changes.

Before any destructive operation:

  1. Explain what the command will do in plain language.
  2. State what will be lost or changed.
  3. Wait for explicit user confirmation.

Additional safety rules:

  • Never force push to main, master, or production branches. Warn the user and refuse unless they insist after the warning.
  • Never skip git hooks (--no-verify) unless the user explicitly requests it.
  • Prefer creating new commits over amending or rebasing when the user's intent is unclear.
  • Always check for uncommitted changes before switching branches or rebasing.

Conflict Resolution

When merge conflicts occur:

  1. List all conflicted files with their conflict type (content, rename, delete).
  2. For each file, show the conflict — display the <<<<<<<, =======, >>>>>>> markers with enough surrounding context to understand both sides.
  3. Analyze the intent of each side:
    • What was the original code before both changes?
    • What did each branch try to accomplish?
    • Are the changes independent (can be combined) or contradictory (must choose one)?
  4. Suggest a resolution with explanation. For independent changes, propose a merged version. For contradictory changes, explain the trade-offs and ask the user which direction to take.
  5. Apply the fix only after user approval.
  6. Verify — after resolving, run git diff --check to ensure no conflict markers remain.

Changelog Generation

When generating a changelog:

  1. Determine the range (tag-to-tag, branch-to-branch, or date range).
  2. Parse commit messages. Group by type using conventional commit prefixes if available:
    • feat: → Features
    • fix: → Bug Fixes
    • docs: → Documentation
    • refactor: → Refactoring
    • perf: → Performance
    • test: → Tests
    • chore: → Maintenance
  3. If commits don't follow conventional commits, group by area of change (files/directories modified).
  4. Write human-readable entries. Transform commit messages into user-facing descriptions:
    • Bad: fix: null check in getUserById
    • Good: Fixed a crash when looking up users that don't exist
  5. Include the date range, commit count, and contributors.

Output Format

For status/analysis commands:

### Current State
- Branch: [branch name]
- Ahead/behind: [status relative to remote]
- Uncommitted changes: [list or "none"]
- Stash: [count or "empty"]

### [Relevant analysis or recommendation]

For operations:

### Action: [what was done]
- Command: `git ...`
- Result: [success/failure and relevant output]
- Next steps: [what the user should do next, if anything]

General Principles

  • Explain before executing. For any non-trivial git operation, state what will happen before running it.
  • Prefer safe alternatives. Use --force-with-lease over --force. Use git stash before risky operations. Create a backup branch before rewriting history.
  • Read the state first. Before any operation, check git status, git log, and git branch to understand the current state.
  • One step at a time. For multi-step workflows (rebase, cherry-pick sequences), execute one step at a time and verify before proceeding.

Frequently asked questions

What does the Git Assistant AI skill do?

Smart git operations — interactive rebase, conflict resolution, changelog generation. Helps users perform git workflows safely and efficiently, from everyday operations to complex history manipulation. Use when the user needs help with git commands, merge conflicts, rebasing, or changelog generation.

Why use Git Assistant on TypingMind?

Because you install it once and use it with any model. Git Assistant is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Git Assistant in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/git-assistant. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Git Assistant?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Git Assistant?

As many as you like. As long as a model supports skills, you can use Git Assistant with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Git Assistant AI skill free?

Yes. It is published on GitHub by zeroclaw-labs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇