Idef1x

From damusix/skills · View interactive version

Idef1x is an AI agent skill from the GitHub repository damusix/skills. Use when designing, reviewing, or normalizing an IDEF1X data model, or running a phased information-modeling project — entities, key migration, identifying vs nonidentifying, subtype clusters, domains, and what the notation implies.

How to use this skill

Skill file

IDEF1X Information Modeling

IDEF1X states business rules as a data structure: entities are nouns, attributes adjectives, relationships verbs — and relationships are carried by keys that migrate from parent to child, never by pointers. Every structural choice asserts a constraint, so design is making those assertions say what the business means. This skill is a methodology advisor; a separate tool draws the diagrams.

The prime directive

Key migration — the one distinction to get right

The parent's primary key migrates into the child as a foreign key. Where it lands is the whole meaning:

| | Identifying (solid line) | Nonidentifying (dashed line) |

|---|---|---|

| FK lands in | child key area (part of child PK) | child data area (non-key) |

| Identification | child can't be identified without parent | child has its own identity |

| Existence | child can't exist without parent | independent unless mandatory |

| FK nullable | never | yes, if optional (diamond on parent) |

An identifying relationship is a deliberate decision that the parent's identity is part of the child's. Never assume it; choose it.

Quick start

To read or judge any relationship: name parent and child, read parent→child with the verb ("a MOVIE has many MOVIE-COPYs"), then ask — can the child exist or be identified without the parent? Yes → nonidentifying (FK in data area); no → identifying (FK in key area). Then confirm the rule that choice asserts is the rule the business actually wants.

References

Two sources, tagged per file: [B] Thomas Bruce's book (construct semantics, design heuristics, normalization-as-business-rules) and [F] FIPS PUB 184 (the modeling procedure). Where they overlap, the process file cross-refs the Bruce files. Load the file matching your decision:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.