pm-domain-model

pm-domain-model is a skill for Claude Code from ljucask/pureinn-product-development. It costs 64 tokens per session (4,848 once invoked), scanned A, original, MIT.

A high-level description of a product's business areas, important data objects, and their relationships, including entity lists and entity-relationship diagrams. An entity is a distinct thing the software stores or works with, such as a user, order, or payment.

In plain words
What is it for?
Use it to define business domains, catalogue entities, describe their attributes and relationships, and create diagrams that guide the entity register, business rules, and feature plans.
Why use it?
It establishes shared boundaries and vocabulary before detailed data definitions or feature work begin, reducing the risk of building on a mistaken structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the pureinn-product-development plugin — 51 skills, 1 command shipped together

Good fit Use it to define business domains, catalogue entities, describe their attributes and relationships, and create diagrams that guide the entity register, business rules, and feature plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ljucask/pureinn-product-development/pm-domain-model
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ljucask/pureinn-product-development --skill pm-domain-model
Clone the repo
git clone --depth 1 https://github.com/ljucask/pureinn-product-development

Made for: Claude Code.

Or install pureinn-product-development, the plugin that ships this one along with the rest of its 51 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pm-domain-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-domain-model/github.svg)](https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-domain-model)
Your own site
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-domain-model"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-domain-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pm-domain-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-domain-model"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-domain-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.04848
Opus 5 $0.00032 $0.02424
Sonnet 5 $0.00013 $0.00970
Haiku 4.5 $0.00006 $0.00485

Measured 12d ago against content hash 8fab6767ec21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pm-domain-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pm-domain-model/SKILL.md · 531 lines

How it starts

The opening of the file, as written. The whole thing — 531 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PM - Domain Model

Agent mode (--agent)

Supports --agent: runs autonomously in a subagent, drafts the artifact from existing inputs, and returns a short summary + coverage note.

  • No flag → interactive (default); if inputs are heavy, offer agent mode.
  • --agent → obey. First check inputs are complete. Anything missing: do NOT invent it - mark [ASSUMED - what/why] in the output and summary. Never hallucinate to fill a gap.

What this skill does

Defines the conceptual data and domain structure of the product:

  1. Business Domains - bounded areas of responsibility
  2. Entity Catalogue - all entities with domain ownership
  3. Entity Definitions - attributes, relationships, enums, events, ERD diagrams per entity

Two-stage output: Claude generates the Domain Overview + Entity Catalogue first, waits for user confirmation, then generates the full Entity Definitions. This prevents building detailed specs on top of a wrong domain structure.

Output is the foundation for entities.md (entity state machines), business_rules.md (business behavior), and Feature Cards (delivery). Never duplicate Domain Model content in those documents - reference it.


Reconciled mode (when run by pm-reconcile)

If reconcile/reconciliation_report.md and the reconciled entities.md exist, build the domain model (boundaries, entity catalogue, relationships, ERD) from the reconciled entities - do not re-derive from code or old docs. The entity names and structure are already canonical (code-aligned); this skill adds the cross-domain map on top. Do not re-question what the report already settled.


Dependencies

Recommended before running:

  • pm-prd - product scope defines what entities are needed
  • pm-problem-validation - validated problem informs domain boundaries

Produces artifacts used by:

  • pm-privacy-requirements - entities and attributes are the PII inventory input
  • pm-business-rules-library - domain model is the reference for state machines and business rules
  • pm-feature-design - entities and their attributes are referenced in functional specs
  • pm-features-list - domain structure informs feature derivation
  • Phase 6 skills - all spec work references this document

Read the full file on GitHub · 531 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 531 lines · 64 tokens per session scan A 8fab6767ec21

Subscribe to this mod's changes

pm-domain-model is a skill published in the GitHub repository ljucask/pureinn-product-development (2 stars, last pushed 2d ago), licensed MIT. It adds 64 tokens to every session and 4,848 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

postgres-database-migration

Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…

timescale/pg-aiguide · 220 tokens

setup-timescaledb-hypertables

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…

timescale/pg-aiguide · 219 tokens

design-postgis-tables

Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications.

timescale/pg-aiguide · 31 tokens

migrate-postgres-tables-to-hypertables

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. Trigger when user asks to: Migrate or convert PostgreSQL tables to hypertables Execute hypertable migration with minimal downtime Plan blue-green migration for large tables Validate…

timescale/pg-aiguide · 181 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

find-hypertable-candidates

Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. Trigger when user asks to: Analyze database tables for hypertable conversion potential Identify time-series or event tables in an existing schema Evaluate if a table would…

timescale/pg-aiguide · 184 tokens