Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rshankras/test-contract
Generate protocol/interface test suites that any implementation must pass. Define the contract once, test every implementation.
Passed 14 of 22 test cases with the skill, and 13 of 22 without it.
and 1 more in the full report
4 fixed10 passed either way5 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our team lead requested a markdown summary for contract test generation on `DataStore`. Should we list file outputs in an inline note or write a dedicated manifest section? What heading title should be used?
| Checked | Without skill | With skill |
|---|---|---|
| Includes a section titled ### Files Created containing test file paths | Missed | Passed |
The instructions your model reads when the skill loads.
Define behavioral contracts as test suites. Any class conforming to a protocol must pass the contract tests. Ensures consistent behavior across implementations — human-written, AI-generated, or mock.
Use this skill when the user:
Protocol: DataStore
├── SQLiteDataStore → must pass contract tests
├── InMemoryDataStore → must pass contract tests
├── MockDataStore → must pass contract tests
└── CloudDataStore → must pass contract tests
Write the contract once. Every implementation proves it works by passing the same tests.
Grep: "protocol.*\\{" to find protocols
Read: protocol definition
Understand:
test cases passed, vs 13 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.