.claude/skills/fork-dev-branch/SKILL.md
Create a development branch for a given GitHub issue with standardized naming
npx skillsauth add synthesys-lab/assassyn fork-dev-branchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill instructs AI agents on how to create a development branch for implementing
a GitHub issue. The branch name follows the standard format: issue-<number>-<brief-title>.
Branches created by this skill must follow this exact format:
issue-<number>-<brief-title>
Where:
<number>: The GitHub issue number (without the # symbol)<brief-title>: A brief, hyphen-separated description of the issue
Examples:
issue-42-add-typescript-supportissue-15-fix-precommit-hookissue-67-create-open-pr-skillissue-23-refactor-sdk-templatesWhen this skill is invoked, the AI agent MUST follow these steps:
Find the issue number from conversation context:
gh issue list --limit 10# prefix (e.g., "42" or "#42")Verify the issue exists and is open:
gh issue view <issue-number> --json state,title
If the issue is closed or doesn't exist, inform the user and abort.
Fetch the issue details and create a concise branch title:
gh issue view <issue-number>
Convert the issue title to branch format:
[plan][feat]: → empty)Title conversion examples:
[plan][feat]: Add TypeScript SDK support → add-typescript-support[bugfix]: Pre-commit hook fails → fix-precommit-hook[agent.skill]: Create open-pr skill → create-open-pr-skillIf unclear or too long, confirm with user before proceeding.
Create and switch to the new branch:
git checkout -b issue-<number>-<brief-title>
Confirm success:
Successfully created and switched to branch: issue-<number>-<brief-title>
Context: User wants to implement issue #42 for TypeScript SDK support.
Conversation:
User: Create a dev branch for issue #42
Agent: [Runs gh issue view 42]
Agent: I'll create a branch for issue #42: "Add TypeScript SDK template support"
Suggested branch name: issue-42-add-typescript-support
Creating branch...
[Runs: git checkout -b issue-42-add-typescript-support]
Successfully created and switched to branch: issue-42-add-typescript-support
Context: User wants to fix issue #15.
Conversation:
User: fork a branch for #15
Agent: [Runs gh issue view 15]
Agent: I'll create a branch for issue #15: "Pre-commit hook fails to run tests"
Suggested branch name: issue-15-fix-precommit-hook
Creating branch...
[Runs: git checkout -b issue-15-fix-precommit-hook]
Successfully created and switched to branch: issue-15-fix-precommit-hook
Context: User provides a non-existent issue number.
Conversation:
User: Create dev branch for issue 999
Agent: [Runs gh issue view 999]
Agent: Error: Issue #999 not found in this repository.
Please provide a valid issue number.
tools
Commit the staged changes to git with meaningful messages.
development
Systematic code review skill checking documentation quality and promoting code reuse
testing
Create comprehensive implementation plans with detailed file-level changes and test strategies
development
Create GitHub pull requests from conversation context with proper formatting and tag selection