contract-authoring
CommunityAuthor and validate hook contract.toml
AuthorheyAyushh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps authors write, validate, and debug hook contract.toml files by translating intent into a correct, secure runtime contract and surfacing deterministic validation errors before runtime.
Core Features & Use Cases
- Comprehensive schema guidance: Documents the top-level sections including app, policies, serve, smash, profiles, and transports.
- Validation and diagnostics: Explains deny_unknown_fields behavior, required keys, empty-value checks, and maps validation failures to specific error codes.
- Adapter, route, and driver checks: Covers ingress/egress driver configurations, profile activation rules, inactive destinations, and transport references for mcp_tool_output.
- Plugin and discovery guidance: Describes plugin ordering, contract discovery precedence, minimal working examples, and common troubleshooting scenarios.
- Use cases include creating a new app contract, extending existing profiles, CI preflight validation, and diagnosing contract validation failures.
Quick Start
Paste your contract.toml and ask the assistant to validate it, list validation errors with codes, and propose exact fixes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: contract-authoring Download link: https://github.com/heyAyushh/hook/archive/main.zip#contract-authoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.