Skip to content

Instantly share code, notes, and snippets.

@harupy
Last active February 19, 2026 13:27
Show Gist options
  • Select an option

  • Save harupy/6af74c5befb111187ca669f1dc96ef5c to your computer and use it in GitHub Desktop.

Select an option

Save harupy/6af74c5befb111187ca669f1dc96ef5c to your computer and use it in GitHub Desktop.
Real-world Copilot code review instructions examples from public GitHub repos

Real-World Copilot Code Review Instructions Examples

A curated list of .github/instructions/code-review.instructions.md and similar files found across public GitHub repositories.

Highlights

Highly Customized (Project-Specific Rules)

  • dragonflydb/dragonfly — C++ in-memory datastore. Severity tiers (critical/important/suggestion), project-specific anti-patterns with code examples (e.g. "NEVER use std::mutex"), false positive suppression section, example good vs bad comments.
  • kumahq/kuma — CNCF service mesh (Go). CoVe (Chain of Verification) methodology — mandatory 3-step verify/answer/self-critique process. Confidence thresholds (95%+ block, 80%+ change, 70%+ comment, <70% skip). Kuma-specific checks for xDS, KDS, policy patterns.
  • apache/hudi-rs — Apache Hudi Rust lakehouse. Multi-round review behavior (handles subsequent commits), Hudi-specific semantics (timeline ops, partition pruning), Arrow/DataFusion integration checks, Rust-specific patterns (unwrap() flags, error context).
  • plentymarkets/plentyshop-pwa — Vue/Nuxt e-commerce PWA. Detailed component architecture rules (composables vs modules, @storefront-ui/vue usage), test philosophy (avoid testing implementation details), block/settings backward compatibility requirements.
  • BrasilAPI/BrasilAPI — Brazilian public API (Node.js). Written in Portuguese. Extremely thorough — mandatory rejection criteria (breaking API changes, missing docs, missing E2E tests), cost awareness (Vercel hosting), full review template with decision framework. One of the most complete examples.
  • botpress/growth — Chatbot platform (TypeScript). Comment categories with emoji tags (issue/suggestion/question/praise/todo/nitpick), real examples from actual PRs, special sections for new integrations vs bug fixes vs features.
  • kaltura/server — Media platform (PHP). Detailed PHP coding conventions (naming, indentation, spacing), custom prompts for different review modes (security audit, performance check, dependency review, cache invalidation).
  • gregrickaby/viewer-for-reddit — Next.js 16 app. P1/P2/P3 priority levels, extensive correct vs incorrect code examples for every pattern (XSS, race conditions, data fetching), explicit approval criteria checklist.

Concise & Opinionated (Strong Signal-to-Noise)

  • Amsterdam/zwd-backend — Django DRF. Short and punchy. Strong "What NOT to Comment On" section. Good vs bad comment examples showing the difference between hedging ("consider adding an index") and being direct ("Add database index on created_at").
  • UltimateHackingKeyboard/firmware — Embedded C firmware. Just 3 lines: focus on functional aspects, don't flag magic constants unless truly needed, don't complain about missing comments without good reason.
  • dentsusoken/iPLAss — Java low-code platform. Uses prefix tags ([must], [imo], [ask], [nits], [fyi]). Reviews written in Japanese.
  • allegro/blog — Tech blog. Minimal — just points to a checklist in the main copilot-instructions.md for reviewing blog posts.

Framework-Specific

  • sergeyklay/oar — Python project. Scope-based (correctness, type safety, architecture, performance, security, style). "Reject On Sight" list (any type, direct DB imports in components, dead code without issue ref). Documentation hygiene rules.
  • radius-project/radius — Microsoft cloud-native platform (Go). Step-by-step review process (analyze → feedback → validate). Detailed unit test review criteria. References language-specific sub-instructions.
  • OpenCTI-Platform/opencti — Cyber threat intelligence platform. Generic security/performance/quality checklist with code examples.

More Repositories

.github/instructions/code-review.instructions.md

Other Review Instruction Filenames

.copilot-review-instructions.md / .github/copilot-review-instructions.md

Other Formats

How to Search for More

# Search for code-review instruction files
gh api 'search/code?q=filename:code-review.instructions.md+path:.github/instructions&per_page=100' \
  --jq '.items[] | "\(.repository.full_name) -> \(.path)"'

# Search for review instruction files (broader)
gh api 'search/code?q=filename:review.instructions.md+path:.github/instructions&per_page=50' \
  --jq '.items[] | "\(.repository.full_name) -> \(.path)"'

# Search copilot-review-instructions.md
gh api 'search/code?q=filename:copilot-review-instructions.md&per_page=50' \
  --jq '.items[] | "\(.repository.full_name) -> \(.path)"'

# Search copilot-instructions.md mentioning "code review"
gh search code --filename copilot-instructions.md "code review"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment