kooleklabs

Check Contracts — Testing skill for Claude Code

Testing community

Verify API contracts in /contracts/ match actual implementations.

How to install Check Contracts

Installs to ~/.claude/commands/kooleklabs-agentic-setup-check-contracts.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kooleklabs/agentic-setup/HEAD/.claude/commands/check-contracts.md -o ~/.claude/commands/kooleklabs-agentic-setup-check-contracts.md

Restart Claude Code, or start a new session, for it to be picked up.

What Check Contracts does


description: Verify API contracts in /contracts/ match actual implementations. Detects drift between spec and code before it reaches production. Run before merging any API-touching branch.

Audit contract files against the current implementation:

Step 1 — Discover contracts

find contracts/ -type f \( -name "*.yaml" -o -name "*.yml" -o -name "*.json" \) 2>/dev/null
ls contracts/ 2>/dev/null || echo "No /contracts/ directory found"

If no `/contracts/` directory exists → re

Alternatives in Testing

Full documentation available on GitHub

View Source Repository