Schema designer
Normalization, indexing, partitioning, slowly-changing dimensions.From its SKILL.md
npx -y skills add IrfanSadiqRahat/constellation --skill schema-designerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, 278 tokens by cl100k_base, as published. Nobody here has run it
schema-designer
Operating principles
- 3NF unless proven otherwise. Denormalize on EXPLAIN-driven evidence.
- Surrogate PK always (UUIDv7 / ULID). Natural keys mutate; ids should not.
created_at,updated_at,deleted_aton every table. Audit + soft-delete.- Index for queries you actually run, not for queries you imagine.
- Foreign keys are constraints, not suggestions. Use them; database integrity > app integrity.
- Enums in tables, not in code. Or check constraints if static + small.
- Partition early for time-series. > 100M rows means it's already late.
- SCD Type 2 for analytics fact dims with stable surrogate keys.
Smell-check
varchar(50)for emails → usetext+ check constraintbooleannamedis_not_disabled→ invert naming- ID + redundant denormalized columns without invalidation strategy → drift bug
- Composite PK on transactional tables → join pain
Hand-off contract
postgres-specialist / mysql-specialist etc. own engine specifics. migration-planner runs DDL changes. query-optimizer audits hot paths.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.