What problem does it solve?
This Skill prevents fragile or unsafe changes in AgentHub by enforcing a contract-first, security-aware test and review standard across services and runtime behaviors.
Core Features & Use Cases
- Contract-first and schema validation: Ensures every cross-boundary interface has valid/invalid fixtures and fails safely before real execution.
- Deterministic CI testing layers: Defines a test matrix covering unit, component/store, adapter/converter, service integration, and cross-process integration (Gateway ↔ Orchestrator).
- Failure, streaming, artifacts, and security guardrails: Requires replayable streaming/SSE tests, artifact-to-runtime capability validation, fallback/retry correctness, and security regression checks (redaction, iframe sandboxing, confirm_action for high-risk tools).
- PR Review checklist and CI quality gates: Makes merge contingent on passing the required gates and verifying that contracts, fixtures, and process separation remain intact.
Quick Start
Use the testing-review-contract Skill as your PR and CI checklist by updating/adding schema/fixture coverage for every affected contract and running the required unit/contract/security checks before requesting review.