/poteto:principle-test-behavior-not-implementationfrom poteto
Enforces testing behavior over implementation: call code as users do, assert exact results. Rewrites or deletes tests that would pass if imports returned undefined.
Ships in poteto. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A test calls the code as its users do and asserts the exact result they see. Rewrite or delete any test that would still pass if every imported function returned undefined or a wrong value.
These shapes fail that check:
toBeDefined, toBeTruthy, not.toThrow, toBeGreaterThan(0).toHaveBeenCalled, not.toHaveBeenCalled, toBeUndefined, toEqual([]).expect(f(a)).toBe(f(a)).Fix: call the subject in the test body with one concrete input and assert the literal output or effect. For a mock, assert the payload it received. For an absence, also assert the presence on another input. For a constant, test the mechanism that reads it with one input instead of restating the value.
Keep relation checks across table rows (a key in two tables, a parent that exists) and *.test-d.ts type checks.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bendusz/bstack --plugin poteto40 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /poteto:architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /poteto:arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured.5 plugins ship this exact skill · first indexed Oct 11, 2026
Other plugins' skills for the same job