erinrugas

git-branch

Creates and manages branches with clear naming and safe branching flow. Use when starting work, switching context, or cleaning up branches.

erinrugas 1 Updated 3mo ago
GitHub

Install

npx skillscat add erinrugas/artisan-agents/git-branch

Install via the SkillsCat registry.

SKILL.md

Git Branch Skill

When to Apply

  • User asks to create/switch/delete branches.
  • Work needs branch hygiene before implementation.

Workflow

  1. Determine base branch (main, develop, or project default).
  2. Create branch with consistent naming:
    • feature/<topic>
    • fix/<topic>
    • chore/<topic>
  3. Verify upstream tracking after push.
  4. Clean up merged branches when requested.

Safety

  • Do not delete unmerged branches without explicit confirmation.
  • Avoid force operations unless necessary and approved.