在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用$pwd:
validate-contract
// Static review of collection-client code against the UNS data contract in CLAUDE.md
$ git log --oneline --stat
stars:0
forks:0
updated:2026年5月18日 15:33
SKILL.md
// Static review of collection-client code against the UNS data contract in CLAUDE.md
| name | validate-contract |
| description | Static review of collection-client code against the UNS data contract in CLAUDE.md |
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.
/validate-contract — review all three clients/validate-contract modbus — review the Modbus client onlyFor each client, check every rule from CLAUDE.md:
contracts/tag_database.csv (column tag_name)register_map.csv / opcua_node_map.csv / mqtt_topic_map.csv)tag_history.ts are timezone-aware UTCsource_timezone from
config/{client}.yaml and log: "Naive timestamp from {source}, assuming {timezone}"validate_reading() before writingDBWriter — no hand-rolled connections or SQLtag_id is resolved from uns_namespace; unresolved tags go to dead_lettermetric_type (Int32, Float, Boolean)GOOD, BAD, or STALE — no other valuesReading from shared.models — never redefine itvalidate_reading()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.