概要
This skill provides a comprehensive framework for implementing secure and user-friendly identifier strategies in PostgreSQL and Supabase environments. It advocates for a hybrid approach that leverages standard UUIDs for internal primary keys and auth.users references while using prefixed Nanoids for public APIs, URLs, and data exports. By offering production-ready SQL templates, TypeScript type definitions, and standardized prefix conventions (like usr_ or org_), it helps developers build consistent, readable, and secure database schemas that prevent internal ID leakage.