create-issue-branch-github
Skill0 starsChanged 9 months agoMITView on GitHub
Create a branch linked to a GitHub issue and check it out locally.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-itemsSkill
- add-spikeSkill
- changelogSkill
- commitSkill
- create-branchSkill
- create-issue-githubSkill
- create-mr-gitlab-gitSkill
- create-pr-github-gitSkill
- create-pr-githubSkill
- decisionSkill
- emailSkill
- fix-issue-github-autoSkill
- fix-issue-githubSkill
- hldSkill
- implement-lldSkill
- jira-ticket-gitSkill
- jira-ticketSkill
- lldSkill
- prSkill
- reconcileSkill
- resolve-conflictsSkill
- resolve-open-questionsSkill
- reviewSkill
- spikeSkill
- standup-gitSkill
- standupSkill
- syncSkill
- tag-release-ansibleSkill
- tag-release-npmSkill
- tag-releaseSkill
- tldrSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Create a branch linked to a GitHub issue and check it out locally.
- Very specific: line 12
Check that gh is installed and authenticated by running gh auth status.
- Very specific: line 13
Run gh issue view $ARGUMENTS --json title,state to confirm the issue exists.
- Very specific: line 14
Check if gh issue develop is available by running gh issue develop --help 2>/dev/null.
- Very specific: line 15
If available: Run gh issue develop $ARGUMENTS --checkout.
- Very specific: line 18
If gh issue develop was used: note that the branch is linked to the issue and will appear in the issue's Development sidebar automatically.
- Very specific: line 19
If the fallback was used: note that gh issue develop requires gh v2.11+ and suggest upgrading.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a branch linked to a GitHub issue and check it out locally.
$ARGUMENTS is the issue number. If $ARGUMENTS is empty, ask the user to provide an issue number and stop.
Steps:
- Check that
ghis installed and authenticated by runninggh auth status. If not, tell the user and stop. - Run
gh issue view $ARGUMENTS --json title,stateto confirm the issue exists. If it doesn't exist or is already closed, tell the user and stop. - Check if
gh issue developis available by runninggh issue develop --help 2>/dev/null. Then:- If available: Run
gh issue develop $ARGUMENTS --checkout. Pass--name <name>if a custom name was provided in $ARGUMENTS. GitHub names the branch<number>-<issue-title-slug>automatically and links it to the issue. - If not available (older gh): Derive the branch name from the issue number and title: lowercase the title, replace spaces and special characters with hyphens, truncate to ~5 words, and prefix with the issue number (e.g.
12-add-decision-command). Rungit checkout -b <branch-name>.
- If available: Run
- Tell the user the branch name and confirm they are now on it.
- If
gh issue developwas used: note that the branch is linked to the issue and will appear in the issue's Development sidebar automatically. - If the fallback was used: note that
gh issue developrequires gh v2.11+ and suggest upgrading. Advise addingCloses #<number>to the PR description to link the issue when opening a PR.
- If
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

