mcpbeat

Git Helper

joshuadavidthomas/git-helper

Provides git workflow assistance, branch management, and commit message optimization

344 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
253
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/joshuadavidthomas/opencode-agent-skills --skill git-helper

The instruction itself

10 sections, as written by the author

Git Helper

A comprehensive skill for git workflow management and best practices.

Quick Start

Use this skill when you need help with:

  • Branch creation and management
  • Commit message formatting
  • Git workflow optimization
  • Repository maintenance

Common Workflows

Creating a New Feature Branch

git checkout -b feature/your-feature-name
git push -u origin feature/your-feature-name

Writing Good Commit Messages

Follow the conventional commit format:

type(scope): description

[optional body]

[optional footer]

Types: feat, fix, docs, style, refactor, test, chore

Git Cleanup Commands

Remove stale branches

git remote prune origin

Clean up local branches

git branch -d branch-name

Scripts

This skill includes helper scripts:

create-branch.sh - Creates new feature branches with proper naming

commit-check.sh - Validates commit message format

cleanup.sh - Removes stale branches

Best Practices

  • Always pull latest changes before creating branches
  • Use descriptive branch names with prefixes (feature/, bugfix/, hotfix/)
  • Write atomic commits (one logical change per commit)
  • Keep commit messages under 72 characters for the subject line

How to use it

Copy the folder

Take joshuadavidthomas/git-helper from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.