Skip to content
Free and open to everyone. The lessons keep improving thanks to your feedback.
Language : EN

Data, databases and deployment Checked against documentation Intermediate

supabase-postgres-best-practices

supabase/agent-skills

Bonnes pratiques Postgres (requêtes, index, RLS)

The skill descriptions are in French for now. The interface is in English; the pages will be translated later.

This description is still being proofread: the technical information is checked, the wording has not yet been validated by a human.

What it does

Donne à l'agent un recueil de bonnes pratiques Postgres : choix des index, requêtes rapides, connexions, verrous, schéma de tables et règles d'accès par ligne (RLS).

Who it is for

Pour toi qui construis une base de données Postgres et veux éviter les erreurs de lenteur ou d'accès aux données.

Example requests

  • « Mon tableau d'utilisateurs est lent, trouve quels index ajouter. »
  • « Vérifie que mes règles RLS empêchent un client de voir les données d'un autre. »
  • « Dessine le schéma de tables pour une appli de réservations. »

Limits

  • Il faut une base Postgres ; les règles valent même hors Supabase.
  • Ce sont des conseils de lecture : l'agent doit encore adapter chaque règle à ta base réelle.
  • Une modification de base en production reste à relire par toi avant de l'appliquer.

Install this skill

Prerequisites : Base Postgres

Copy the command, paste it into your terminal (Mac) or PowerShell (Windows), then confirm yourself when the program asks.

Command (latest published version)

npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practices -a claude-code

The npx command needs Node.js 22.20 or later. Windows : si la création de liens échoue : ajouter --copy (non testé).

Command pinned to the checked version

Command pinned to the checked version

npx skills add supabase/agent-skills@c9be0e931b7930f7d02126d04774d904c381e7d7 --skill supabase-postgres-best-practices -a claude-code

Command checked against the documentation, not yet tried by Neurylio.

Before installing. Read the SKILL.md file on GitHub, check where the skill comes from and what it can do. The lessons of module 7 explain how:

Back to the library