Skip to content
TrustedSkillsbeta
Back to all skills

Supabase Policy Guardrails

Listed
jeremylongshore·vlatest·database·MIT

Enforces Supabase Row Level Security (RLS) policies and custom guardrails to prevent unauthorized data access.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add jeremylongshore/tons-of-skills-marketplace --skill supabase-policy-guardrails -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

jeremylongshore

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 396 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as jeremylongshore/claude-code-plugins-plus-skills.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill allows AI agents to generate and apply Row Level Security (RLS) policies within a Supabase database. It can create complex RLS rules based on user roles, data attributes, and other contextual factors, ensuring secure and granular access control. The skill streamlines the process of defining and enforcing these policies directly from natural language instructions.

When to use it

  • Enforcing User-Specific Data Access: You need to restrict a user's ability to view or modify specific rows in a table based on their role (e.g., only managers can see salary information).
  • Implementing Regional Restrictions: You want to ensure that data is accessible only within certain geographic regions, using IP address checks in RLS policies.
  • Automating Policy Updates: You need to dynamically adjust access controls as your application evolves and new security requirements arise.
  • Creating Secure APIs: Generate RLS policies to protect API endpoints from unauthorized data access.

Key capabilities

  • Generates Row Level Security (RLS) policies.
  • Supports user role-based access control.
  • Can incorporate data attributes into policy rules.
  • Allows for dynamic policy creation based on context.

Example prompts

  • "Create an RLS policy for the orders table that only allows users with the 'admin' role to see all orders."
  • "Generate a policy so users can only view their own profile data in the users table."
  • “Write a policy restricting access to the products table based on the user’s region.”

Tips & gotchas

  • Requires familiarity with Supabase and Row Level Security concepts. The AI agent will generate SQL, but you'll need to understand how RLS works in Supabase to validate and deploy it correctly.