Use this skill for database selection and design. Trigger on database selection, which database, data storage, SQL vs NoSQL, database design, schema design, or any solution requiring persistent storage. Applies the company's approved database list and exception process. Use this skill for every data persistence decision — technology must be aligned before design proceeds.
This skill guides database selection and schema design aligned to the company's approved database standards. Selection is not open-ended — there is an opinionated set of approved databases and a formal exception process for anything outside it.
Read references/database-standards.md for the approved database catalog, selection
criteria, and exception process before making any recommendation.
[initiative-name]-database-design.mdFor each data entity or aggregate:
Map requirements to the approved database catalog (references/database-standards.md):
| Requirement | Approved Option(s) |
|---|---|
| Relational / transactional | [Company-approved RDBMS] |
| Key-value / caching | [Company-approved cache] |
| Document store | [Company-approved option] |
| Time-series | [Company-approved option] |
| Search | [Company-approved option] |
| Graph | [Company-approved option] |
If the required capability is not covered by an approved database, initiate the exception
process (see references/database-standards.md — Exception Process).
For each database:
security-skill for full data protection patterns# [Initiative Name] — Database Design
## Data Requirements Summary
[Table: Entity | Volume | Access Pattern | Sensitivity]
## Database Selection
[Approved database chosen per entity, with justification]
## Schema Design
[Tables/collections/schemas as appropriate]
## Data at Rest Protection
[Encryption, access control, backup/recovery]
## Exception Requests
[Any non-approved technology with justification and approval path]
## Open Questions
references/database-standards.md — Company approved database catalog, selection
criteria per use case, exception process, and data at rest requirements.
TODO: Populate with your organization's approved database list and standards.