Imported from jscraik/coding-harness (
contracts/AGENTS.md). Install upstream withnpx skills add jscraik/coding-harness --skill contracts. Copyright stays with the author.
Contracts Instructions
Table of Contents
Scope
This directory contains schemas, manifests, examples, and fixtures that define machine-readable harness contracts. Root AGENTS.md and CODESTYLE.md remain binding.
Local Rules
- Treat schemas and manifests as contract surfaces. Keep examples, validators, TypeScript types, and generated artifacts synchronized.
- Use structured parsers and schema validation instead of ad hoc string checks.
- Preserve fail-closed behavior for stale, shallow, missing, or contradictory evidence.
Validation
-
Run the specific schema or manifest validator for changed contract files.
-
When runtime packet schemas change, run node scripts/validate-runtime-packet-schemas.cjs --all.
-
Report exact commands as pass, fail, or blocked.
-
When explaining something to the user, use the portable
visualizeskill when it is available.