SkillsReviewed · GitHub

GitHub Copilot Code reviewer custom instructions

Code reviewer is a GitHub Copilot instruction template for developers seeking constructive code reviews, but its broad checklist needs project-specific adaptation. It prioritizes security, performance and code quality, and asks Copilot to explain recommendations, recognize good patterns and clarify unclear intent. Review accuracy and instruction-following reliability are unassessed.

Researched 24 Nov 2026

In short.

Code reviewer is a GitHub Copilot instruction template for developers and teams seeking structured review feedback, but the page provides no evidence of how reliably it finds problems. Its checklist covers exposed credentials, injection vulnerabilities, access controls, inefficient database queries, resource cleanup and maintainability. The feedback guidance emphasizes actionable explanations. Configuration depends on the Copilot platform or IDE, and the JavaScript example illustrates refactoring rather than validated email handling. Costs, licensing terms and operational results are unknown from this page.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the complete Code reviewer page at [https://docs.github.com/api/article/body?pathname=/en/copilot/tutorials/customization-library/custom-instructions/code-reviewer], including its customization notice, instruction block, JavaScript illustration and further-reading list. The original capture is selected-page.txt, with source revision sha256:6206c5c17db02bcca5b78c6885e246dc0193c67e2209d0059ad32e9b87ee55b2. Linked pages and repositories are excluded. No code or Copilot session was executed; setup behavior, review accuracy and operational outcomes remain unassessed.

The overview

identity

The resource is the Code reviewer custom-instruction example in GitHub Copilot’s customization library. The complete page includes a reusable instruction block, customization notes, a JavaScript illustration and further-reading links. Its original address is [https://docs.github.com/api/article/body?pathname=/en/copilot/tutorials/customization-library/custom-instructions/code-reviewer].

assessment

This is a useful starting point for developers who want explicit review priorities and constructive explanations. Its concrete checks make the intended feedback understandable and adaptable. The page establishes what Copilot should consider, but supplies no review transcripts, accuracy measurements or evidence that these instructions improve outcomes.

users

Beginners can use the checklist to understand common review concerns and ask for explanations behind suggested changes. Experienced developers and teams can adapt it to their languages, frameworks and review conventions. Its database, authentication and caching checks will be most relevant when the code actually contains those concerns.

capabilities

The template asks Copilot to look for embedded credentials, SQL injection, cross-site scripting, inadequate input handling and authentication or authorization mistakes. Performance checks include N+1 queries, where processing multiple items triggers repeated database requests, inefficient loops, algorithmic issues, memory leaks, resource cleanup and caching opportunities.

For maintainability, it requests focused functions, descriptive names and appropriate error handling. Feedback should identify actionable changes, explain their purpose, acknowledge sound patterns and ask questions when intent is unclear. These are requested behaviors; successful detection and consistent compliance are unassessed.

Using it

requirements

Using the template as intended requires GitHub Copilot in a context that supports custom instructions. The page says available instruction scopes depend on the platform or IDE. It does not establish eligible subscriptions, supported client versions, required configuration files, repository permissions or the code context available during a review.

mechanism

The Markdown instruction block gives Copilot review priorities and a preferred communication style. It places user-impacting security and performance concerns first while also requesting readability improvements. As instructions, these statements express desired behavior; the page does not establish enforcement, automatic scanning, tool execution or guaranteed coverage of the listed issues.

setup

Adapt the instruction block to the project’s languages and team processes, as the page recommends, then configure it through the custom-instruction mechanism supported by the chosen Copilot platform or IDE. The page links to setup guidance at [https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions].

Platform-specific steps, file placement, activation and instruction precedence are not explained on this page. The linked setup guide’s contents are outside the available evidence.

example

The JavaScript example moves an inline email condition into isValidEmail(email), then assigns the helper’s result to submitButton.enabled. The intended lesson is that extracting a named function can improve readability and make validation logic reusable and easier to test.

By inspection, the condition checks only that the input is truthy, contains an at-sign and exceeds five characters. It does not establish a complete email validator. The helper can also return a falsy input value rather than an explicit Boolean because it uses logical AND. No execution results establish the refactoring’s behavior in an application.

Assessment & evidence

limitations

The checklist contains no framework-specific vulnerability patterns, severity rubric, review coverage measurements or guidance for resolving conflicting instructions. It also does not explain how much repository context Copilot receives. Detection accuracy, missed issues, false positives and runtime performance effects remain unassessed.

The blanket request for readability suggestions may produce additional refactoring feedback even when the most important task is addressing security or performance. That is a potential tradeoff inferred from the wording, not an observed result.

reasoning

The template connects technical checks with understandable feedback: prioritizing user-impacting defects helps direct attention, while explanations and clarifying questions can help developers assess recommendations. Its explicit examples make the desired review focus concrete. These features support its usefulness as a starting checklist, without establishing that Copilot will recognize every relevant defect or propose correct fixes.

alternatives

The page points to Awesome GitHub Copilot Customizations for community instruction examples targeting particular languages and scenarios [https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md]. Those linked examples are outside the available evidence, so their contents, compatibility and relative quality are unknown. Adapting this template with project-specific rules is an option expressly encouraged by the page.

evidence

The evidence comprises the complete Code reviewer page from GitHub Docs at [https://docs.github.com/api/article/body?pathname=/en/copilot/tutorials/customization-library/custom-instructions/code-reviewer]. It directly supports the checklist, feedback style, customization advice and refactoring illustration. It contains no benchmarks, executed review examples or measured outcomes. Linked documentation and repository contents are excluded.

Access & freshness

costs

The page states no price, subscription requirement, usage allowance or review quota. The cost of using these instructions with GitHub Copilot is unknown from this evidence. Public availability of the example does not establish free access to the Copilot features needed to use it.

rights

The page encourages adapting its examples, but the supplied text contains no explicit license or redistribution terms for the instructions or code illustration. Attribution requirements and permission to redistribute the full text are unknown from this evidence.

freshness

The source snapshot was captured on 24 November 2026 at 10:29:38.466 UTC. The supplied page states no publication date, last-updated date or template version. Changes after capture and compatibility with particular Copilot client versions are unknown.

actions

A reasonable adoption step is to tailor the checklist to the project, confirm the supported instruction scope and evaluate feedback on a small, representative code change. Include relevant authentication, database or error-handling concerns, and assess whether recommendations explain impact and offer actionable corrections.

Validate proposed changes independently using the project’s normal review and testing practices. Treat the email helper as a readability illustration and define the intended validation behavior before using similar code. These are suggested next steps; their results are unassessed.

Evidence for this report

selected-page.txtselected · checked 2026-11-24