CloudBase PostgreSQL Development

•
32
•

Builds, manages, and queries PostgreSQL databases in Tencent CloudBase using schema migrations, Row-Level Security, and JS SDK v3 APIs.

CloudBase PostgreSQL Development equips Claude with specialized knowledge for architecting, querying, and managing PostgreSQL databases within Tencent CloudBase environments. It guides developers through PG-mode environment verification, versioned schema migrations via managePgDatabase, and safe DML execution while preventing common NoSQL and MySQL query anti-patterns. The skill provides step-by-step patterns for configuring Row-Level Security (RLS), managing user permissions across anon and authenticated roles, and implementing frontend and backend CRUD workflows using the CloudBase JS SDK v3 app.rdb() interface.

Key Features

01Row-Level Security (RLS) policy configuration and role-based access control (anon, authenticated, service_role)
0232 GitHub stars
03Direct database schema inspection and safe SQL operations via CloudBase PG MCP tools
04Automated, version-controlled PostgreSQL schema migrations and rollback management
05PG storage v3 bucket upload integration and secure signed URL generation guidance
06CloudBase JS SDK v3 relational database (app.rdb()) syntax and CRUD pattern enforcement

Use Cases

01Implementing secure multi-tenant data isolation using Postgres policies and role tokens
02Converting legacy CloudBase NoSQL queries to modern JS SDK v3 relational PostgreSQL operations
03Architecting relational schemas and RLS access rules for web apps and admin dashboards