Individual skill

postgres-patterns

PostgreSQL 数据库模式,用于查询优化、架构设计、索引和安全性。基于 Supabase 最佳实践。

skills/postgres-patterns/SKILL.md

Read pinned source

Source commit dfbf9467b90dfd29bffa842c4e0a6977112900e2

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Local scripts
Last checked
Nov 3, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
2,025
Repository last updated
Mar 5, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# PostgreSQL 最佳实践模式 (PostgreSQL Patterns)

PostgreSQL 最佳实践快速参考。如需详细指导,请使用 `database-reviewer` 智能体 (Agent)。

## 何时激活

- 编写 SQL 查询或迁移脚本
- 设计数据库架构 (Schema)
- 排查慢查询问题
- 实现行级安全性 (Row Level Security, RLS)
- 设置连接池 (Connection Pooling)

## 快速参考