From efeabbb0cba082d95e7c705b3ab14ea771614a12 Mon Sep 17 00:00:00 2001 From: graysurf <10785178+graysurf@users.noreply.github.com> Date: Sun, 11 Jan 2026 10:23:50 +0800 Subject: [PATCH] docs(skills): refresh close-pr status sections - Keep PR body Open Questions/Next Steps up to date when closing --- skills/close-feature-pr/SKILL.md | 1 + skills/close-progress-pr/SKILL.md | 1 + 2 files changed, 2 insertions(+) diff --git a/skills/close-feature-pr/SKILL.md b/skills/close-feature-pr/SKILL.md index 913b908..ee09d46 100644 --- a/skills/close-feature-pr/SKILL.md +++ b/skills/close-feature-pr/SKILL.md @@ -55,6 +55,7 @@ Failure modes: 3. Review PR hygiene (aligned with `create-feature-pr`) - Title reflects feature outcome; capitalize the first word. - PR body includes: `Summary`, `Changes`, `Testing`, `Risk / Notes`. + - If PR body includes `Open Questions` and/or `Next Steps` and they are not already `- None`, update them to the latest status (resolve questions or confirm with the user, check off completed steps, link follow-ups). - `Testing` records results (`pass/failed/skipped`) and reasons if not run. - If edits are needed: use `gh pr edit --title ...` / `gh pr edit --body-file ...`. 4. Merge and delete branch diff --git a/skills/close-progress-pr/SKILL.md b/skills/close-progress-pr/SKILL.md index 59cc3ab..f96cdab 100644 --- a/skills/close-progress-pr/SKILL.md +++ b/skills/close-progress-pr/SKILL.md @@ -63,6 +63,7 @@ If the progress file includes a `Links -> Planning PR` entry, ensure that planni 2. Preflight - Ensure working tree is clean: `git status --porcelain=v1` should be empty - Ensure checks pass (optional but recommended): `gh pr checks ` + - If PR body includes `Open Questions` and/or `Next Steps` and they are not already `- None`, update them to the latest status before merge (resolve questions or confirm with the user, check off completed steps, link follow-ups). 3. Locate the progress file - Prefer parsing the PR body `## Progress` link and extracting `docs/progress/...` - If missing, fallback: search by PR URL inside `docs/progress/`: