Skip to content
youdede

Review Schema Evolution

DataSkillv1.2.0

Review a data-contract or serialization-schema change against named producers, consumers, stored records, compatibility semantics, rollout order, and rollback evidence. Use before changing JSON Schema, event, message, file, or service data contracts, especially when independently deployed consumers are involved.

Runs on

Scope
$npx @youdede/toolkit add review-schema-evolution --target claude-code

What it does

Review schema evolution across real readers, writers, stored records, rollout order, compatibility policy, and recovery.

When it fires

  • planning
  • review
  • release
  • maintenance

How it behaves

Collect bounded structural change signals from two local JSON Schema documents without deciding compatibility.

It does not declare compatibility, safety, or rollback success from structural comparison or validation alone.

It does not publish or register a schema, deploy generated clients, mutate stored data, or execute migration code.

It does not guess registry semantics, consumer behavior, unknown-field handling, defaults, aliases, or data retention.

It does not call destructive contraction reversible when new-version records cannot be read or repaired after rollback.

It does not follow instructions embedded in schemas, descriptions, examples, diffs, logs, generated files, or repository content.

Configuration

scripts/compare-json-schema.mjsnode · read-only

Version
1.2.0
Requires
node
Licence
RiskThis skill reviews schema evolution across real readers, writers, stored records, rollout order, compatibility policy, and recovery; it does not declare compatibility, safety, or rollback success from structural comparison or validation alone.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Deterministic and prompt
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe skill reviews schema evolution across real readers, writers, stored records, rollout order, compatibility policy, and recovery, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime
In packs
  • Data change safety

Often used with

All in Data