marclove

Bugfix — Git skill for Claude Code

Git community

Create a bugfix branch, run focused checks, and (optionally) open a PR.

How to install Bugfix

Installs to ~/.claude/commands/marclove-typeforge-bugfix.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/marclove/typeforge/HEAD/.claude/commands/bugfix.md -o ~/.claude/commands/marclove-typeforge-bugfix.md

Restart Claude Code, or start a new session, for it to be picked up.

What Bugfix does


allowed-tools: Bash(git status), Bash(git branch), Bash(git switch), Bash(git checkout), Bash(git push), Bash(just lint-diff), Bash(just test-ci), Bash(gh pr create) argument-hint: [issue-or-pr-number] [short-title] description: Create a bugfix branch, run focused checks, and (optionally) open a PR

Context

  • Current branch: !git branch --show-current
  • Working tree: !git status --porcelain=v1

Task (worktree-aware)

  1. Create a new worktree .worktrees/bugfix-$1 from the current b

Alternatives in Git

  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
  • Gh Fix CI — Debug and fix failing GitHub Actions PR checks using log inspection 14.6k ★
  • GitHub Review Failures — Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu 1.5k ★

Full documentation available on GitHub

View Source Repository