db-impersonate

Community

Emulate users for RLS testing

AuthorGDSDN
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows developers to test Row Level Security (RLS) policies by temporarily emulating authenticated users within a database session, ensuring data access controls function as expected.

Core Features & Use Cases

  • RLS Testing: Simulate different user roles and permissions to validate RLS policies.
  • Session Emulation: Set session claims (like user_id and role) to mimic authenticated users.
  • Use Case: Before deploying a new RLS policy that restricts access to user-specific data, use this Skill to impersonate various users and confirm they can only access their own records and not others'.

Quick Start

Use the db-impersonate skill to emulate user with ID 'a1b2c3d4-e5f6-7890-1234-567890abcdef'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: db-impersonate
Download link: https://github.com/GDSDN/kord-aios/archive/main.zip#db-impersonate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.