From 5f3514b3c4dab021b1e4acdd3a68803a9456a0f6 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Wed, 18 Feb 2026 11:57:39 +0100 Subject: [PATCH] feat(skills): push-pr marks referenced tickets as review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 7 scans commit messages for #NNN ticket refs and transitions in_progress tickets to review status. Only in_progress → review; other statuses are left alone. Co-Authored-By: Claude Opus 4.6 --- .claude/skills/push-pr/SKILL.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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