Schema System
Every command is schema-backed. Agents should inspect schemas before generating payloads.
ahd-figma schema <command> --jsonahd-figma validate payload.jsonThe validator supports:
- Required field checks.
- Type validation.
- Enums and constraints.
- Named colors.
- Common alias normalization.
- Fuzzy command correction.
- Design-lint warnings for risky layout and typography.
Validation should run before any large batch operation.