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 6mo ago
GitHub

Install

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

Install via the SkillsCat registry.

About this skill

Here's a thinking process: 1. **Analyze the Request:** - **Goal:** Write a 2-3 sentence plain-text summary in English - **Subject:** AI agent skill for git-branch management - **Key points to cover:** What it does, what problem it solves, when to use it - **Constraints:** - Objective, factual tone only - No marketing language, no superlatives, no calls to action - Natural prose, no bullet points, no headings, no markdown - No quotes wrapping the answer - At most 60 words - **Output:** ONLY the summary text 2.

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.