| description | Fetch a GitHub issue and create a branch from latest development. |
|---|---|
| argument-hint | <issue-number> |
| allowed-tools | Bash(gh issue view:*), Bash(git stash:*), Bash(git checkout:*), Bash(git pull:*) |
Issue number: $ARGUMENTS
- GitHub CLI (
gh) must be installed and authenticated (gh auth login).
-
Fetch the issue from GitHub:
gh issue view $ARGUMENTS --repo epam/ai-dial-core --json title,body,labels,assignees,commentsRead it. Summarize to the user in 2-3 sentences.
-
Determine the branch prefix from the issue title/labels:
fix/— bugs, errors, incorrect behaviorfeat/— new features, enhancementschore/— maintenance, CI, deps, docs
-
Create the branch from latest development:
git stash # if there are uncommitted changes git checkout development git pull origin development git checkout -b {prefix}/issue-$ARGUMENTSIf the branch already exists, ask the user whether to reuse or recreate it.
After the branch is ready, hand off to the user for implementation. Use /finish-issue when ready to commit and /open-pr when ready to push and open a PR.