PostgreSQL 代码审查
原名:postgresql-code-review
针对 PostgreSQL 特性、数据类型、事务和安全审查 SQL 与数据库代码。
中文 Skills 技能说明
适合合并查询、函数或迁移前检查。默认只读分析参数化、锁、空值、JSONB 和权限等问题;执行迁移、修改结构或生产数据前必须备份并确认环境。
上游能力依据
上游原始适用说明:PostgreSQL-specific code review assistant focusing on PostgreSQL best practices, anti-patterns, and unique quality standards. Covers JSONB operations, array usage, custom types, schema design, function optimization, and PostgreSQL-exclusive security features like Row Level Security (RLS).
上游 SKILL.md 主要章节(保留原文标题):
- 🎯 PostgreSQL-Specific Review Areas
- JSONB Best Practices
- Array Operations Review
- PostgreSQL Schema Design Review
- Custom Types and Domains
- 🔍 PostgreSQL-Specific Anti-Patterns
- Performance Anti-Patterns
- Schema Design Issues
- Function and Trigger Issues
- 📊 PostgreSQL Extension Usage Review
使用边界
先确认数据口径、只读或写入权限以及备份方案。查询结果需要说明范围,任何结构或数据变更都应先预览并人工确认。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/3f0bba475ec40b9680e1d0311b9caffeec5ad4c3/skills/postgresql-code-review
适用范围
平台:linux、macos、windows;标签:数据与数据库、PostgreSQL 代码审查
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。