Review pr

From highcharts/highcharts · View interactive version

Review pr is an AI agent skill from the GitHub repository highcharts/highcharts. Review Highcharts code and pull requests (PRs), branch diffs, staged diffs or selected files for correctness, performance, API consistency, accessibility, security, docs/doclets and tests using CODE_REVIEWS.md.

How to use this skill

Skill file

Highcharts PR Review

Use this skill when reviewing a PR, branch diff, staged diff, or selected files.

Inputs

Checklist

  1. Read context first. Always CODE_REVIEWS.md; the rest only when relevant:
  1. Check PR metadata, if available, before the code:
  1. Verify correctness:
  1. Verify performance and size:
  1. Verify docs/doclets/types:
  1. Verify tests:
  1. For PRs from outside the team, check the rules in CONTRIBUTING.md. Needs PR data from GitHub; without it, skip this step.
  1. Verify security:

Security review

During normal security review, pay attention to changes affecting untrusted input, HTML/URL filtering, file paths or network requests, auth/credentials, dependencies or install hooks, CI permissions and publishing.

Suggest a security plugin review to the user when normal review identifies a plausible security concern but cannot confidently establish its reachability, impact or scope. Explain the concern, what remains unresolved and what further analysis would help resolve it. If normal review sufficiently establishes the issue and its scope, report it directly without routinely suggesting a plugin. A confirmed issue may still need deeper analysis of its reachability, impact or scope.

For such a suggestion:

When making this suggestion, recommend an available plugin to the user with a scope limited to the current diff or relevant paths that could resolve the uncertainty. Keep the recommendation proportionate. Obtain explicit user approval before invoking a plugin or starting any scan. Only after approval, verify its supported invocation, scope and baseline from its installed instructions and run within the approved scope. Do not auto-install plugins. If unavailable, tell the user, continue normal review, and suggest setup only when relevant.

Keep source within approved access and data-handling boundaries; do not upload it elsewhere or expose secrets. Plugin review complements tests, existing SAST and human review. Validate findings against SECURITY.md and reachable code before treating them as vulnerabilities. Applying fixes or publishing findings needs authorization; the recommendation grants neither.

Output format

For each finding:

Then provide:

  1. Verdict: Ready / Needs changes / Needs discussion
  2. Blocking issues
  3. Non-blocking improvements
  4. Skipped checks and why
  5. Draft reply, if step 7 found broken rules
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.