
Database Schema Design
Handles PostgreSQL and MySQL schema design with built-in templates for common patterns like one-to-many relationships, many-to-many junction tables, and soft deletes. The real value is in the error prevention: it catches missing primary keys, unindexed foreign keys, VARCHAR(MAX) abuse, and the EAV anti-pattern before they become production problems. Includes normalization rules up to 3NF with concrete examples, plus audit column patterns and constraint templates. If you're designing a new database or reviewing an existing schema that feels off, this gives you the checklist and SQL patterns to fix it properly. The critical errors section alone is worth having on hand during code review.
- skills.sh installs
- 437
- GitHub stars
- 248
- last updated
- Aug 21, 2026
Install
$ npx -y skills add secondsky/claude-skills --skill database-schema-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
Handles PostgreSQL and MySQL schema design with built-in templates for common patterns like one-to-many relationships, many-to-many junction tables, and soft deletes. The real value is in the error prevention: it catches missing primary keys, unindexed foreign keys, VARCHAR(MAX) abuse, and the EAV anti-pattern before they become production problems. Includes normalization rules up to 3NF with concrete examples, plus audit column patterns and constraint templates. If you're designing a new database or reviewing an existing schema that feels off, this gives you the checklist and SQL patterns to fix it properly. The critical errors section alone is worth having on hand during code review.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Backend & APIs, Code Review & Quality, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from secondsky/claude-skills
All 146- Recommendation Engine437
- Seo Keyword Cluster Builder437
- Bun Sveltekit436
- Push Notification Setup436
- Drizzle Orm D1435
- Api Response Optimization434
- Api Pagination433
- Api Filtering Sorting432
- Defense In Depth Validation430
- Session Management427
- Ultracite426
- Nuxt Production425
- Api Gateway Configuration422
- Oauth Implementation422
- Nuxt Ui V4421
- Health Check Endpoints420
- Cloudflare D1416
- Api Changelog Versioning415
- Dependency Upgrade415
- Idempotency Handling415
- Nuxt Server415
- Turborepo414
- Mobile Offline Support412
- Recommendation System412