code-design-schema

Design data models, database schemas, and ORM definitions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-design-schema" with this command: npx skills add sirn/dotfiles/sirn-dotfiles-code-design-schema

Design data models, database schemas, and ORM definitions.

Process

Identify context:

  • Identify the database technology (Postgres, MySQL, SQLite, Mongo, etc.)

  • Identify the ORM/Framework (Prisma, TypeORM, SQLAlchemy, Django, etc.)

  • Understand the entity relationships (1:1, 1:N, M:N)

Research and design:

  • Lookup framework best practices for defining models and relationships (use WebSearch/WebFetch)

  • Design the schema/entity relationship considering scalability and normalization

Execute based on goal:

  • New Schema: Generate SQL DDL or ORM model definitions

  • Modification: Analyze current schema vs desired state, generate migration steps

  • Validation: Check for normalization issues or N+1 query risks in relationships

Output

  • Schema Design (ER Diagram description or Model code)

  • Migration Plan (SQL or CLI commands)

  • Rationale (Why these types/indices were chosen)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code-explain

No summary provided by upstream source.

Repository SourceNeeds Review
16-sirn
Coding

code-config-ci

No summary provided by upstream source.

Repository SourceNeeds Review
16-sirn
Coding

code-quality

No summary provided by upstream source.

Repository SourceNeeds Review
16-sirn
Coding

code-plan

No summary provided by upstream source.

Repository SourceNeeds Review
16-sirn