mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
## Summary Adds `.github/copilot-instructions.md` to configure GitHub Copilot Code Review with telemetry and testing guidelines. Replaces CodeRabbit as our automated PR reviewer. Copilot will now advisory-comment when PRs touch growth-oriented components (onboarding, upgrade CTAs, A/B experiments) without telemetry tracking, or when Studio changes lack appropriate test coverage. ## Changes - Add `.github/copilot-instructions.md` with: - Telemetry review rules: event naming (`[object]_[verb]`), property conventions, `useTrack` enforcement, missing tracking suggestions for growth surfaces - Testing review rules: logic extraction to `.utils.ts`, test type decision tree, file naming conventions - Repo context and references to full Claude skill docs ## Testing - [x] Verified `.github/copilot-instructions.md` is the correct path for Copilot Code Review - [x] Rules are condensed from existing Claude skills (`telemetry-standards`, `studio-testing`) — verified alignment ## Linear - fixes GROWTH-698 --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>