Prompt Contracts

Keep a multi-agent system's agent prompts, output JSON schemas, and routing registry aligned as one enforced contract — no layer silently teaches or accepts a status the router will reject — and keep each prompt under real change control: pinned by content hash, changelogged, rollback-ready. Use this when a run dies in a reject/retry loop on a "valid-looking" output, when schemas or prompts drift from the registry, when a prompt's reference example contradicts the schema, before flipping a contract from warn to enforce, or when a prompt edited in place makes a regression untraceable to a version.

sharp-skills Updated

File contents

sharp-skills/skills/tree/main/skills/prompt-contracts commit 88616b221f

Frequently asked questions

npx skillmds@latest add sharp-skills/prompt-contracts