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 change.
Install
npx skills add cursor/plugins --skill principle-test-behavior-not-implementationWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
This item's license does not let Skilo republish its content, so only its description and a link to the source are shown.
Source and license
- Source
- Cursor Official Plugins
- Original
- cursor/plugins/pstack/skills/principle-test-behavior-not-implementation/SKILL.md
- License
- Unknown