npx skills add ...
npx skills add affaan-m/ecc --skill click-path-audit
Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out, produce wrong final state, or leave the UI in an inconsistent state. Use when: systematic debugging found no bugs but users report broken buttons, or after any major refactor touching shared state stores.
npx skills add affaan-m/ecc --skill click-path-audit
Find bugs that static code reading misses: state interaction side effects, race conditions between sequential calls, and handlers that silently undo each other.
Traditional debugging checks:
But it does NOT check:
Real example: A "New Email" button called setComposeMode(true) then selectThread(null). Both worked individually. But selectThread had a side effect resetting composeMode: false. The button did nothing. 54 bugs were found by systematic debugging — this one was missed.
For EVERY interactive touchpoint in the target area:
Before auditing any touchpoint, build a side-effect map of every state store action:
This is the critical reference. The "New Email" bug was invisible without knowing that selectThread resets composeMode.
Output format:
For each button/toggle/form submit in the target area:
Check each of these bug patterns:
For each bug found:
This audit is expensive. Scope it appropriately:
Agent 1 MUST complete first. Its output is input for all other agents.
/superpowers:systematic-debugging (which finds the other 54 bug types)/superpowers:verification-before-completion (which verifies fixes work)/superpowers:test-driven-development — every bug found here should get a testThreadList.tsx "New Email" button:
Store definition:
Systematic debugging missed it because:
Click-path audit catches it because:
selectThread resets composeMode