diff --git a/.claude/skills/push-pr/SKILL.md b/.claude/skills/push-pr/SKILL.md index 7413ac4f2..739a7b58a 100644 --- a/.claude/skills/push-pr/SKILL.md +++ b/.claude/skills/push-pr/SKILL.md @@ -103,6 +103,25 @@ tea pr create \ Report PR URL when done. +### 7. Update ticket status to review + +Scan all commit messages in the PR for ticket references (`#NNN`): + +```bash +git log --oneline main.. +``` + +Extract ticket IDs from `#NNN` patterns. For each ticket that is +currently `in_progress`, update it to `review`: + +```bash +db/connectors/ticket status review +``` + +Report which tickets were moved to review. Skip tickets that are +already `done`, `review`, `cancelled`, or `backlog` (only transition +`in_progress` → `review`). + ## Arguments If the user passes arguments (e.g., `/push-pr "my title"`), use them as the