Principle Test Behavior Not Implementation

backnotprop/pstack/skills/principle-test-behavior-not-implementation

by backnotprop3a604672c46cd8187d2b19980eae0a34f9f91138No license1.3K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated yesterday

Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe against a literal expected value. If the test would still pass when every imported function returns undefined, rewrite the assertion or delete the test.

Instructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
SKILL.md2.5 KBtext/markdown

Source and attribution

Source:backnotprop/pstackinskills/principle-test-behavior-not-implementationat commit3a60467

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal