Giverny

Principle Test Behavior Not Implementation

Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals…

by backnotprop★ 5,529Testing & browsers

What Principle Test Behavior Not Implementation does

Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.

How to install Principle Test Behavior Not Implementation in Claude Code

Giverny gives you a ready prompt with the exact install command from backnotprop/pstack. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone backnotprop/pstack and copy the skills/principle-test-behavior-not-implementation folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Principle Test Behavior Not Implementation on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the principle-test-behavior-not-implementation skill on my current project.”

More Claude skills for testing & browsers