pgsql-test-rls とは?
pgsql-test を使用して行レベル セキュリティ (RLS) ポリシーをテストします。 「RLS のテスト」、「権限のテスト」、「ユーザー アクセスのテスト」、「セキュリティ ポリシーの検証」を求められた場合、またはマルチテナント アプリケーションのテストを作成する場合に使用します。 ソース: constructive-io/constructive-skills。
pgsql-test を使用して行レベル セキュリティ (RLS) ポリシーをテストします。 「RLS のテスト」、「権限のテスト」、「ユーザー アクセスのテスト」、「セキュリティ ポリシーの検証」を求められた場合、またはマルチテナント アプリケーションのテストを作成する場合に使用します。
コマンドラインで pgsql-test-rls AI スキルを開発環境にすばやくインストール
ソース: constructive-io/constructive-skills。
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:
pgsql-test を使用して行レベル セキュリティ (RLS) ポリシーをテストします。 「RLS のテスト」、「権限のテスト」、「ユーザー アクセスのテスト」、「セキュリティ ポリシーの検証」を求められた場合、またはマルチテナント アプリケーションのテストを作成する場合に使用します。 ソース: constructive-io/constructive-skills。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rlspgsql-test を使用して行レベル セキュリティ (RLS) ポリシーをテストします。 「RLS のテスト」、「権限のテスト」、「ユーザー アクセスのテスト」、「セキュリティ ポリシーの検証」を求められた場合、またはマルチテナント アプリケーションのテストを作成する場合に使用します。 ソース: constructive-io/constructive-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/constructive-io/constructive-skills --skill pgsql-test-rls インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/constructive-io/constructive-skills