Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

manage-branch

verified

Check and create timestamped topic branches.

View on GitHub

Marketplace

workaholic

qmu/workaholic

Plugin

core

development

Repository

qmu/workaholic

plugins/core/skills/manage-branch/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/qmu/workaholic/blob/main/plugins/core/skills/manage-branch/SKILL.md -a claude-code --skill manage-branch

Installation paths:

Claude
.claude/skills/manage-branch/
Powered by add-skill CLI

Instructions

# Manage Branch

Check current branch state and create new topic branches when needed.

## Check Branch

Check if currently on a topic branch:

```bash
current=$(git branch --show-current)
if [ "$current" = "main" ] || [ "$current" = "master" ]; then
  echo "on_main"
else
  echo "on_topic:$current"
fi
```

Topic branch patterns: `drive-*`, `trip-*`

## Create Branch

```bash
bash .claude/skills/manage-branch/sh/create.sh [prefix]
```

### Arguments

- `prefix` (optional): Branch prefix. Defaults to "drive".
  - **drive** - for TiDD style development
  - **trip** - for more AI oriented development

### Output

JSON with the created branch name:

```json
{
  "branch": "drive-20260202-204753"
}
```

The branch is automatically checked out after creation.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
738 chars