database-design by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill database-design学会思考,而非复制 SQL 模式。
仅阅读与请求相关的文件! 查看内容地图,找到你需要的部分。
| 文件 | 描述 | 何时阅读 |
|---|---|---|
database-selection.md | PostgreSQL vs Neon vs Turso vs SQLite | 选择数据库 |
orm-selection.md | Drizzle vs Prisma vs Kysely | 选择 ORM |
schema-design.md | 规范化、主键、关系 | 设计模式 |
indexing.md |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 索引类型、复合索引 |
| 性能调优 |
optimization.md | N+1 问题、EXPLAIN ANALYZE | 查询优化 |
migrations.md | 安全迁移、无服务器数据库 | 模式变更 |
在设计模式之前:
❌ 对简单应用默认使用 PostgreSQL(SQLite 可能就足够了) ❌ 跳过索引 ❌ 在生产环境中使用 SELECT * ❌ 在结构化数据更合适时存储 JSON ❌ 忽略 N+1 查询
此技能适用于执行概述中描述的工作流程或操作。
每周安装量
844
代码仓库
GitHub 星标数
27.4K
首次出现
2026年1月20日
安全审计
安装于
opencode646
gemini-cli643
codex588
claude-code539
github-copilot532
cursor518
Learn to THINK, not copy SQL patterns.
Read ONLY files relevant to the request! Check the content map, find what you need.
| File | Description | When to Read |
|---|---|---|
database-selection.md | PostgreSQL vs Neon vs Turso vs SQLite | Choosing database |
orm-selection.md | Drizzle vs Prisma vs Kysely | Choosing ORM |
schema-design.md | Normalization, PKs, relationships | Designing schema |
indexing.md | Index types, composite indexes | Performance tuning |
optimization.md | N+1, EXPLAIN ANALYZE | Query optimization |
migrations.md | Safe migrations, serverless DBs | Schema changes |
Before designing schema:
❌ Default to PostgreSQL for simple apps (SQLite may suffice) ❌ Skip indexing ❌ Use SELECT * in production ❌ Store JSON when structured data is better ❌ Ignore N+1 queries
This skill is applicable to execute the workflow or actions described in the overview.
Weekly Installs
844
Repository
GitHub Stars
27.4K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode646
gemini-cli643
codex588
claude-code539
github-copilot532
cursor518
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装