Skip to content

tri-bot Phase 3: /worktree, /pr, /board commands #57

@gHashTag

Description

@gHashTag

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

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions