fix(skills): start tag annotation with blank line when no custom title - #1239
Conversation
Site previewPreview: https://7cfcddee-site.fullsend-ai.workers.dev Commit: |
ReviewFindingsLow
Info
Previous runReviewFindingsLow
Info
Previous run (2)ReviewFindingsMedium
Previous run (3)ReviewFindingsMedium
Previous run (4)ReviewFindingsNo findings. |
9853151 to
7374761
Compare
ralphbean
left a comment
There was a problem hiding this comment.
I think this needs a tweak before we merge. See inline.
d1501cd to
d55b108
Compare
| still picks up the first category header as `.TagSubject`. Using the tag | ||
| name as subject ensures `.TagSubject == .Tag`, which the goreleaser guard | ||
| suppresses, producing a clean release title with no suffix. | ||
| - **Line 2:** Blank. |
There was a problem hiding this comment.
[low] formatting-inconsistency
The new three-bullet structure (Line 1, Line 2, Lines 3+) differs from the original two-bullet pattern. Making the blank line explicit improves clarity, but consider incorporating it into the Line 1 bullet to maintain a two-item structure.
| If no custom title, **omit the subject line** — start the annotation | ||
| body directly with the highlights. This avoids duplicating the version | ||
| in the release title. | ||
| If no custom title, **use the tag name itself** (e.g. `v0.9.0`) — git's |
There was a problem hiding this comment.
[low] prose-style
Step 4 bolds the negation (do not use) while step 6 bolds the entire phrase (use the tag name itself). Minor emphasis inconsistency — consider bolding just the verb for consistency.
| If no custom title, **omit the subject line** — start the annotation | ||
| body directly with the highlights. This avoids duplicating the version | ||
| in the release title. | ||
| If no custom title, **use the tag name itself** (e.g. `v0.9.0`) — git's |
There was a problem hiding this comment.
[info] documentation-detail
Step 6 explanation includes significantly more technical detail about %(contents:subject) behavior and GoReleaser guard mechanics compared to surrounding sections. Consider moving git internals explanation to a note or near the existing name_template paragraph.
| The answer becomes the tag subject line. If blank, do **not** use the version | ||
| as the subject — leave the subject empty so that GoReleaser's `name_template` | ||
| renders just the tag without duplication. | ||
| The answer becomes the tag subject line. If blank, use the tag name itself as |
There was a problem hiding this comment.
[info] documentation-clarity
Updated step 4 and step 6 now correctly explain the underlying mechanism (setting .TagSubject == .Tag to trigger the guard) rather than the prior incorrect instruction to leave the subject empty. Clear improvement.
ralphbean
left a comment
There was a problem hiding this comment.
LGTM. Steps 4 and 6 are consistent now and the goreleaser guard does the rest. Just needs a rebase to resolve the merge conflict.
git %(contents:subject) skips leading blank lines, so a blank first
line still picks up the first category header as .TagSubject. Using
the tag name itself ensures .TagSubject == .Tag, which the goreleaser
guard suppresses, producing a clean release title.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Hector Martinez <hemartin@redhat.com>
d55b108 to
d719299
Compare
Retro: PR #1239 —
|
Summary
.TagSubject, causing verbose release titles (e.g.v0.9.0: Features - Docs sidebar search filter…) when no custom title is givencutting-releasesskill to require a blank first line instead of "start the body directly with highlights"Closes #1237
Test plan
v0.9.0)vX.Y.Z: Custom Title🤖 Generated with Claude Code