一键导入
postgres-expert
PostgreSQL schema design, query optimization, indexing, migrations, transactions, EXPLAIN analysis, JSONB, full-text search, and operational safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
PostgreSQL schema design, query optimization, indexing, migrations, transactions, EXPLAIN analysis, JSONB, full-text search, and operational safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
WCAG 2.2 accessibility audit and remediation guidance for frontend code, UI reviews, keyboard/focus testing, ARIA usage, contrast, forms, and regression checks.
Local-first personal AI agent gateway architecture for Windows with messaging integrations, tool execution, and real-time streaming.
Anthropic Claude API expert - master Messages API requests, responses, streaming, tool use, prompt caching, and current Claude 4-family model practices.
REST and HTTP API design with OpenAPI 3.1, resource modeling, versioning, pagination, idempotency, errors, validation, auth boundaries, and production compatibility.
Expert in converting between AI provider APIs - Anthropic, Gemini, OpenRouter, Groq, Mistral, DeepSeek, and NVIDIA NIM.
Comprehensive authentication system for AI agent gateway with JWT tokens, session management, and multi-factor authentication.
| name | postgres-expert |
| version | 1.0.0 |
| description | PostgreSQL schema design, query optimization, indexing, migrations, transactions, EXPLAIN analysis, JSONB, full-text search, and operational safety. |
| author | skillregistry |
| license | MIT |
| agents | ["cursor","claude-code"] |
| categories | ["database","backend"] |
| tags | ["postgres","database","sql"] |
Design PostgreSQL changes for correctness first, then performance. Use constraints, transactions, and indexes deliberately. Measure query plans with realistic data before optimizing.
NOT NULL, CHECK, UNIQUE, foreign keys.EXPLAIN (ANALYZE, BUFFERS).EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON)
SELECT *
FROM sessions
WHERE user_id = $1
ORDER BY updated_at DESC
LIMIT 50;
CREATE INDEX CONCURRENTLY IF NOT EXISTS sessions_user_updated_idx
ON sessions (user_id, updated_at DESC);
ALTER TABLE sessions
ADD CONSTRAINT sessions_token_count_nonnegative CHECK (token_count >= 0);
SELECT * in application paths.CREATE INDEX CONCURRENTLY on large production tables.jsonb for flexible metadata, not for core relational fields that need constraints.psql "$DATABASE_URL" -c "EXPLAIN (ANALYZE, BUFFERS) SELECT 1"
pnpm test
For migrations, test against a copy or fixture database with realistic row counts.