Branch Namer for Openclaw

An AI-powered CLI tool that transforms natural language descriptions into consistent and conventional git branch names.

lxgicstudios
v1.0.2
Jan 29, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ai-branch

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ai-branch using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Branch Namer?

Branch Namer is an intelligent utility designed to standardize git branch naming conventions within the Openclaw Skills ecosystem. It removes the cognitive friction of naming branches by using AI to interpret plain English descriptions and translate them into clean, kebab-case strings that align with industry best practices like feature/ and bugfix/ prefixes.

This tool is specifically built for developers who want to maintain a clean repository history without manual formatting overhead. By integrating this into your workflow, you ensure that every team member follows the same prefix logic, making pull requests and repository navigation much more efficient.

Branch Namer Use Cases

  • Starting a new feature and needing a descriptive, well-formatted branch name instantly.
  • Maintaining strict naming standards across a large engineering team using Openclaw Skills.
  • Organizing project work by automatically incorporating ticket IDs into branch structures.
  • Onboarding new developers to ensure they follow the project's specific naming conventions.

How Branch Namer Works

  1. The user provides a natural language prompt describing the work they are about to perform.
  2. The AI analyzes the intent of the description to determine the most appropriate prefix, such as feature, fix, or chore.
  3. The tool generates a concise, readable branch name in kebab-case format.
  4. If the --create flag is used, the tool executes git checkout -b to create the branch on the spot.

Branch Namer Setup

To get started with this tool in your Openclaw Skills environment, ensure you have Node.js 18+ installed. You must also set your OpenAI API key as an environment variable.

export OPENAI_API_KEY=sk-...
npx ai-branch "your task description"

Branch Namer Data Schema & Taxonomy

The skill processes input strings and outputs standardized branch paths based on the following taxonomy:

Metadata Component Description Example Pattern
Type Prefix Categorizes the branch type feature/, bugfix/, hotfix/, chore/
Task Slug Kebab-case version of the description add-oauth-support
Ticket ID Optional project management ID PROJ-123
Final Branch The resulting git-ready string feature/PROJ-123-add-oauth-support

Branch Namer Advanced Features

  • Direct branch creation using the --create flag to bypass manual git commands.
  • Custom prefix support via the --prefix flag to align with unique team standards.
  • Ticket integration through the --ticket option to link branches with project management tools.
  • Seamless compatibility with other Openclaw Skills for a fully automated development lifecycle.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*