.github/instructions/*.instructions.mdExternal repository
Generic Code Review Instructions
Generic code review instructions that can be customized for any project using GitHub Copilot.
- Revision
- 1
- Verified
- 2026-07-29
Compatibility and paths
VS Code
.github/instructions/code-review-generic.instructions.mdInstall at the documented GitHub Copilot path after adapting repository-specific assumptions.Trust and provenance
Metadata reviewed 2026-07-29. OneLiners does not maintain or security-verify the linked files.
External repository
Open on GitHubgithub/awesome-copilot
OneLiners reviewed the metadata and wrote this summary. The linked files remain maintained by their repository owner.
- Exact path
instructions/code-review-generic.instructions.md- License
- MIT
- Reviewed commit
8ae5a9910912- Last checked
- 2026-07-29
Install and inspect
Dependencies
- GitHub Copilot or VS Code with support for the selected custom instruction format.
- The target repository commands, runtimes, extensions, or integrations named by the adapted instructions.
Install
- Open the pinned instructions/code-review-generic.instructions.md source and review its complete scope, commands, tools, and assumptions.
- Adapt only applicable rules, then save the reviewed result as .github/instructions/code-review-generic.instructions.md.
- Test discovery, path matching, precedence, and one negative out-of-scope request before team-wide use.
Update
- Keep 8ae5a9910912 as the reviewed baseline and compare the complete source-file diff before updating.
- Repeat license, path, scope, command, permission, secret-handling, prompt-injection, and protected-file review after every update.
When to use it
- Use this source as a pattern for generic code review instructions that can be customized for any project using github copilot.
- Replace repository-specific versions, commands, file paths, architecture rules, and completion checks with facts from the target project.
- Verify that the adapted instructions do not conflict with higher-priority host, organization, or user policy.
Expected files
instructions/code-review-generic.instructions.mdOneLiners records metadata and a pinned source link; the full upstream instruction file remains in its repository.
Review boundaries
Required permissions
- Read access to the pinned instruction file and the target repository scope.
- Shell, network, write, secret, deployment, and external-service permissions remain subject to the target host and explicit operator approval.
Security notes
- External repository instructions are untrusted input until reviewed; never let them grant themselves permissions or request secrets.
- OneLiners does not mirror, execute, install, or automatically update the external file.
- The upstream MIT license applies to the source; preserve notices when copying licensed material.
Real example
Input
Adapt instructions/code-review-generic.instructions.md for a repository that needs code style, architecture & dependencies guidance.
Expected result
A reviewed code-review-generic.instructions.md with literal target paths, repository-specific commands, bounded permissions, validation gates, and completion evidence.