Supabase Postgres 最佳实践
io.github.supabase/agent-skills/supabase-postgres-best-practices
Supabase 维护的 Postgres 最佳实践,涵盖建模、迁移、安全与查询。
“postgres” 共 51 个结果
io.github.supabase/agent-skills/supabase-postgres-best-practices
Supabase 维护的 Postgres 最佳实践,涵盖建模、迁移、安全与查询。
io.github.prisma/skills/prisma-postgres-setup
获取或复用 Prisma Postgres 数据库并连接到应用。
io.github.neondatabase/agent-skills/neon-postgres
提供在 Neon 上使用 Lakebase Postgres 的连接、迁移、分支等最佳实践。
v1.0.3
io.clawhub.ivangdavila/pg
调优、设计并运维 PostgreSQL:慢查询、索引、表结构、迁移、vacuum、锁、复制与备份。当编写 Postgres SQL 或 psql 命令、设计表与索引、阅读 EXPLAIN 执行计划、在线上表执行 DDL 或迁移时使用;当某条查询突然变慢、表体积持续增长而行数却不见涨、autovacuum 跟不上、出现“too many clients already”、副本延迟、死锁与锁等待不断堆积、pg_wal 撑满磁盘,或需要规划升级、恢复、分区方案时同样适用。覆盖连接池与 PgBouncer、全文检索、trigram 与 pgvector 检索、JSONB、角色与行级安全、PITR、扩展,以及托管 Postgres(RDS、Aurora、Cloud SQL、Neon、Supabase)。不适用于跨引擎 SQL 可移植性或 ORM 层建模。
io.github.garrytan/gbrain/postgres-adopt
Detect which gbrain engine is in use (PGLite vs Postgres), prefer Postgres for agent-harness installs, install/provision Postgres (Supabase discovery via SUPABASE_ACCESS_TOKEN, local Postgres, opt-in Docker), and move an existing PGLite brain to Postgres with its history (plan, ask, run). Detection is one engine-free command; the install ladder is one flag.
io.github.garrytan/gbrain/postgres-adopt
检测当前 gbrain 使用的是哪种引擎(PGLite 还是 Postgres),在智能体安装场景中优先选择 Postgres,并安装或开通 Postgres(通过 SUPABASE_ACCESS_TOKEN 发现 Supabase、本地 Postgres、需显式选择的 Docker),再用受保护的引擎迁移把已有的 PGLite brain 搬移过去。检测只需一条与引擎无关的命令,安装阶梯也只需一个参数。
io.github.affaan-m/ECC/postgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices. Use when designing PostgreSQL schemas, indexes, or RLS policies, or when a query is too slow.
io.github.sickn33/agentic-awesome-skills/postgresql-devsec
Administer PostgreSQL databases. Configure replication, backups, and performance tuning. Use when managing PostgreSQL deployments.
io.github.affaan-m/ECC/postgres-patterns
PostgreSQL 数据库模式,涵盖查询优化、Schema 设计、索引与安全,基于 Supabase 最佳实践。适用于设计 PostgreSQL Schema、索引或 RLS 策略,或查询过慢时。
io.github.github/awesome-copilot/migrating-oracle-to-postgres-data-access-code
将 .NET/C# 数据访问代码从 Oracle 迁移到 PostgreSQL(Npgsql)。替换 Oracle NuGet 包,重写 OracleConnection/OracleCommand/OracleDataReader 用法,修正 DbType 映射,更新存储过程调用模式,并适配连接字符串配置。适用于 Oracle 到 PostgreSQL 数据库迁移期间改造 .NET 项目的应用代码层。
io.github.github/awesome-copilot/migrating-oracle-to-postgres-stored-procedures
将 Oracle PL/SQL 存储过程迁移到 PostgreSQL PL/pgSQL。翻译 Oracle 专有语法,保留方法签名与类型锚定参数,适当利用 orafce,并应用显式排序规则映射(仅在合适时使用 COLLATE "C",必要时采用 locale 排序规则)。适用于数据库迁移期间把 Oracle 存储过程或函数转换为 PostgreSQL 等价实现。
io.github.github/awesome-copilot/reviewing-oracle-to-postgres-migration
对照已知行为差异(空字符串、refcursor、类型强转、排序/排序规则、UNION ALL 优化器风险、物化视图刷新要求、时间戳、并发事务等)识别 Oracle 到 PostgreSQL 的迁移风险。在规划数据库迁移、审查迁移产物,或验证集成测试是否覆盖 Oracle/PostgreSQL 差异时使用。
vdevelop
io.github.HoangNguyen0403/agent-skills-standard/database-postgresql
应用 PostgreSQL 在迁移、索引、事务与 ORM 边界方面的标准。用于修改实体、Prisma schema、迁移、RLS,或 PostgreSQL 的查询性能工作。
io.github.github/awesome-copilot/planning-oracle-to-postgres-migration-integration-testing
为 Oracle 到 PostgreSQL 数据库迁移中的 .NET 数据访问代码制定集成测试计划。分析单个项目,识别与数据库交互的仓储、DAO 和服务层,产出结构化测试计划。适用于为迁移后的项目规划集成测试覆盖、确定哪些数据访问方法需要测试,或准备 Oracle 到 PostgreSQL 的迁移验证。
vdevelopment
io.github.latitude-dev/latitude-llm/database-postgres
Drizzle schema、repository、RLS、SqlClient 接线、Postgres 迁移、psql / 重置,或平台映射器(toDomain* / toInsertRow)。
io.github.PostHog/posthog/querying-local-postgres
对本地 Postgres 应用库执行只读 SQL(SELECT、EXPLAIN,以及 SELECT 的 EXPLAIN ANALYZE)。默认本地 URL 为 postgres://posthog:posthog@localhost:5432/posthog,否则使用 DATABASE_URL。在查询本地库、检查表、调试数据或分析查询计划时使用。严禁任何写操作。
io.github.timescale/pg-aiguide/design-postgres-tables
用于通用 PostgreSQL 表设计。**触发时机**——用户要求:设计 PostgreSQL 表、模式或数据模型(新建表与修改现有表时);为 PostgreSQL 选择数据类型、约束或索引;创建用户表、订单表、引用表或 JSONB 模式;了解 PostgreSQL 在规范化、约束或索引方面的最佳实践;设计高频更新、高频 upsert 或 OLTP 风格的表。**关键词**:PostgreSQL schema、table design、data types、PRIMARY KEY、FOREIGN KEY、indexes、B-tree、GIN、JSONB、constraints、normalization、identity columns、partitioning、row-level security。全面覆盖数据类型、索引策略、约束、JSONB 模式、分区与 PostgreSQL 特有最佳实践
io.github.BidingCC/BuildingAI/postgresql-table-design
设计 PostgreSQL 专属模式。涵盖最佳实践、数据类型、索引、约束、性能模式与高级特性
io.github.affaan-m/ECC/postgres-patterns
PostgreSQL 数据库模式,涵盖查询优化、Schema 设计、索引与安全。常见模式、索引类型、数据类型与反模式检测的快速参考,基于 Supabase 最佳实践。
io.github.affaan-m/ECC/postgres-patterns
PostgreSQL 数据库模式,涵盖查询优化、Schema 设计、索引与安全,基于 Supabase 最佳实践。
io.github.affaan-m/ECC/postgres-patterns
PostgreSQL 数据库模式,涵盖查询优化、Schema 设计、索引与安全,基于 Supabase 最佳实践。
io.github.incidentfox/incidentfox/database-postgresql
PostgreSQL 数据库检查与查询。用于查看表结构、运行查询、检查锁、复制状态或长时间运行的查询。
v1.0.0
io.clawhub.jgarrison929/database-operations
在设计数据库架构、编写迁移、优化 SQL 查询、解决 N+1 问题、创建索引、搭建 PostgreSQL、配置 EF Core、实现缓存、分区表或处理任何数据库性能问题时使用。
v1.0.0
io.clawhub.wpank/nodejs-patterns
生产级 Node.js 后端模式:Express/Fastify 搭建、分层架构、中间件、错误处理、校验、数据库集成、认证与缓存。适用于构建 REST API、搭建 Node.js 服务器、实现认证、集成数据库、加入校验/缓存或组织后端工程。关键词:nodejs、express、fastify、typescript、api、rest、middleware、jwt、zod、postgres、mongodb、redis、rate limiting 等。