branch

Create and manage Jujutsu bookmarks with conventional branch names.

Updated Aug 15, 2025
One-click install
npx skills add https://github.com/yalexaner/dotfiles --skill branch-yalexaner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: branch
Source: https://github.com/yalexaner/dotfiles/tree/main/claude/skills/branch
Command: npx skills add https://github.com/yalexaner/dotfiles --skill branch-yalexaner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of version control branches using a standardized naming convention, ensuring clarity and consistency in your project's history.

Core Features & Use Cases

  • Conventional Branching: Creates branches following the <type>/<description> format (e.g., feat/add-user-auth).
  • Bookmark Management: Moves existing bookmarks forward to the current revision or creates new ones.
  • Automated Naming: Derives branch names from commit messages, user input, or file changes.
  • Push to Remote: Optionally pushes new or updated branches to the remote repository.
  • Use Case: When starting a new feature, you can simply tell the AI "create a branch for user authentication" and it will handle the naming, creation, and pushing.

Quick Start

Use the branch skill to create a new feature branch for implementing dark mode.

Frequently Asked Questions about branch

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

FAQPage Schema
How do I create conventional branch names in jj version control?

Conventional branch names in jj are created using the `<type>/<description>` format, such as `feat/add-user-auth`. This skill analyzes your repository state, commit messages, and file changes to automatically generate these descriptive bookmarks.

What is the best way to manage jj bookmarks for new features?

Managing jj bookmarks involves moving existing bookmarks forward to your current revision or creating new ones. This skill automates that process by deriving descriptive names from working changes and optionally pushing them to the remote repository.

Can I automatically push jj bookmarks to a remote repository?

Yes, you can automatically push jj bookmarks to a remote repository. This skill supports pushing newly created or updated conventional branches directly after analyzing your current revision and working changes.

How are conventional branch names derived from commit messages?

Conventional branch names are derived by analyzing repository state, including commit messages, user input, and file changes. The skill uses this context to generate a standardized `<type>/<description>` bookmark name for your current revision.

Does this skill work with existing jj bookmarks or only new ones?

This skill works with both existing and new jj bookmarks. It analyzes ancestor bookmarks and your current revision to either move existing bookmarks forward or create new conventional names as needed.