branchlisted
Install: claude install-skill valasubramanian-kr/wallet-web-developer
# Create Development Branch Skill
## Purpose
Create a development branch with standardized naming convention (`dcppay-<JIRA-number>-<short-title>`) after implementation plan is approved.
## Usage
```bash
/branch
```
(Must be run after `/plan`)
## What This Skill Does
1. **Load Implementation Plan**: Reads `implementation-plan.md` to understand the work
2. **Extract JIRA Number**: Gets JIRA number from workflow directory
3. **Generate Branch Name**: Creates branch name in format `dcppay-<number>-<short-title>`
4. **Validate Branch**: Checks if branch already exists
5. **Create Branch**: Creates new branch from main for the current project repo
6. **Save Branch Details**: Outputs to `dev-branch.md`
## Implementation Plan Context
The implementation plan should be located in the most recent directory under `workflow/jira-to-github/*/implementation-plan.md`. You will need to find and read this file in Step 1.
## Instructions
You are creating a development branch for a JIRA issue. Follow these steps:
### Step 1: Validate Prerequisites and Load Context
First, find the most recent JIRA workflow directory and load the repo profile for branch naming:
```bash
ls -td workflow/jira-to-github/*/ | head -1
```
If no directory exists, display error:
```
❌ No JIRA issue found
Please run the following commands first:
1. /pull <JIRA-KEY>
2. /plan
Then try again.
```
If directory exists:
1. Read `workflow/jira-to-github/<JIRA-NUMBER>/target-repo.md` to get the profile path
2. Re