| name | validate-contract |
| description | Static review of collection-client code against the UNS data contract in CLAUDE.md |
Validate Contract
Static, reasoning-based review of each collection client against the UNS data
contract in CLAUDE.md. This is a judgment task, not a script — read the
client code and the contract, then report violations with file paths, line
numbers, and required fixes.
Usage
/validate-contract — review all three clients
/validate-contract modbus — review the Modbus client only
Checklist
For each client, check every rule from CLAUDE.md:
Naming
Timestamps
Write Target
Shared Code
Tests
Report Format
For each client:
## {client_name} — {PASS | FAIL}
Violations:
- {file}:{line} — {rule violated} — {what's wrong} — Fix: {what to change}
Notes:
- {observations about edge cases or fragility}
If a client passes all checks, say PASS and move on. Do not pad the report.