·pgsql-test-rls
</>

pgsql-test-rls

Test Row-Level Security (RLS) policies with pgsql-test. Use when asked to "test RLS", "test permissions", "test user access", "verify security policies", or when writing tests for multi-tenant applications.

8Installs·0Trend·@constructive-io

Installation

$npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rls

How to Install pgsql-test-rls

Quickly install pgsql-test-rls AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rls
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: constructive-io/constructive-skills.

SKILL.md

View raw

Test Row-Level Security policies by simulating different users and roles. Verify your security policies work correctly with isolated, transactional tests.

| pg | Superuser client for setup/teardown (bypasses RLS) | | db | User client for testing with RLS enforcement |

When testing operations that should fail, use the savepoint pattern to avoid "current transaction is aborted" errors:

Test Row-Level Security (RLS) policies with pgsql-test. Use when asked to "test RLS", "test permissions", "test user access", "verify security policies", or when writing tests for multi-tenant applications. Source: constructive-io/constructive-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rls
Category
</>Dev Tools
Verified
First Seen
2026-02-28
Updated
2026-03-10

Browse more skills from constructive-io/constructive-skills

Quick answers

What is pgsql-test-rls?

Test Row-Level Security (RLS) policies with pgsql-test. Use when asked to "test RLS", "test permissions", "test user access", "verify security policies", or when writing tests for multi-tenant applications. Source: constructive-io/constructive-skills.

How do I install pgsql-test-rls?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rls Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/constructive-io/constructive-skills