patterns-entity-modeling

Extract domain entities, attributes, and relationships from requirements into a data-model.md.

35|2|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/deepeshBodh/human-in-loop --skill patterns-entity-modeling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: patterns-entity-modeling
Source: https://github.com/deepeshBodh/human-in-loop/tree/main/plugins/humaninloop/skills/patterns-entity-modeling
Command: npx skills add https://github.com/deepeshBodh/human-in-loop --skill patterns-entity-modeling

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Domain architects and engineers often struggle to derive clean data models from ambiguous requirements. This skill helps extract and formalize domain entities, attributes, and relationships using Domain-Driven Design principles.

Core Features & Use Cases

  • Identify domain entities from requirements and user stories.
  • Define attributes, types, and constraints for entities.
  • Model relationships (1:N, N:M) and document state machines for stateful entities.
  • Produce a structured data-model.md that can guide implementation.

Quick Start

Provide your requirements or user stories and ask patterns-entity-modeling to extract domain entities, define attributes, and model relationships.

Frequently Asked Questions about patterns-entity-modeling

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

FAQPage Schema
How do I extract domain entities and attributes from user stories?

To extract domain entities and attributes from user stories, provide your requirements to the Skill, which identifies domain entities, defines attribute schemas, and models relationship patterns using Domain-Driven Design principles to generate a formal data model.

What is the best way to model entity relationships and cardinality in a data model?

Modeling entity relationships and cardinality involves transforming requirements into explicit entity definitions, which this process uses to document relationship patterns like 1:N and N:M alongside state machines to produce a reusable data-model.md file.

Can I document state machines for stateful entities using Domain-Driven Design?

Yes, you can document state machines for stateful entities. The Skill extracts stateful entities from requirements and enforces explicit documentation formats to generate state machine documentation within the formal data model output.

Does this approach work for brownfield projects with ambiguous requirements?

Yes, this approach works for brownfield projects. It helps domain architects and engineers derive clean data models from ambiguous requirements by formalizing domain entities, attributes, and relationships across existing features.

What output format does the entity modeling process generate?

The entity modeling process generates a structured data-model.md file. This output includes explicit entity definitions, attribute schemas, relationship patterns, and state machine documentation to guide implementation.