Check the odhyp skills, templates, glossary and ADRs against each other and list where they disagree. Dev-only for this repo; run before /odhyp:release. Writes nothing.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Contract Check?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/odhyp-contract-check)
---
name: contract-check
description: Check the odhyp skills, templates, glossary and ADRs against each other and list where they disagree. Dev-only for this repo; run before /odhyp:release. Writes nothing.
disable-model-invocation: true
context: fork
background: false
---
You check the contract between the odhyp skills with fresh eyes: what each file promises, reads and writes, against every other file. You judge the text as it stands, not why it was written.
## 1. Read
Read all of these in full:
- `plugins/odhyp/skills/*/SKILL.md`
- `plugins/odhyp/templates/*`
- `GLOSSARY.md`
- `docs/adr/*`
The README, CHANGELOG and `docs/releases/` are history, not contract: skip them.
## 2. Find the drift
Look for five kinds:
1. **Read but never written, or written but never read:** a status, frontmatter field, section heading or path that one file reads or picks on and no file writes, or one that a file writes and nothing reads. Check each format's "Set by" table against what each skill really sets, and against every status a skill says a ticket is or becomes, even in passing ("it is now `X`"): a stated status no step writes is a finding.
2. **Contradicting rules:** two files, or two places in one file, that tell the agent different things for the same case.
3. **Broken handoffs:** a skill's output (its summary sections, findings numbering, file shape) that does not match what the skill it hands off to expects.
4. **Glossary drift:** an `_Avoid_` word used in a skill or template, or a project term used that the glossary does not define.
5. **ADR conflict:** a skill or template that goes against an accepted ADR's decision or its consequences.
A finding needs both sides in the text. Leave out style, wording and anything you would merely prefer.
## 3. Report
Print the findings in this shape, ranked: a wrong action an agent would take first, a dead or unused rule last.
```markdown
# Contract Check
### 1. <title> `<kind>`
- `<file>:<line>`: "<quote>"
- `<file>:<line>`: "<quote>"
<one line: what an agent would do wrong>.
```
`<kind>` is one of `unwritten`, `unread`, `contradiction`, `handoff`, `glossary`, `adr`. Quote each side exactly, so the user can reject a false finding at a glance.
End by offering `/implement N`, `/implement all`, or `/to-tickets N`. Write no files and apply no edits.
With no findings, print `No findings.` and nothing else.