Type Contract Auditor
Use this skill when asked to validate the public type contracts against src/planning/spec-v0.3.md or to report discrepancies.
Workflow
- •Review the type list in
src/planning/spec-v0.3.mdand compare withsrc/types. - •Check for missing types, duplicate union members, or mismatched optionals.
- •Verify supporting types like
RawColorandOutputOptionsalign with spec notes. - •Flag acceptance criteria issues: build failure risk or circular imports.
Common checks
- •Duplicated union members (e.g.,
ColorState). - •Optional fields that spec marks required (or vice versa).
- •Extra types are acceptable if non-breaking; call them out as deltas.