Start work on GitHub issue
Begin work on a GitHub issue by fetching context and setting up.
/work-on 42
/work-on 47
gh issue view 42 --json number,title,body,labels,milestone,state
Format and display issue information:
š Issue #42: Add lap counter
Labels: feature, ui, game-logic
Milestone: v1.0
State: OPEN
Description:
[Issue body content - formatted for readability]
Acceptance Criteria:
[Extract checklist items if present]
Notify on the issue that work has started:
gh issue comment 42 --body "šØ Starting work on this issue
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
Based on issue labels, suggest appropriate action:
If labeled bug:
Suggested next step: /debug "issue title here"
This will help investigate the root cause before implementing a fix.
If labeled feature:
Suggested next step: /feature "feature name"
This will check the design doc and plan implementation.
If labeled task:
Suggested next step: Read relevant files and plan approach
Files to review:
[List files mentioned in issue body or inferred from labels]
Ask user if they want to create a dedicated branch:
Create branch for this issue? [Y/n]
Suggested branch name: issue-42-lap-counter
If yes:
git checkout -b issue-42-lap-counter
bug + collision-detection:
ā /debug "title"
ā Read: GridRacer/CollisionDetection.swift
bug + scenekit:
ā /debug "title"
ā Read: GridRacer/GameViewController.swift
bug + game-logic:
ā /debug "title"
ā Read: GridRacer/GameState.swift
feature + any:
ā /feature "title"
ā Read: docs/GridRacer Concept.md
task + testing:
ā Read: GridRacerTests/
ā Review existing test patterns
task + performance:
ā Read: .claude/rules/performance.md
ā Profile current implementation
User: /work-on 47
Claude fetches issue:
š Issue #47: Racer moves through walls
Labels: bug, play-test-found, collision-detection
State: OPEN
Description:
During play-testing, racer was able to move through walls at high velocity.
Steps to Reproduce:
1. Accelerate to velocity (3, 2)
2. Select marker that goes diagonally through wall
3. Racer passes through instead of crashing
Expected: Crash detected, life lost, respawn at (0,0)
Actual: Racer passes through wall
Game State:
- Position: (10, 5)
- Velocity: (3, 2)
- Marker selected: (+1, +1)
Adds comment to issue: "šØ Starting work on this issue"
Suggested next step: /debug "racer moves through walls"
Files to review:
- GridRacer/CollisionDetection.swift
- GridRacer/BresenhamLine.swift
Create branch issue-47-wall-collision? [Y/n]
Pattern: issue-{number}-{slug}
Examples:
issue-42-lap-counterissue-47-wall-collisionissue-50-ai-opponentSlug generated from title: