RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Copilot instructions/supabase/supabase

Copilot instructions

.github/copilot-instructions.md
Copilot instructions

Quality

56/100

Scores the file, not the repository.

Length

476 words

8 headings · 0 code blocks

Repository

108k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
supabase/supabase/.github/copilot-instructions.mdRawGitHub
1# Copilot Code Review Instructions
2 
3## Review Policy — Read This First
4 
5You are a code reviewer for a large TypeScript/Next.js/React monorepo. Your reviews must be **low-noise and high-signal**. The team acts on fewer than 20% of default Copilot suggestions, so every comment you leave must earn its place.
6 
7### Confidence Threshold
8 
9Only comment when you are **>85% confident** the issue is a real bug, security vulnerability, or logic error. If you are unsure, do not comment. Silence is better than noise.
10 
11### What NOT to Comment On
12 
13Our CI pipeline already validates the following. **Never comment on these topics:**
14 
15- **Formatting or whitespace** — Prettier runs on every PR
16- **Linting issues** — ESLint with auto-fix runs on every PR
17- **Type errors** — TypeScript strict-mode typecheck runs on every PR
18- **Typos or spelling** — Automated typo detection runs on every PR
19- **Missing tests for trivial changes** — Handled by topic-specific test instructions
20- **Import ordering or grouping** — Handled by linter
21- **Naming style preferences** (camelCase vs snake_case debates) — Follow existing file conventions
22- **Accessibility attributes on shadcn/Radix UI components** — See `studio-shadcn-components.instructions.md` for details
23 
24### What TO Comment On (Priority Order)
25 
261. **Logic errors and bugs** — Off-by-one, null derefs, wrong conditional, unreachable code, incorrect early returns
272. **Security vulnerabilities** — XSS, SQL injection, auth bypass, secrets in code, unsafe `dangerouslySetInnerHTML`
283. **Race conditions and async bugs** — Missing `await`, unhandled promise rejections, stale closures, effect cleanup issues
294. **Data loss risks** — Destructive operations without confirmation, missing error handling on writes
305. **API contract violations** — Wrong HTTP method, missing auth headers, incorrect request/response shapes
31 
32### Comment Style
33 
34- **Be advisory, not prescriptive.** Use "Consider..." or "This may..." — never demand changes.
35- **One comment per distinct issue.** Do not leave multiple comments about the same underlying problem.
36- **No self-contradictions.** If you suggest a change, do not then flag a problem with your own suggestion.
37- **Do not comment on individual commits.** Review the final state of the PR diff only.
38 
39## Repo Context
40 
41This is a TypeScript/Next.js/React monorepo:
42 
43- `apps/studio/` — Supabase Dashboard (primary review target)
44- `apps/www/` — Marketing site
45- `apps/docs/` — Documentation
46- `packages/common/` — Shared code including telemetry definitions
47 
48## Topic-Specific Guidelines
49 
50Path-specific rules in `.github/instructions/`:
51 
52- **Telemetry**: `studio-telemetry.instructions.md` — event naming, property conventions, feature flag measurement
53- **Testing**: `studio-testing.instructions.md` — test strategy, extraction patterns, coverage expectations
54- **Error Handling**: `studio-error-handling.instructions.md` — error classification, `ErrorMatcher` usage
55- **E2E Tests**: `studio-e2e-tests.instructions.md` — selector priority, anti-patterns (`waitForTimeout`, `force: true`)
56- **Composition Patterns**: `studio-composition-patterns.instructions.md` — avoid boolean props, use compound components
57- **UI Copy**: `studio-copy.instructions.md` → `apps/design-system/content/docs/copywriting.mdx`
58- **shadcn/Radix Components**: `studio-shadcn-components.instructions.md` — accessibility handled by primitives, do not flag
59- **Keyboard Shortcuts**: `studio-shortcuts.instructions.md` — shortcut registry pattern, search-input escape handler, when to flag missing coverage
60 
61These files are scoped to `apps/studio/` and applied automatically during reviews.
62 

Sections

  • Copilot Code Review Instructions
  • Review Policy — Read This First
  • Confidence Threshold
  • What NOT to Comment On
  • What TO Comment On (Priority Order)
  • Comment Style
  • Repo Context
  • Topic-Specific Guidelines

What it covers

lint-formatcode-stylegit-pragent-behaviour

Stack — with the evidence

typescript

(1.00)

node

(1.00)

nextjs

(1.00)

supabase

(1.00)

postgres

(0.90)

monorepo

(0.85)

react

(0.70)

vue

(0.70)

nuxt

(0.70)

tailwind

(0.70)

vite

(0.70)

vitest

(0.70)

playwright

(0.70)

vercel

(0.70)

aws

(0.70)

javascript

(0.60)

swift

(0.60)

jupyter

(0.60)

pnpm

(0.60)

github-actions

(0.60)

python

(0.50)

Format

Copilot instructions

Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.

What the corpus says about it

Repository

Owner
supabase
Language
—
License
—
Archived
no

All configs in this repo

Also in supabase/supabase

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
supabase/supabase.claude/CLAUDE.md · 108kCLAUDE.mdtypescriptnode+19testlint-formatstylearch+197/1003 days ago
supabase/supabase.claude/skills/vercel-composition-patterns/AGENTS.md · 108kAGENTS.mdtypescriptnode+19styleapiuido-not45/1003 days ago
supabase/supabase.github/instructions/studio-composition-patterns.instructions.md · 108kCopilot instructionstypescriptnode+19stylegitapiui+161/1003 days ago
supabase/supabase.github/instructions/studio-copy.instructions.md · 108kCopilot instructionstypescriptnode+19uiagent-behaviourdocs25/1003 days ago
supabase/supabase.github/instructions/studio-e2e-tests.instructions.md · 108kCopilot instructionstypescriptnode+19teststyletesting-strategygit+260/1003 days ago
supabase/supabase.github/instructions/studio-error-handling.instructions.md · 108kCopilot instructionstypescriptnode+19gitdo-not57/1003 days ago
supabase/supabase.github/instructions/studio-shadcn-components.instructions.md · 108kCopilot instructionstypescriptnode+19gituido-not55/1003 days ago
supabase/supabase.github/instructions/studio-shortcuts.instructions.md · 108kCopilot instructionstypescriptnode+19stylegitdo-not61/1003 days ago
supabase/supabase.github/instructions/studio-telemetry.instructions.md · 108kCopilot instructionstypescriptnode+19stylegitdo-notdocs65/1003 days ago
supabase/supabase.github/instructions/studio-testing.instructions.md · 108kCopilot instructionstypescriptnode+19testtypestesting-strategygit+155/1003 days ago
supabase/supabaseapps/studio/CLAUDE.md · 108kCLAUDE.mdtypescriptnode+21testlint-formatstyletesting-strategy+181/1003 days ago
Diff against .claude/CLAUDE.md Diff against .claude/skills/vercel-composition-patterns/AGENTS.md Diff against .github/instructions/studio-composition-patterns.instructions.md Diff against .github/instructions/studio-copy.instructions.md Diff against .github/instructions/studio-e2e-tests.instructions.md Diff against .github/instructions/studio-error-handling.instructions.md Diff against .github/instructions/studio-shadcn-components.instructions.md Diff against .github/instructions/studio-shortcuts.instructions.md Diff against .github/instructions/studio-telemetry.instructions.md Diff against .github/instructions/studio-testing.instructions.md Diff against apps/studio/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63Copilot instructionstypescriptreact+7buildlint-formatstylearch+4100/1003 days ago
HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17Copilot instructionsnodejavascriptsetupbuildtestlint-format+7100/1003 days ago
louislam/uptime-kuma.github/copilot-instructions.md · 90kCopilot instructionstypescriptjavascript+10setupbuildtestlint-format+9100/1003 days ago
JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31kCopilot instructionstypescriptnode+7buildlint-formatstylearch+397/1002 days ago
bagisto/bagisto.github/copilot-instructions.md · 28kCopilot instructionsphplaravel+8setupbuildteststyle+597/1003 days ago
darkmatter/nixmac.github/copilot-instructions.md · 24Copilot instructionstypescriptrust+14setupbuildtestlint-format+896/1003 days ago
nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32Copilot instructionstypescriptnode+8setupbuildtestlint-format+1196/1003 days ago
thangaram611/second-brain.github/copilot-instructions.md · 0Copilot instructionstypescriptnode+12setupteststylearch+496/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack