DIXI Spec Kit documentation Español · Source on GitHub

/dixi.data

Purpose

Specify the data model, personal-data classification, retention and migrations.

Specify the data for the target in $ARGUMENTS: model, classification of personal data, retention and migration plan.

Generated by scripts/build-command-reference.py from the packaged command text; do not edit by hand.

Invocation

Argument: <feature, module or entity>. Angle brackets mark a required value and square brackets an optional one. In the steps, $ARGUMENTS is the text written after the command.

Example

The text after the command is the request; change it to match your project.

When to use it

Steps

  1. Read the related specs and contracts; if the target is unclear, ask and stop.
  2. Write or update 08-data/<slug>.md: entities and fields, owners, classification (public, internal, personal, sensitive), retention and deletion rules.
  3. For schema changes, write a migration plan in 08-data/migrations/<slug>.md: order, backward compatibility, rollback and data checks. Do not run migrations or connect to any database.
  4. Flag personal or sensitive data that lacks a legal basis or retention rule as a blocking question for the person.
  5. Suggest /dixi.contract or /dixi.plan.

Files read and written

Paths named by the command text:

Stops and human gates

Closing

Run dixi check before finishing and report: files touched, checks (run, failed, not run), open items and the suggested next command.

Next step