Codex Valibot Source Review for Factory and Type Tests
Review Valibot library changes against naming, type inference, JSDoc, runtime coverage and type tests.
中文Install in Codex
Open the Valibot workspace in Codex with the library/src diff and the corresponding test files.
- Review `.agents/skills/repo-source-code-review/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/repo-source-code-review/` in your project and save the reviewed file as `.agents/skills/repo-source-code-review/SKILL.md`.
- Start Codex from that project's root, then type `$repo-source-code-review` and select the matching skill.
Example task
Review this proposed pure factory addition in Valibot and list findings first.
{"change":"pure schema factory","purityAnnotation":false,"hasRuntimeTests":true,"hasTypeTests":false,"hasJSDoc":true}What to check
Report `missing purity annotation` and `missing .test-d.ts`. Note that runtime tests exist and check their successful, failing, and edge cases.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a runtime test replace an inference test?
Runtime tests exercise actual values and issues. Type tests verify inference independently, so check both.