component-validator

Installation
SKILL.md

Component Validator

Audit a single Datex Studio component file against its type-specific authoring rules — the final read-only gate after a creator skill has finished writing or modifying a component, and before the change is upserted to the branch. This skill is a generic dispatcher: it reads the component file, picks the matching creator skill's reference document by file suffix, and runs the checklist from that document. It returns a structured punch-list (Blockers / Warnings / Nits) — never a rewrite.

See also: grid-validator — grid files (*-grid.json) carry several gotchas the generic dispatcher does not catch (envelope-vs-body shape, text-display coercion, five-location invariant). For grids, prefer grid-validator and treat this skill as a fall-back if grid-validator is unavailable.

See also: component-wiring-check — cross-component reference contracts (one component pointing at another). This validator only audits a single file in isolation; it flags obvious wiring drift it can see in that one file (e.g. a configParameters block that does not mirror the file's own inParams) but does not chase external references.

References

Dependencies

Installs
20
Repository
datex/skills
First Seen
Jun 8, 2026
component-validator — datex/skills