koan-data-modeling
Implements domain-driven design patterns for C# data models.
Install
mkdir -p .claude/skills/koan-data-modeling && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14747" && unzip -o skill.zip -d .claude/skills/koan-data-modeling && rm skill.zipInstalls to .claude/skills/koan-data-modeling
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Aggregate boundaries, relationships, lifecycle hooks, value objectsKey capabilities
- →Define aggregate boundaries for entities
- →Implement value objects for cohesive data
- →Configure lifecycle hooks for domain invariants
- →Manage relationships between entities
- →Automate timestamp management for creation and modification
- →Design domain models with strong typing
How it works
This skill defines entities as aggregates encapsulating business logic, uses value objects for data, and employs lifecycle hooks to maintain domain invariants during state changes.
Inputs & outputs
When to use koan-data-modeling
- →Define aggregate roots
- →Implement domain entities
- →Create value objects
About koan-data-modeling
Defines entities, aggregates, and value objects using strong typing. It provides lifecycle hooks to maintain domain invariants during state changes.
Aggregate boundaries, relationships, lifecycle hooks, value objects
When not to use it
- →When the project does not involve domain-driven design
- →When the data model is simple and does not require complex relationships
- →When the application does not require business logic encapsulation
Limitations
- →The skill focuses on domain modeling, not database implementation
- →Automatic timestamps are handled by the framework's lifecycle hooks
How it compares
This skill provides a structured approach to data modeling with explicit aggregate boundaries and lifecycle management, unlike a generic data modeling approach.
Compared to similar skills
koan-data-modeling side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| koan-data-modeling (this skill) | 0 | 3mo | No flags | Advanced |
| azure-resource-manager-postgresql-dotnet | 1 | 3mo | Review | Intermediate |
| azure-resource-manager-sql-dotnet | 1 | 3mo | Review | Intermediate |
| appsettings | 0 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
azure-resource-manager-postgresql-dotnet
microsoft
Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for PostgreSQL", "PostgreSQL database management", "PostgreSQL firewall", "PostgreSQL backup", "Postgres".
azure-resource-manager-sql-dotnet
microsoft
Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL server", "create SQL database", "manage SQL resources", "ARM SQL", "SqlServerResource", "provision Azure SQL", "elastic pool", "firewall rule".
appsettings
punk-link
Rules for modifying ASP.NET Core configuration files (appsettings*.json) in the Warp project. Use when: adding, removing, or changing any configuration key in appsettings files; creating new Options classes that bind to configuration; the user mentions 'appsettings', 'configuration', 'options', 'con
dotnet-backend-patterns
brunolimaff-jpg
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuratio...
efcore-migrations
thecaaz
**WORKFLOW SKILL** — EF Core migrations workflow for backend model changes: generate, review, and apply EF Core migrations using the repository's README guidance. Agents MUST NOT hand-edit migration code — migrations must be generated with the `dotnet ef migrations add` tool.
postgresql-table-design
wshobson
Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features