Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: remind to update PR title/description when code changes (#1265)

worktrunk-bot2237398a5eeb
diff --git a/.claude/skills/running-in-ci/SKILL.md b/.claude/skills/running-in-ci/SKILL.md
index 7f18bbf34..9b3b5ae08 100644
--- a/.claude/skills/running-in-ci/SKILL.md
+++ b/.claude/skills/running-in-ci/SKILL.md
@@ -117,6 +117,21 @@ EOF
gh api ... --jq "$jq_filter"
```
+## Keeping PR Titles and Descriptions Current
+
+When you revise a PR's code in response to review feedback, check whether the
+title and description still accurately describe the changes. If the approach
+changed (e.g., from "exclude all X" to "add targeted exclusions for X"), update
+the title and body to match. A reviewer reading the description before the diff
+should not be confused by stale framing.
+
+Use the GitHub API to update:
+
+```bash
+gh api repos/{owner}/{repo}/pulls/{number} -X PATCH \
+ -f title="new title" -F body=@/tmp/updated-body.md
+```
+
## Atomic PRs
When creating PRs, split unrelated changes into separate PRs — one concern per