install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/contract-checker" ~/.claude/skills/majiayu000-claude-skill-registry-contract-checker && rm -rf "$T"
manifest:
skills/data/contract-checker/SKILL.mdsource content
Contract Checker Skill
Inputs
- JSON fixtures in
.skills/contract-checker/fixtures/ - Command and decision JSON schemas in
.contracts/schemas/
Outputs
- Validation report printed to stdout.
- Non-zero exit status when fixtures do not match schemas.
Steps
- Load command and decision schemas.
- Validate each fixture against the correct schema.
- Treat
fixtures as expected failures.invalid_*.json - Emit a summary and exit with status 1 if expectations are not met.
Definition of Done (DoD)
- All fixtures validate against their expected schema outcome.
- Invalid fixtures fail validation as expected.
- Script exits cleanly with status 0 when expectations are met.