SQL Schema Design
Relational schema modelling — normalization, keys, naming, relationship patterns, multi-tenancy, soft delete and history, hierarchies, money and time, JSON trade-offs and a review checklist for new tables.
What it does
Relational schema modelling — normalization, keys, naming, relationship patterns, multi-tenancy, soft delete and history, hierarchies, money and time, JSON trade-offs and a review checklist for new tables.
- Category
- databasesqlarchitecture
- Platforms
- backend
- Frameworks and tools
- postgresqlmysqlsqlite
- Capabilities
- architecturecode-generationreview
Example tasks
- “Design the tables for a multi-tenant project-management app with comments and attachments.”
- “Review a schema that uses one polymorphic table and comma-separated ids.”
- “Model order, payment and refund history so past totals can never change silently.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (68 lines in total).
- 01SQL Schema Design
- 021. Process
- 032. Naming and conventions
- 043. Keys
- 054. Relationship patterns
- 065. Common domain modelling
- 076. Review checklist for a new table
- 08Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — SQL Schema Design
1.0.0
- Initial release.