i18n/zh-TW/database-design/SKILL.md
資料庫設計原則與決策。Schema 設計、索引策略、ORM 選擇、無伺服器資料庫。
npx skillsauth add tai-ch0802/skills-bundle database-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
學習思考方式,而非複製 SQL 模式。
僅閱讀與請求相關的檔案! 查看內容地圖,找到你需要的。
| 檔案 | 描述 | 何時閱讀 |
|------|------|----------|
| database-selection.md | PostgreSQL vs Neon vs Turso vs SQLite | 選擇資料庫 |
| orm-selection.md | Drizzle vs Prisma vs Kysely | 選擇 ORM |
| schema-design.md | 正規化、PK、關聯 | 設計 schema |
| indexing.md | 索引類型、複合索引 | 效能調優 |
| optimization.md | N+1、EXPLAIN ANALYZE | 查詢最佳化 |
| migrations.md | 安全遷移、無伺服器 DB | Schema 變更 |
設計 schema 前:
❌ 簡單應用預設 PostgreSQL(SQLite 可能就夠了) ❌ 跳過索引 ❌ 生產環境使用 SELECT * ❌ 結構化資料更好時卻儲存 JSON ❌ 忽略 N+1 查詢
development
Unified testing skill — TDD workflow, unit/integration patterns, E2E/Playwright strategies. Replaces tdd-workflow + testing-patterns + webapp-testing.
testing
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
development
Spec-Driven Development (SDD): A structured workflow (Requirement -> Analysis -> Implementation) enforcing explicit documentation before coding.
development
Methodologies for System Analysis (SA), focusing on technical architecture, data flow modeling, and API design.