ai-prepare-branch

Prepare feature branches with base detection and remote tracking.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/svange/augint-shell --skill ai-prepare-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-prepare-branch
Source: https://github.com/svange/augint-shell/tree/main/.agents/skills/ai-prepare-branch
Command: npx skills add https://github.com/svange/augint-shell --skill ai-prepare-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of a properly aligned feature branch from the correct base (dev or main), syncs release bumps, and sets up remote tracking according to repository policy.

Core Features & Use Cases

  • Branch preparation with automatic base detection and branch naming
  • Remote tracking setup and release-bump synchronization
  • Report output including selected base, target branch, prepared branch name, local-state blockers, and next steps
  • Safe fallback path when the primary tool is unavailable

Quick Start

Run the primary command to prepare a feature branch for the issue using the configured repository policy.

Frequently Asked Questions about ai-prepare-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically create a git feature branch from the correct base?

To create a feature branch from the correct base, this automation detects whether to branch from dev or main, syncs release bumps, and sets up remote tracking according to repository policy.

What is the best way to set up remote tracking when preparing a new git branch?

Setting up remote tracking during branch preparation is handled automatically by syncing the branch with the repository's configured policies, ensuring correct upstream alignment without manual configuration.

How do I branch from dev or main automatically based on repository policy?

Automatic base detection evaluates your repository policy to determine whether your feature branch should align with the dev or main branch, syncing release bumps during the creation process.

What happens if the branch preparation tool is unavailable in my local environment?

If the primary branch preparation tool is unavailable, the process provides a safe minimal fallback path to ensure you can still attempt issue-based work without breaking local state.

Can I get a report of selected base and blockers when creating a feature branch?

Yes, branch preparation outputs a report including the selected base, target branch, prepared branch name, local-state blockers, and next steps to guide your issue-based workflow.