Overview
Add git worktree management, PR creation, and project board viewing to tri-bot.
Commands
/worktree <name>
- Create a git worktree for parallel tasks
- Maps to
claude --worktree <name> flag
- Allows running multiple Claude tasks simultaneously
/pr [number]
- Without number: create PR from current branch via
claude --from-pr
- With number: review PR #N via
claude --from-pr N
- Send PR URL or review summary to Telegram
/board
- Show GitHub project board status
- Run
gh project item-list or gh issue list
- Format as task list in Telegram
Files to modify
| File |
Change |
MODIFY handlers.zig |
Add handleWorktree, handlePR, handleBoard |
MODIFY bot_loop.zig |
Add dispatch for new commands |
Acceptance criteria
Depends on: #54
Overview
Add git worktree management, PR creation, and project board viewing to tri-bot.
Commands
/worktree <name>claude --worktree <name>flag/pr [number]claude --from-prclaude --from-pr N/boardgh project item-listorgh issue listFiles to modify
handlers.zigbot_loop.zigAcceptance criteria
/worktree feature-xcreates worktree, confirms/prcreates PR from current work/pr 54shows PR feat(bot): TRI BOT Phase 1 — Telegram bot as Claude Code CLI remote control #54 details/boardshows task list from GitHubDepends on: #54