Codex Audit CRM Domain Contracts and Status Ownership
Define shared vocabulary, authoritative sources, and invariants for business state in UI, APIs, and storage.
中文Install in Codex
Use a local business app or extension with field types, API examples, and UI copy.
- Copy the pinned `.codex/skills/domain-contract-guard/` directory into `.agents/skills/domain-contract-guard/` in the project.
- Give Codex the affected fields and ask for a business glossary and ownership map first.
Example task
In a fictional CRM panel, compare upstream `orderStatus` and local `processingStatus` through filters, payloads, and UI labels.What to check
The report gives a definition, owner, and examples for both fields. Tests cover times when external and local state differ.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can similarly named fields be merged?
Compare meaning, update ownership, and lifecycle first. Unify names only when the fields represent the same concept.