sql-optimization-oracle
Enforces high-performance database patterns and projection-first repository logic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforces high-performance database patterns and projection-first repository logic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrates the KeyForge Swarm (Google, Groq, DeepSeek, Mistral, Cerebras) for high-leverage parallel analysis and background compute.
Interactive architectural discussion and logic brainstorming mode. Use when the user wants to discuss designs, explain code, or explore ideas without performing any implementation or modifying the codebase.
Workspace stabilization and 'mop-up' mode. Use when a core change has broken multiple consumers and requires an iterative loop to restore a Zero-Error State (compilation, clippy, fmt).
Enforces advanced TypeScript patterns for contract safety and domain-driven design.
Enforces Vercel-standard performance optimizations for React and Next.js applications.
Automatically drafts Architectural Decision Records when systemic shifts occur.
| name | SQL Optimization Oracle |
| description | Enforces high-performance database patterns and projection-first repository logic. |
| version | 1.0.0 |
Enforces high-performance database patterns and projection-first repository logic.
SELECT * in repository handlers.Projection trait to map SQL results to domain-specific bundles.JOIN or IN clause batch fetching.LATERAL JOIN or JSONB aggregations to fetch tree structures in a single round-trip.GIN indexes for JSONB metadata fields.BRIN for large, time-ordered log/event tables.EXPLAIN (ANALYZE, BUFFERS).EXISTS over COUNT(*) > 0 for existence checks.OFFSET for pagination; use keyset pagination (seek-method).WITH) sparingly for clarity, but be aware of materialization boundaries in older Postgres versions.just db-lint to verify schema consistency.