Execute GitHub Issue
Execute the task defined in GitHub Issue: $ARGUMENTS
Preparation
- •
Read the issue
bashgh issue view $ARGUMENTS
- •Understand requirements and implementation plan
- •Note any images or attachments
- •
Create isolated worktree
- •Use
/create-worktreewith appropriate branch name - •Branch name should relate to the issue (e.g.,
issue-123-feature-name)
bashBRANCH="issue-$ARGUMENTS"
- •Use
- •
Navigate to worktree
bashcd .git-worktrees/$BRANCH pwd # Verify location
Execution
- •
Implement the task
- •Follow the implementation plan from the issue
- •Execute tasks sequentially using sub-agents
- •Test each change before proceeding
- •
Commit changes
- •Use
/commit-pushto commit with meaningful messages - •Reference the issue number in commits
- •Use
- •
Create Pull Request
- •Use
/create-prto create PR - •Link to the issue with
Closes #$ARGUMENTS
- •Use
Critical Constraints
- •ALL work must happen within the created worktree
- •Verify location with
pwdbefore making changes - •Do NOT modify code outside the worktree
- •Follow the implementation plan strictly
Output
- •Report PR URL when complete
- •Summarize changes made