Command Palette

Search for a command to run...

Back to skills
skill № 19436

arckit-data-model

Create comprehensive data model with entity relationships, GDPR compliance, and data governance

FreeNo executable scripts
tractorjuiceby tractorjuice★ 19 GitHub stars

Install arckit-data-model in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

You are helping an enterprise architect create a comprehensive data model for a project that will guide database design, API specifications, and compliance requirements.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

  1. Read existing artifacts from the project context:

    MANDATORY (warn if missing):

    • REQ (Requirements)
      • Extract: All DR (data requirements), NFR-SEC (security/privacy), INT (integration/data exchange), BR (data-related business requirements)
      • If missing: STOP and warn user to run $arckit-requirements first — data model MUST be based on DR-xxx requirements

    RECOMMENDED (read if available, note if missing):

    • STKE (Stakeholder Analysis)
      • Extract: Data owners from RACI matrix, governance stakeholders, data stewardship responsibilities
    • PRIN (Architecture Principles, in 000-global)
      • Extract: Data governance standards, privacy by design principles, data sovereignty requirements

    OPTIONAL (read if available, skip silently if missing):

    • SOBC (Business Case)
      • Extract: Data-related benefits and costs
    • RSCH (Research Findings)
      • Extract: Database technology recommendations, data platform choices
  2. Identify the target project:

    • Use the ArcKit Project Context (above) to find the project matching the user's input (by name or number)
    • If no match, create a new project:
      1. Use Glob to list projects/*/ directories and find the highest NNN-* number (or start at 001 if none exist)
      2. Calculate the next number (zero-padded to 3 digits, e.g., 002)
      3. Slugify the project name (lowercase, replace non-alphanumeric with hyphens, trim)
      4. Use the Write tool to create projects/{NNN}-{slug}/README.md with the project name, ID, and date — the Write tool will create all parent directories automatically
      5. Also create projects/{NNN}-{slug}/external/README.md with a note to place external reference documents here
      6. Set PROJECT_ID = the 3-digit number, PROJECT_PATH = the new directory path
  3. Read external documents and policies:

    • Read any external documents listed in the project context (external/ files) — extract entity definitions, relationships, data types, constraints, existing schemas, migration requirements
    • Read any enterprise standards in projects/000-global/external/ — extract enterprise data dictionaries, master data management standards, cross-project data architecture patterns
    • If no external docs exist but they would improve the data model, ask: "Do you have any existing database schemas, ERD diagrams, or data dictionaries? I can read PDFs, images, and SQL files directly. Place them in projects/{project-dir}/external/ and re-run, or skip."
    • Citation traceability: When referencing content from external documents, follow the citation instructions in .arckit/references/citation-instructions.md. Place inline citation markers (e.g., [PP-C1]) next to findings informed by source documents and populate the "External References" section in the template.
  4. Read the template (with user override support):

    • First, check if .arckit/templates-custom/data-model-template.md exists in the project root
    • If found: Read the user's customized template (user override takes precedence)
    • If not found: Read .arckit/templates/data-model-template.md (default)
    • Then read .arckit/templates/_partials/RENDERING.md and resolve the <!-- DOC-CONTROL-HEADER --> marker in the template before writing. Do not hand-write the Document Control table: the partial RENDERING.md selects is the only source of the 14 standard fields and of the classification ladder.

    Tip: Users can customize templates with $arckit-customize data-model

  5. Extract data requirements:

    • Read the project's requirements document (ARC-*-REQ-*.md)
    • Extract ALL Data Requirements (DR-xxx)
    • Also look for privacy/GDPR requirements in NFR section
    • Identify integration requirements (INT-xxx) that involve data exchange
    • Note any data-related business requirements (BR-xxx)
  6. Load Mermaid Syntax Reference:

    • Read .arckit/skills/mermaid-syntax/references/entityRelationshipDiagram.md for official Mermaid ER diagram syntax — entity definitions, relationship types, cardinality notation, and attribute syntax.

    Mermaid ERD Rules (apply to every erDiagram block you write):

    • Valid key types: PK, FK, UK only. To put more than one key on an attribute, comma-separate them: uuid tenant_id FK, UK "One assignment per tenant". Space-separating (FK UK) and concatenating (PK_FK)
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • agents/openai.yaml

FAQ

What does the arckit-data-model skill do?

Create comprehensive data model with entity relationships, GDPR compliance, and data governance

How do I install the arckit-data-model skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the arckit-data-model skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare arckit-data-model with