contract-first-tests
Skill1 starsChanged 5 months agoNo licenceView on GitHub
Generate unit tests for an interface or service by delegating to implementation-blind sub-agents that derive black-box tests from the documented contract, with a clarifying-question and assumption-ledger loop that resolves spec ambiguity instead of guessing. Use when writing or expanding unit tests for C#/.NET interfaces, services, or DI seams (xUnit), when you want tests that do not share assumptions with the implementation, or when adding a test suite after introducing interfaces. Covers the sub-agent briefing, the question/answer loop, integration (build, run, serialize global-state tests for xUnit parallelism), and the common failure modes of LLM-written tests (tautological, vacuous, hallucinated APIs).
In this repository51 other files it gives its agents.
- agent-standards-setupSkill
- aspire-deploymentSkill
- aspire-dotnet-gotchasSkill
- aspireifySkill
- aspire-initSkill
- aspire-monitoringSkill
- aspire-orchestrationSkill
- aspireSkill
- browser-verifySkill
- canvas-2d-render-perfSkill
- claude-agent-sdk-workerSkill
- csharp-doc-commentsSkill
- diataxisSkill
- disseminate-learningsSkill
- dotnet-cli-releaseSkill
- dotnet-inspectSkill
- dotnet-local-voiceSkill
- event-storming-modelingSkill
- generative-svg-marksSkill
- github-cliSkill
- homelab-bootstrapSkill
- homelab-dashboardSkill
- homelab-local-inferenceSkill
- homelab-observabilitySkill
- infisical-cliSkill
- jira-apiSkill
- jpl-horizons-ephemerisSkill
- kroger-apiSkill
- litellmSkill
- manage-skillsSkill
- masstransit-nodejs-interopSkill
- matter-js-dom-physicsSkill
- nuget-trusted-publishingSkill
- obsidian-vaultSkill
- opencode-plugin-devSkill
- open-link-after-animationSkill
- orchestrated-deliverySkill
- orchestratorSkill
- osint-investigationSkill
- outlook-apiSkill
- playwright-cliSkill
- protostar-docs-deploySkill
- proxmox-apiSkill
- python-audio-vadSkill
- recursive-explorationSkill
- rmlSkill
- skill-finderSkill
- technitium-apiSkill
- web-asset-exportSkill
- windows-git-worktreeSkill
- windows-python-cudaSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

