KO

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.zip

Installs 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 objects
67 charsno explicit “when” trigger
Advanced

Key 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

You give it
Domain model requirements
You get back
C# code defining entities, value objects, and lifecycle hooks

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.

SkillInstallsUpdatedSafetyDifficulty
koan-data-modeling (this skill)03moNo flagsAdvanced
azure-resource-manager-postgresql-dotnet13moReviewIntermediate
azure-resource-manager-sql-dotnet13moReviewIntermediate
appsettings04moNo flagsIntermediate

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".

13

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".

13

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

00

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...

00

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.

00

postgresql-table-design

wshobson

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

30109

Search skills

Search the agent skills registry