Skip to content

fix: streamline /review skill to skip preflight check#326

Merged
nhorton merged 1 commit intomainfrom
fix/streamline-review-skill
Apr 1, 2026
Merged

fix: streamline /review skill to skip preflight check#326
nhorton merged 1 commit intomainfrom
fix/streamline-review-skill

Conversation

@nhorton
Copy link
Copy Markdown
Contributor

@nhorton nhorton commented Apr 1, 2026

Summary

  • Removes the get_configured_reviews preflight call from the /review skill
  • Goes straight to get_review_instructions, which already returns a clear message when no rules exist
  • Handles the no-rules case inline as a sub-bullet instead of a separate step
  • Reduces one unnecessary MCP round-trip on every review invocation

Test plan

  • Verified the skill still handles the no-rules case via the inline sub-bullet
  • Verified the skill correctly references get_review_instructions tool

🤖 Generated with Claude Code

The review skill was calling get_configured_reviews before
get_review_instructions, adding an unnecessary round-trip. The latter
already returns a clear message when no rules exist, so the preflight
step is redundant. Go straight to get_review_instructions and handle
the no-rules case inline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nhorton nhorton added this pull request to the merge queue Apr 1, 2026
Merged via the queue into main with commit fc8e1bf Apr 1, 2026
5 checks passed
@nhorton nhorton deleted the fix/streamline-review-skill branch April 1, 2026 16:22
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.

1 participant