Skip to content
Back to skills

Ai Branch

ASecurity

Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
code-qualitygobashnodegitapi

Works with

  • api

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill ai-branch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Branch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai Branch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-ai-branch/badge)](https://www.skillsdirectory.com/skills/modbender-ai-branch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: branch-namer
description: Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.
---

# Branch Namer

Naming branches is harder than it should be. Is it feature/user-auth or feat/add-user-authentication? This tool generates consistent, conventional branch names from plain English descriptions.

**One command. Zero config. Just works.**

## Quick Start

```bash
npx ai-branch "add user authentication with OAuth"
```

## What It Does

- Generates branch names following common conventions (feature/, bugfix/, hotfix/)
- Keeps names short but descriptive
- Uses kebab-case consistently
- Can create the branch for you with --create flag
- Supports custom prefixes and formats

## Usage Examples

```bash
# Get a branch name suggestion
npx ai-branch "fix the login button not working on mobile"

# Create the branch immediately
npx ai-branch "add dark mode support" --create

# Use a specific prefix
npx ai-branch "update dependencies" --prefix chore

# Include ticket number
npx ai-branch "user profile page crashes on load" --ticket PROJ-123
```

## Best Practices

- **Be specific in your description** - "fix bug" gives worse results than "fix crash when user has no profile photo"
- **Include context** - Mention the feature area: "checkout flow: add shipping address validation"
- **Use --create sparingly** - Review the suggestion first, especially on shared repos
- **Match team conventions** - If your team uses different prefixes, use --prefix

## When to Use This

- Starting a new feature and blanking on a good branch name
- Want consistent naming across your team
- Working on multiple tasks and need to track what each branch does
- Onboarding and not sure what naming conventions the team uses

## Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

**Find more:**
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgicstudios.com

## Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Requires OPENAI_API_KEY environment variable.

```bash
export OPENAI_API_KEY=sk-...
npx ai-branch --help
```

## How It Works

Takes your description and determines the appropriate branch type (feature, fix, chore, etc.). Extracts key terms and creates a concise, readable branch name following conventional naming patterns. Can optionally run git checkout -b for you.

## License

MIT. Free forever. Use it however you want.

---

**Built by LXGIC Studios**

- GitHub: [github.com/lxgicstudios/ai-branch](https://github.com/lxgicstudios/ai-branch)
- Twitter: [@lxgicstudios](https://x.com/lxgicstudios)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…