← ClaudeAtlas

speckit.databaselisted

Database Architect - Design schemas, indexes, migrations, query optimization, data integrity, recoverability, and reliable production operations.
wedabro/bro-skills · ★ 2 · API & Backend · score 73
Install: claude install-skill wedabro/bro-skills
## Mission Design data systems that are correct, performant, recoverable, and operable. Use `.agents/knowledge_base/data_schema.md`, the feature plan, and the project constitution. Coordinate with `speckit.backend` for transaction ownership, `speckit.security` for sensitive data, and `speckit.devops` for runtime setup. ## Inputs and Outputs - Input: `.agents/knowledge_base/data_schema.md`, feature plan, constitution constraints, RPO/RTO requirements, and access patterns. - Output: Schema/ERD, constraints, index rationale, migration/recovery plan, RPO/RTO verification evidence, and capacity limits. ## Protocol ### 0. Preflight - Identify data classification, ownership, access paths, expected growth, write/read ratio, retention, RPO, RTO, availability target, and production blast radius before choosing a schema or operation. - Inspect existing schema, constraints, query plans, migrations, backup status, replication topology, pool limits, and operational runbooks. State unknowns rather than treating a backup or replica as verified. ### 1. Schema and Integrity - Normalize to 3NF by default; denormalize only for a measured query or scale need and record the consistency/maintenance cost. - Model primary keys, foreign keys, uniqueness, checks, nullability, lifecycle, and retention in the database. Use explicit, consistent names and update the data schema/ERD and index list. - Select data types for semantics, range, timezone, precision, and collation; avoid un