Streamline small bugfix workflows with git worktrees and PR best practices.

Install

mkdir -p .claude/skills/bugfix && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16208" && unzip -o skill.zip -d .claude/skills/bugfix && rm skill.zip

Installs to .claude/skills/bugfix

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create and manage non-urgent bugfix branches in a git worktree with standard PR workflow (squash merge).
104 charsno explicit “when” trigger
Beginner

Key capabilities

  • Create a git worktree for a bugfix branch
  • Generate a deterministic bugfix branch name
  • Guide synchronization with the main branch
  • Provide instructions for pull request creation
  • Guide safe cleanup of the worktree

How it works

The skill converts a task title into a `bugfix/<slug>` branch name and creates a git worktree at a specified path. It then provides guidance for syncing with `origin/main` and creating a pull request.

Inputs & outputs

You give it
short task title
You get back
git worktree at `../.worktrees/pluto/<branch_sanitized>`

When to use bugfix

  • Create bugfix branch
  • Manage git worktrees
  • Prepare squash merge PR
  • Sync with main branch

About this skill

What I do

  • Turn a short task title into a deterministic bugfix/<slug> branch name.
  • Create a git worktree at ../.worktrees/pluto/<branch_sanitized>.
  • Guide sync with origin/main.
  • Guide PR creation (GitHub, squash merge; do not merge automatically).
  • Guide safe cleanup (remove worktree only).

Naming

  • Base branch: origin/main
  • Branch: bugfix/<slug>
  • Slug rules: same as feature (max 60).
  • Worktree path: same as feature.

Workflows

Use the same steps as feature.

  • Sync: prefer git rebase origin/main
  • PR: recommend Conventional Commit PR title (often fix(...)).
  • Cleanup: remove worktree only.

When not to use it

  • When the bugfix is urgent and requires immediate attention outside a standard PR workflow
  • When the task title is too long for the slug rules

Limitations

  • Branch names are limited by slug rules (max 60 characters)
  • PR creation guidance is specific to GitHub squash merge
  • Cleanup only involves removing the worktree

How it compares

This skill automates branch naming and worktree creation, providing structured guidance for a standard PR workflow, unlike manual git operations.

Compared to similar skills

bugfix side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
bugfix (this skill)05moNo flagsBeginner
resolve-conflicts818moReviewIntermediate
dependency-upgrade265moReviewIntermediate
git-commits214moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by diegosouzapw

View all by diegosouzapw

helm-chart-scaffolding-v2

diegosouzapw

Helm Chart Scaffolding workflow skill. Use this skill when the user needs Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications and the operator should preserve the upstream workflow, copied support files, and provenance before

00

cc-skill-coding-standards-v2

diegosouzapw

Coding Standards & Best Practices workflow skill. Use this skill when the user needs Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development and the operator should preserve the upstream workflow, copied support files, and provenance before

00

worktree-setup

diegosouzapw

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.

00

parsehub-automation

diegosouzapw

Automate Parsehub tasks via Rube MCP (Composio). Always search tools first for current schemas.

00

signalwire-agents-sdk

diegosouzapw

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.

00

agent-sales-engineer

diegosouzapw

Expert sales engineer specializing in technical pre-sales, solution architecture, and proof of concepts. Masters technical demonstrations, competitive positioning, and translating complex technology into business value for prospects and customers.

00

Search skills

Search the agent skills registry