# Bugfix

> Create and manage non-urgent bugfix branches in a git worktree with standard PR workflow (squash merge).

- Skill: `diegosouzapw/bugfix` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add diegosouzapw/bugfix`
- Raw SKILL.md: https://api.skillmd.com/api/skills/diegosouzapw/bugfix/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: diegosouzapw (https://skillmd.com/u/diegosouzapw)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/diegosouzapw/bugfix

---

## 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.

