Skip to content

Add reusable openmc-code-review skill and Copilot Review agent#3842

Open
paulromano wants to merge 7 commits intoopenmc-dev:developfrom
paulromano:review-skill
Open

Add reusable openmc-code-review skill and Copilot Review agent#3842
paulromano wants to merge 7 commits intoopenmc-dev:developfrom
paulromano:review-skill

Conversation

@paulromano
Copy link
Contributor

Description

This PR introduces AI-assisted code review tooling so that the review guidelines live in a single, tool-agnostic skill that can be used by Copilot, Claude Code, Codex, and similar agents. It makes the following updates:

  • .claude/skills/openmc-code-review/SKILL.md: A reusable skill containing the code review procedure. Supports both reviewer mode (PR/branch review) and self-review mode (author preparing changes before submission). Note that I've chosen to put this in the .claude directory because it is recognized by both Claude Code and Copilot.
  • .github/agents/Review.agent.md: A thin Github Copilot custom-agent wrapper that delegates to the openmc-code-review skill, providing a named "Review" persona in Copilot's agent dropdown.
  • .github/copilot-instructions.md: Instructs Copilot to use the openmc-code-review skill when performing automated code reviews triggered directly on the GitHub repository.
  • AGENTS.md (updated): Replaced the inline code-review guidance with a pointer to the openmc-code-review skill, avoiding duplication.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@paulromano paulromano requested a review from jtramm February 27, 2026 02:38
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