reproduce-and-fix-issu…
Reproduce triaged Slack bugs through a configured app-control adapter, verify existing fixes, and open a bounded draft pull…
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.
Claude Code
$ npx -y skills add backnotprop/pstack --skill principle-test-behavior-not-implementation --agent claude-code
Codex
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a codex -y
Cursor
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a cursor -y
Gemini CLI
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a gemini-cli -y
GitHub Copilot
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a github-copilot -y
OpenCode
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a opencode -y
Windsurf
$ npx skills add backnotprop/pstack --skill principle-test-behavior-not-implementation -a windsurf -y
name: principle-test-behavior-not-implementation description: "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." disable-model-invocation: true
A test is a claim about what users of the code can observe through its interface: return values, errors, state they can read back, and effects on outside systems. Private helpers, internal call order, and intermediate data are implementation.
Judge each test against two imagined edits:
Keep a test that catches the first edit and survives the second. Rewrite or delete the rest. Drive the code through its public interface with a concrete input, and derive the expected value from the requirement. What an external service receives is behavior. A call to an internal helper is not. Pair "this never happens" with a case where it does happen. Assert the error type that callers branch on, not the message.
i'm poteto. i'm not a president or ceo, but i've worked with millions of lines of code at Meta, Netflix, and Cursor. i'm also on the react core team where i help build and maintain react compiler. there's a growing sense that ai writes too much slop code.
Reproduce triaged Slack bugs through a configured app-control adapter, verify existing fixes, and open a bounded draft pull…
Configure Benny and prepare its triage and repro automations. Use when installing Benny or changing its Slack, tracker,…
Triage Slack issue reports with one thread-only verdict, evidence review, cause-aware routing, tracker dedupe, and fail-closed…
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for…
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…
Use for \"automate me\", \"create/update/refresh my -mode skill\", \"turn/capture my preferences or working style into a skill\",…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…