database-design-conventions

Enforce normalization, lifecycle patterns, and ORM mapping rules for .NET database schemas.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/MudraMartin/dotlight-skillset --skill database-design-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design-conventions
Source: https://github.com/MudraMartin/dotlight-skillset/tree/main/dotnet/database-design-conventions
Command: npx skills add https://github.com/MudraMartin/dotlight-skillset --skill database-design-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures consistency and best practices in database design for .NET applications, helping developers create maintainable and efficient databases.

Core Features & Use Cases

  • Lifecycle Pattern Catalog: Offers a catalog of lifecycle patterns for database schema design, including versioning and soft delete strategies.
  • Normalization Gate: Validates database normalization to ensure data integrity and efficiency.
  • TimescaleDB Interaction Rules: Provides guidelines for using TimescaleDB with EF Core or NHibernate for temporal data.
  • ORM Mapping Rules: Offers rules for mapping database schemas to ORM frameworks like EF Core and NHibernate.
  • Red Flags: Identifies common pitfalls in database design to avoid.
  • Use Case: For a .NET developer designing a new database schema, this Skill provides a comprehensive set of guidelines and rules to follow.

Quick Start

Review the database design for your .NET application using the 'database-design-conventions' skill.

Frequently Asked Questions about database-design-conventions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce database normalization rules in a .NET application schema?

Database normalization in .NET is enforced through a validation gate that checks schemas against lifecycle patterns and ORM mapping rules. This ensures data integrity and efficiency by validating designs before implementation.

What is the best way to map temporal data using TimescaleDB with EF Core?

Mapping temporal data with TimescaleDB and EF Core requires following specific interaction rules for temporal data support. These guidelines define how to structure temporal schemas and configure ORM mappings to handle time-series data efficiently.

Does this database design convention support both EF Core and NHibernate?

Yes, these database design conventions support both EF Core and NHibernate. The ORM mapping rules provide specific guidelines for mapping database schemas to both frameworks, ensuring consistent lifecycle patterns and normalization across either choice.

How do I implement soft delete and versioning strategies in SQL database design?

Implementing soft delete and versioning strategies relies on a lifecycle pattern catalog that defines schema rules for these approaches. This catalog provides structured patterns to manage data lifecycle events without losing historical records.

What are common red flags and pitfalls to avoid in .NET database schema design?

Common red flags in .NET database schema design include normalization violations, improper ORM mapping configurations, and ignoring lifecycle patterns. Identifying these pitfalls early ensures data integrity, efficiency, and long-term maintainability of the database.