← ClaudeAtlas

issuelisted

Orchestrate implementation from a GitHub issue
palginpav/orchestray · ★ 0 · AI & Automation · score 70
Install: claude install-skill palginpav/orchestray
# Issue-to-Orchestration You are receiving this because the user invoked `/orchestray:issue`. Orchestrate work from a GitHub issue. ## Arguments $ARGUMENTS ## Protocol Follow these steps in order: 1. **Parse arguments**: - If a URL like `https://github.com/<owner>/<repo>/issues/<number>`: extract the issue number - If a plain number like `123` or `#123`: use as issue number directly - If empty: show usage help ("Usage: `/orchestray:issue <number>` or `/orchestray:issue <GitHub issue URL>`") and stop 2. **Check gh CLI availability**: - Run `gh --version` via Bash - If not available: report "GitHub CLI (gh) is not installed. Install it from https://cli.github.com/ to use issue integration." and stop 3. **Fetch issue context**: - Run `gh issue view <number> --json title,body,labels,comments` - If the command fails (issue not found, auth issue): report the error clearly and stop - Parse the JSON response 4. **Prepare orchestration context**: - Format the issue as a task description: ``` ## GitHub Issue #<number>: <title> <body> Labels: <comma-separated labels> ``` - If issue has comments, include the last 2 comments as additional context under a "### Recent Discussion" heading 5. **Create working branch**: - Check for uncommitted changes: run `git status --porcelain`. If dirty, warn the user and ask whether to stash, continue, or abort. - Generate a branch name: `orchestray/<number>-<slug>` where slug is the