Skip to content

fix(pr-review-toolkit): make code-reviewer frontmatter valid YAML#48344

Open
Rohan5commit wants to merge 1 commit intoanthropics:mainfrom
Rohan5commit:fix/pr-review-toolkit-code-reviewer-frontmatter-20260415
Open

fix(pr-review-toolkit): make code-reviewer frontmatter valid YAML#48344
Rohan5commit wants to merge 1 commit intoanthropics:mainfrom
Rohan5commit:fix/pr-review-toolkit-code-reviewer-frontmatter-20260415

Conversation

@Rohan5commit
Copy link
Copy Markdown

Summary

  • rewrite the code-reviewer frontmatter description as a YAML block scalar
  • preserve the embedded trigger examples while making the agent file parse cleanly

Related Issue

Guideline Alignment

  • one focused syntax fix in a single maintained plugin file
  • no behavioral or unrelated review workflow changes

Validation

  • ruby -e 'require "yaml"; ...' to confirm the frontmatter parses and keeps the examples
  • git diff --check

Copilot AI review requested due to automatic review settings April 15, 2026 07:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes YAML frontmatter parsing for the code-reviewer agent by converting the description field into a valid YAML block scalar while preserving the embedded example markup.

Changes:

  • Replaced the single-line description: string (with escaped newlines and embedded tags) with a YAML block scalar (description: |).
  • Preserved the existing <example> / <commentary> / <function ...> content in a YAML-safe format.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants