一键导入
database-reviewer
PostgreSQL specialist for query optimization, schema design, security, and performance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
PostgreSQL specialist for query optimization, schema design, security, and performance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.
Create distinctive, production-grade frontend interfaces with high design quality.
Basic security review for common vulnerabilities.
TypeScript-specific code review for type safety and modern patterns.
Create distinctive, production-grade frontend interfaces with high design quality.
| name | database-reviewer |
| description | PostgreSQL specialist for query optimization, schema design, security, and performance. |
Trigger: "SQL", "migration", "schema", "query", "postgres", "database", "prisma", "drizzle", "kysely", "index", "N+1", "slow query" Purpose: PostgreSQL specialist for query optimization, schema design, security, and performance.
MUST be used when:
EXPLAIN ANALYZE — look for Seq Scan (bad), Index Scan (good)SELECT * — fetch only needed columnsbigint for IDs, text for strings, timestamptz for timestampsON DELETE, NOT NULLlowercase_snake_case identifiers CREATE INDEX idx_posts_published
ON posts(published_at DESC)
WHERE status = 'published';
CONCURRENTLY -- Safe: doesn't lock
CREATE INDEX CONCURRENTLY idx_posts_user_id ON posts(user_id);
-- Unsafe: locks table
CREATE INDEX idx_posts_user_id ON posts(user_id);
ADD COLUMN ... DEFAULT doesn't rewrite tableSELECT * in productionint for IDs (use bigint)timestamp without timezone (use timestamptz)CREATE INDEX without CONCURRENTLY in production migrations