affaan-m avatar

Click Path Audit

Traces user interactions through their complete state change sequences to catch bugs that static analysis misses. The classic case: a "New Email" button calls setComposeMode(true) then selectThread(null), but selectThread has a hidden side effect that resets composeMode to false, so the button does nothing. Works by mapping every state store action's side effects first, then auditing each clickable element to see if later function calls undo earlier ones. Use this after systematic debugging finds nothing but users still report broken buttons, or after refactoring shared state stores. Expensive to run comprehensively but deadly accurate for the "button does nothing" class of bugs that come from sequential function calls silently canceling each other out.

skills.sh installs
5.5K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill click-path-audit --agent claude-code

Installs into .claude/skills of the current project.

Files

/click-path-audit — Behavioural Flow Audit

Find bugs that static code reading misses: state interaction side effects, race conditions between sequential calls, and handlers that silently undo each other.

The Problem This Solves

Traditional debugging checks:

  • Does the function exist? (missing wiring)
  • Does it crash? (runtime errors)
  • Does it return the right type? (data flow)

But it does NOT check:

  • Does the final UI state match what the button label promises?
  • Does function B silently undo what function A just did?
  • Does shared state (Zustand/Redux/context) have side effects that cancel the intended action?

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.


How It Works

For EVERY interactive touchpoint in the target area:

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Code Review & Quality, Debugging, Sales & Marketing
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1jeffallan avatarkotlin-specialistjeffallan/claude-skillsProvides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Kt5.4Kskills.sh installs
2affaan-m avatarnetwork-config-validationaffaan-m/eccPre-deployment checks for router and switch configuration, including dangerous commands, duplicate addresses, subnet overlaps, stale references, management-plan5.4Kskills.sh installs
3affaan-m avatarconnections-optimizeraffaan-m/eccReorganize the user's X and LinkedIn network with review-first pruning, add/follow recommendations, and channel-specific warm outreach drafted in the user's rea5.4Kskills.sh installs
4affaan-m avatarquarkus-tddaffaan-m/eccTest-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo. Use when adding features, fixing bugs, or refactori5.4Kskills.sh installs
5affaan-m avatarralphinho-rfc-pipelineaffaan-m/eccRFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.5.4Kskills.sh installs
6julianoczkowski avatardesign-flowjulianoczkowski/designer-skillsRun the full design-to-build workflow as a guided sequence. Orchestrates all designer skills in order, from grilling through review. Use when user wants to go t5.3Kskills.sh installs