principle-test-behavior-not-implementation from theonlyfusioncube/potetos-for-everyone is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Test Behavior, Not Implementation
## Trigger
When writing or evaluating tests.
## Rule
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls.
## Application
1. Name the concrete decision this principle changes.
2. Apply the rule to that decision, not as a decorative citation.
3. Prefer evidence from the current repository/runtime over generic preference.
4. If the principle conflicts with an explicit user constraint, keep the constraint and state the tradeoff.
The line at the top of this page pins the label git:20260908.ec65ed5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_olgw3u7lk2ownl2t
GET https://markdownregistry.com/api/v1/resolve?ref=theonlyfusioncube/potetos-for-everyone/principle-test-behavior-not-implementation
GET https://markdownregistry.com/api/v1/blob/b88e33c60a104c891b858c22504970731995ae5b0c42a1358a22d42f6a33e863
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
theonlyfusioncube/potetos-for-everyone · automations/benny/skills/reproduce-and-fix-issues/SKILL.md · Reproduce a confirmed issue on the closest real surface, find root cause, and optionally prepare a minimal draft fix…
theonlyfusioncube/potetos-for-everyone · automations/benny/skills/triage-issue-reports/SKILL.md · Triage incoming software issue reports using available repository and runtime evidence, without editing code. Use for…
theonlyfusioncube/potetos-for-everyone · skills/architect/SKILL.md · Settle data shapes, ownership, boundaries, and interfaces before code crosses a function/module boundary. Use for…
theonlyfusioncube/potetos-for-everyone · skills/arena/SKILL.md · Spawn parallel candidate implementations for the same task, cross-judge, and graft the best parts into the winning…
theonlyfusioncube/potetos-for-everyone · skills/automate-me/SKILL.md · Create a personal mode skill from recurring workflow patterns in available history. Use when the user wants their own…
theonlyfusioncube/potetos-for-everyone · skills/benchmark-checklist/SKILL.md · Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened)…
theonlyfusioncube/potetos-for-everyone · skills/blast-radius/SKILL.md · Prove what a small-looking change can affect before or after editing. Use for compatibility, caller, state, schema, or…
theonlyfusioncube/potetos-for-everyone · skills/bro/SKILL.md · Restate the last technical explanation in plain human language with minimal jargon. Use when the user asks for a…
theonlyfusioncube/potetos-for-everyone · skills/correct/SKILL.md · Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types…
theonlyfusioncube/potetos-for-everyone · skills/create-formal-verification-skill/SKILL.md · Generate a project-local skill that formally verifies the code where a bug costs the most and tests reach the least, in…
theonlyfusioncube/potetos-for-everyone · skills/create-verification-skill/SKILL.md · Generate a project-local verification skill that drives the real app and captures evidence. Use when setting up…
cursor/plugins · harness/pstack/claude-code/skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when…
cursor/plugins · pstack/skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when…
nightly-labs/openbot · marketplace/production-catalog/bundles/pstack/skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Call the code as its users do and assert the exact result they see…
michael-denyer/pstack-claude · plugins/pstack/skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when…
backnotprop/pstack · skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when…
iap/pstack-hermes · skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe…
barbieri/local-openfinance · .agents/skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe…
creedants/pstack-t3 · skills/principle-test-behavior-not-implementation/SKILL.md · Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when…