Agent Contract Validation

•
2
•

Ensures reliability in multi-agent workflows by validating input and output contracts against predefined schemas.

The Contract-Validation skill implements a Contract-First design pattern for Claude Code agents, ensuring robust data integrity throughout complex workflows. By performing automated pre-flight checks and post-execution verification, it prevents cascading failures and simplifies the debugging of AI-driven processes. It acts as a quality gatekeeper that monitors agent state, verifies required file dependencies, and updates the global workflow status, making it indispensable for developers building structured, multi-step AI automation systems.

主な機能

01Real-time workflow-state.json management and updates
022 GitHub stars
03Support for custom validation rules (regex, file existence, etc.)
04Post-execution output compliance and pattern checking
05Automated pre-flight input verification for agents
06Integrated debugging for identifying why an agent failed to execute

ユースケース

01Debugging workflow stalls by identifying missing or malformed agent outputs
02Verifying that PM requirements exist before a Dev agent begins implementation
03Enforcing consistent data structures across complex, multi-agent engineering tasks