Skip to content

docs: strengthen inline suggestion guidance in pr-review skill - #1197

Merged
max-sixty merged 1 commit into
mainfrom
bot/inline-suggestions-guidance
Feb 25, 2026
Merged

max-sixty merged 1 commit into
mainfrom
bot/inline-suggestions-guidance

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Strengthens the pr-review skill to make inline suggestions mandatory for concrete fixes, not just preferred
  • Replaces the vague "use code suggestions" bullet with an explicit rule: if you can name the file, line, and new text, it must be an inline suggestion — never a code block in the review body
  • Adds an anti-pattern / correct-pattern example pair so the distinction is visually clear

Motivated by #1161's first review, where the bot suggested a frontmatter description fix as a code block in the review body instead of as an inline suggestion on line 3.

Closes #1162

Test plan

  • Next bot PR review with a concrete fix should post it as an inline suggestion block, not a code block in the body

🤖 Generated with Claude Code

The bot was posting concrete fixes as code blocks in the review body
instead of as inline suggestions on the specific line. This made
suggestions harder to apply — the author had to find the line and
copy-paste manually instead of clicking "Apply suggestion".

Strengthen the guidance in two ways:
- Replace the "use code suggestions" bullet with an explicit rule
  that concrete fixes must always be inline suggestions, never code
  blocks in the review body
- Add an anti-pattern / correct-pattern example pair to the Posting
  section to make the distinction visually clear

Closes #1162

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@max-sixty
max-sixty merged commit d2ebc5e into main Feb 25, 2026
21 checks passed
@max-sixty
max-sixty deleted the bot/inline-suggestions-guidance branch February 25, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inline suggestions from @worktrunk-bot

2 participants