From c33ccdf419f0cf73da4de08830beda3648d9f41e Mon Sep 17 00:00:00 2001 From: Hakula Chen Date: Tue, 1 Dec 2026 10:30:43 +0800 Subject: [PATCH 1/5] docs(git-workflow): document PR issue trailer placement --- plugins/hakula-workflow/.claude-plugin/plugin.json | 2 +- plugins/hakula-workflow/skills/git-workflow/SKILL.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/hakula-workflow/.claude-plugin/plugin.json b/plugins/hakula-workflow/.claude-plugin/plugin.json index 82c14c9..7ad5fd9 100644 --- a/plugins/hakula-workflow/.claude-plugin/plugin.json +++ b/plugins/hakula-workflow/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "hakula-workflow", - "version": "2.1.17", + "version": "2.1.18", "description": "Git, release, review, and code-layout conventions for coding agents", "author": { "name": "Hakula", "url": "https://hakula.xyz" }, "repository": "https://github.com/hakulab/plugins", diff --git a/plugins/hakula-workflow/skills/git-workflow/SKILL.md b/plugins/hakula-workflow/skills/git-workflow/SKILL.md index 7c19411..313dbd9 100644 --- a/plugins/hakula-workflow/skills/git-workflow/SKILL.md +++ b/plugins/hakula-workflow/skills/git-workflow/SKILL.md @@ -69,6 +69,7 @@ Write within the repository's structure for reviewers who have not seen the conv - Open with the concrete problem or goal and the resulting behavior. - Give reviewers what they need to assess the change, such as rationale, tradeoffs, measurements, or migration steps. - Report each check you ran on the final head with its result, distinguishing verified behavior from untested limits. Give only the output a reviewer needs to trust it, without commit SHAs or incidental store paths and hashes. +- Place issue trailers (`Closes #`, `Refs #`) at the end of the body after `## Test plan`, separated by a blank line, one trailer per line. - Update the description without asking whenever later pushes, including review fixes, change what it should say, without widening the scope of a merge approval already given. Omit implementation history, such as commit inventories, rebase proofs, and abandoned approaches, unless it explains a current tradeoff, and omit boilerplate sections, generated-by attributions, and emojis unless requested. - Keep local-only paths and internal information, including internal URLs and plain-text references, out of commits and descriptions. From 73aecb079c21206a19b365cc95d7ee9dd5f8e12b Mon Sep 17 00:00:00 2001 From: Hakula Chen Date: Tue, 1 Dec 2026 10:36:45 +0800 Subject: [PATCH 2/5] docs(git-workflow): use Related Issues section for PR issue links --- plugins/hakula-workflow/skills/git-workflow/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hakula-workflow/skills/git-workflow/SKILL.md b/plugins/hakula-workflow/skills/git-workflow/SKILL.md index 313dbd9..fd8fa20 100644 --- a/plugins/hakula-workflow/skills/git-workflow/SKILL.md +++ b/plugins/hakula-workflow/skills/git-workflow/SKILL.md @@ -69,7 +69,7 @@ Write within the repository's structure for reviewers who have not seen the conv - Open with the concrete problem or goal and the resulting behavior. - Give reviewers what they need to assess the change, such as rationale, tradeoffs, measurements, or migration steps. - Report each check you ran on the final head with its result, distinguishing verified behavior from untested limits. Give only the output a reviewer needs to trust it, without commit SHAs or incidental store paths and hashes. -- Place issue trailers (`Closes #`, `Refs #`) at the end of the body after `## Test plan`, separated by a blank line, one trailer per line. +- Place issue links (`Closes #`, `Refs #`) in a dedicated `## Related Issues` section at the end of the body after `## Test plan`, with one bullet per issue (`- Closes #`, `- Refs #`). - Update the description without asking whenever later pushes, including review fixes, change what it should say, without widening the scope of a merge approval already given. Omit implementation history, such as commit inventories, rebase proofs, and abandoned approaches, unless it explains a current tradeoff, and omit boilerplate sections, generated-by attributions, and emojis unless requested. - Keep local-only paths and internal information, including internal URLs and plain-text references, out of commits and descriptions. From d0570bd51f8adfa2d0ea00a5fdd02be39163c176 Mon Sep 17 00:00:00 2001 From: Hakula Chen Date: Tue, 1 Dec 2026 10:39:44 +0800 Subject: [PATCH 3/5] docs(git-workflow): add default PR body layout example --- .../skills/git-workflow/SKILL.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/plugins/hakula-workflow/skills/git-workflow/SKILL.md b/plugins/hakula-workflow/skills/git-workflow/SKILL.md index fd8fa20..9572dc5 100644 --- a/plugins/hakula-workflow/skills/git-workflow/SKILL.md +++ b/plugins/hakula-workflow/skills/git-workflow/SKILL.md @@ -73,6 +73,23 @@ Write within the repository's structure for reviewers who have not seen the conv - Update the description without asking whenever later pushes, including review fixes, change what it should say, without widening the scope of a merge approval already given. Omit implementation history, such as commit inventories, rebase proofs, and abandoned approaches, unless it explains a current tradeoff, and omit boilerplate sections, generated-by attributions, and emojis unless requested. - Keep local-only paths and internal information, including internal URLs and plain-text references, out of commits and descriptions. +When no repository template overrides the structure, use this layout (omitting `## Related Issues` when there are no linked issues): + +```markdown +## Summary + +- ... + +## Test plan + +- [x] ... + +## Related Issues + +- Closes # +- Refs # +``` + ### Publication #### Pushing and rebasing From d8fb5e20e18323191e45803e758b99b4046af65c Mon Sep 17 00:00:00 2001 From: Hakula Chen Date: Tue, 1 Dec 2026 10:43:55 +0800 Subject: [PATCH 4/5] docs(git-workflow): rename PR section to Related --- plugins/hakula-workflow/skills/git-workflow/SKILL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/hakula-workflow/skills/git-workflow/SKILL.md b/plugins/hakula-workflow/skills/git-workflow/SKILL.md index 9572dc5..2a41fc7 100644 --- a/plugins/hakula-workflow/skills/git-workflow/SKILL.md +++ b/plugins/hakula-workflow/skills/git-workflow/SKILL.md @@ -69,11 +69,11 @@ Write within the repository's structure for reviewers who have not seen the conv - Open with the concrete problem or goal and the resulting behavior. - Give reviewers what they need to assess the change, such as rationale, tradeoffs, measurements, or migration steps. - Report each check you ran on the final head with its result, distinguishing verified behavior from untested limits. Give only the output a reviewer needs to trust it, without commit SHAs or incidental store paths and hashes. -- Place issue links (`Closes #`, `Refs #`) in a dedicated `## Related Issues` section at the end of the body after `## Test plan`, with one bullet per issue (`- Closes #`, `- Refs #`). +- Place issue and request links (`Closes #`, `Refs #`) in a dedicated `## Related` section at the end of the body after `## Test plan`, with one bullet per link (`- Closes #`, `- Refs #`). - Update the description without asking whenever later pushes, including review fixes, change what it should say, without widening the scope of a merge approval already given. Omit implementation history, such as commit inventories, rebase proofs, and abandoned approaches, unless it explains a current tradeoff, and omit boilerplate sections, generated-by attributions, and emojis unless requested. - Keep local-only paths and internal information, including internal URLs and plain-text references, out of commits and descriptions. -When no repository template overrides the structure, use this layout (omitting `## Related Issues` when there are no linked issues): +When no repository template overrides the structure, use this layout (omitting `## Related` when there are no linked issues or requests): ```markdown ## Summary @@ -84,7 +84,7 @@ When no repository template overrides the structure, use this layout (omitting ` - [x] ... -## Related Issues +## Related - Closes # - Refs # From 2948cc73b6fa06f2d87ee7a369d1bbd82546b3a7 Mon Sep 17 00:00:00 2001 From: Hakula Chen Date: Tue, 1 Dec 2026 10:49:57 +0800 Subject: [PATCH 5/5] docs(git-workflow): tighten Related section wording --- plugins/hakula-workflow/skills/git-workflow/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hakula-workflow/skills/git-workflow/SKILL.md b/plugins/hakula-workflow/skills/git-workflow/SKILL.md index 2a41fc7..8c9f243 100644 --- a/plugins/hakula-workflow/skills/git-workflow/SKILL.md +++ b/plugins/hakula-workflow/skills/git-workflow/SKILL.md @@ -69,7 +69,7 @@ Write within the repository's structure for reviewers who have not seen the conv - Open with the concrete problem or goal and the resulting behavior. - Give reviewers what they need to assess the change, such as rationale, tradeoffs, measurements, or migration steps. - Report each check you ran on the final head with its result, distinguishing verified behavior from untested limits. Give only the output a reviewer needs to trust it, without commit SHAs or incidental store paths and hashes. -- Place issue and request links (`Closes #`, `Refs #`) in a dedicated `## Related` section at the end of the body after `## Test plan`, with one bullet per link (`- Closes #`, `- Refs #`). +- Place issue and request links in a dedicated `## Related` section at the end of the body, with one bullet per link (`- Closes #`, `- Refs #`). - Update the description without asking whenever later pushes, including review fixes, change what it should say, without widening the scope of a merge approval already given. Omit implementation history, such as commit inventories, rebase proofs, and abandoned approaches, unless it explains a current tradeoff, and omit boilerplate sections, generated-by attributions, and emojis unless requested. - Keep local-only paths and internal information, including internal URLs and plain-text references, out of commits and descriptions.