Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Enforce PostgreSQL and Prisma schema integrity v1.0.0

Use this resource to design an integrity-checked PostgreSQL and Prisma schema with RLS

New

  • 405 downloads
  • 153 likes
  • 108 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install postgres-schema-integrity-rls

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent aligns CHECK constraints with TypeScript types, generates migrations before applying them and writes Row-Level Security policies. It also applies naming conventions and UUIDv7 primary keys.

Mostly picked by

Updated November 2, 2026

Card for the “Enforce PostgreSQL and Prisma schema integrity” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/postgres-integrity.md: constraints and integrity
  • references/migration-safety.md: zero-downtime migrations
  • references/rls-security.md: Row-Level Security policies

Good fit for

  • You are designing the tables of a multi-tenant SaaS
  • A migration must be applied without interrupting the service

Not for

    Tags

    • postgresql
    • schema
    • rls

    About

    You say

    “Review this Prisma schema and add RLS policies per organization.”

    Card for the “Enforce PostgreSQL and Prisma schema integrity” skill

    Skill published by oakoss under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design an integrity-checked PostgreSQL and Prisma schema with RLS
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/migration-safety.md8.8 KB
    • references/postgres-integrity.md3.2 KB
    • references/prisma-architecture.md3.1 KB
    • references/rls-security.md2.8 KB
    • SKILL.md8 KB

    Origin and licence

    Listed unmodified

    Author
    oakoss
    Source
    github.com/oakoss/agent-skills/tree/85e3a3919d9e0ec7f7302a5143ec4b3e66f5f6ad/skills/db-enforcer
    Licence
    MIT

    Notice

    « db-enforcer » (oakoss, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.