supabase-postgres-best-practices
Skill0 starsChanged 3 months agoLicence not identifiedView on GitHub
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
94 other projects use a version of this, 66 of them edited; 6 of 66 edited versions we compared changed its rules; 3 new projects in the last 4 weeks, against 3 the 4 before.
How people change it
6 of 66 edited versions changed its rules.
Of the 66 edited versions we compared: 60 keep every rule, 6 made changes of their own.
Rules people drop
- Read individual rule files for detailed explanations and SQL examples:dropped by 1 of 6
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 3 new projects took it in the last 4 weeks, 1× the 4 weeks before.thin data
Most recently taken up by
- Masih-0x3/agent-skillsedited, first seen Nov 29, 2026
- Dannykkh/skill-olympusedited, first seen Nov 29, 2026
- xfstudio/skillsedited, first seen Nov 29, 2026
- autohandai/community-skillsedited, first seen Nov 29, 2026
- alexj11324/Mikkaword for word, first seen Nov 29, 2026
- Folken2/skillsedited, first seen Nov 29, 2026
Used with
Projects with it also use supabase, building-native-ui and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillsupabase
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector).
Also in 31 projects that use this
OpenAISkillbuilding-native-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
Also in 3 projects that use this
VercelSkillvercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
Also in 4 projects that use this
DatabricksSkillshadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
Also in 11 projects that use this
VercelSkillai-elements
Build AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.
Also in 3 projects that use this
studio-lgtmSkillmake-interfaces-feel-better
Apply design engineering best practices to polish UI components - use when reviewing or improving interfaces, animations, typography, or interaction details.
Also in 3 projects that use this
- +1 more from openai
Other versions94 projects use a version of this.
Word for word · 24
- supabase/agent-skills★ 2.8k100% same
- imbhargav5/nextbase-nextjs-supabase-starter★ 827100% same
- syahiidkamil/Software-Engineer-AI-Agent-Atlas★ 406100% same
- midudev/bigibai-2025★ 126100% same
- Dimon94/dverity★ 107100% same
- Dimon94/skills★ 107100% same
- alexj11324/Mikka★ 90100% same
- aspectly-labs/Mikka★ 90100% same
- NiazMorshed2007/jcr★ 19100% same
- schornai/schornai★ 10100% same
14 more not listed
Edited · 66
- openai/plugins★ 8.4k88% same
- crbnos/carbon★ 2.9k91% same
- FidelusAleksander/ghcertified★ 1k91% same
- JetBrains/skills★ 38680% same
- julianromli/ai-skills★ 24473% same
- happycapy-ai/Happycapy-skills★ 13788% same
- laguagu/claude-code-nextjs-skills★ 7479% same
- vobase/vobase★ 6088% same
- PracticalSwan/agent-skills★ 2547% same
- ruloCode/hermes-os★ 1791% same
56 more not listed
Wrote their own version · 4
- baekenough/oh-my-customcode★ 47same name
- drubleat/mobile-stack-skills★ 4same name
- ecocee/skills★ 1same name
- kanjiandahai/skills-collection★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auth-implementation-patternsSkill
- find-skillsSkill
- frontend-designSkill
- oauthSkill
- prototypeSkill
The file
We split this skill into the rules it gives an agent
1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 68 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

