Install
npx skillscat add flext-sh/flext-tests/data-modeling-analysis Install via the SkillsCat registry.
SKILL.md
Data Modeling Analysis
Analyze how a codebase represents, validates, mutates, serializes, and evolves
data. Apply the project's language and framework contracts rather than assuming
one type library.
Load the complete schemas, types, serializers, consumers, versions, and runtime
evidence before issuing a correction. A missing or conflicting boundary stops at
the first defect with no rewrite, inferred library, generic model, or partial map.
- Locate schemas, domain types, transport types, persistence mappings, and state
containers. - Map each external boundary to its validation and normalization owner.
- Identify ambiguous optionality, unbounded maps, duplicated representations,
unsafe coercion, and mutation whose ownership is unclear. - Trace serialization and deserialization, including unknown fields, versioning,
defaults, and failure behavior. - Compare persisted, in-memory, and public representations and identify any
lossy or implicit conversion. - Report the data flow, invariants, concrete risks, evidence paths, and the
smallest owner-first correction. Do not mutate code unless requested.
Prefer explicit project-native types and boundary validation. Immutability is a
tool for visible ownership, not a blanket rewrite requirement. Never recommend
unsafe deserialization or a parallel schema owner.