
Click path audit
Traces each button's state changes to find handlers that silently undo each other
Click path audit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Click path audit
This skill guides an agent through a behavioural audit of user-facing controls. For each button, toggle or form submit in a chosen area, it walks the handler's calls in order and records which state each one reads, writes or resets, then checks whether the final state matches what the label promises. It targets bugs that pass ordinary checks: functions that exist and run without errors but cancel each other out, leave the interface inconsistent, or depend on async calls resolving in the wrong order.
The workflow starts by mapping every action in the relevant state stores, noting which fields each one sets and which it clears as a side effect. Each touchpoint is then checked against a set of patterns, including sequential undo, async races, stale closures, missing transitions, dead conditional paths and effects that reset state. Findings are reported with a severity, the trace of calls, the expected and actual outcome, and a suggested fix. The skill also suggests scoping the audit to a single page, a store, or a full app split across parallel agents.
It is written for a React-style codebase using shared stores such as Zustand, Redux or context, and the example it gives is drawn from that setup. It expects access to the source code of the components and stores in scope, and it does not replace API-level debugging.
When your agent uses it
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (8 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/click-path-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/click-path-audit &&
cp -R "$tmp/.agents/skills/click-path-audit" ~/.claude/skills/click-path-audit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/click-path-audit inside it instead.
Copy the skill folder to ~/.agents/skills/click-path-audit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/click-path-audit &&
cp -R "$tmp/.agents/skills/click-path-audit" ~/.agents/skills/click-path-audit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/click-path-audit inside it instead.
Copy the skill folder to ~/.cursor/skills/click-path-audit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/click-path-audit &&
cp -R "$tmp/.agents/skills/click-path-audit" ~/.cursor/skills/click-path-audit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/click-path-audit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/click-path-auditOr copy the folder to ~/.gemini/skills/click-path-audit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/click-path-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/click-path-audit &&
cp -R "$tmp/.agents/skills/click-path-audit" ~/.copilot/skills/click-path-audit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/click-path-audit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/click-path-audit into your agent's skills folder as click-path-audit. Agents that support SKILL.md read one folder per skill.
What it does
- Store side-effect mapping
- Builds a map of which fields each state action sets and which other fields it resets.
- Handler call tracing
- Walks each button or form handler call by call to see how state changes stack up.
- Bug pattern checklist
- Checks for sequential undo, async races, stale closures, dead paths and effect interference.
- Structured bug reports
- Outputs findings with severity, trace, expected versus actual behaviour and a fix.
- Scoped audit options
- Supports auditing a single page, one store's consumers, or the whole app in parallel.
Good for
- Find out why a "New Email" button does nothing even though its handlers run
- Audit all buttons on a dashboard page after a state management refactor
- Check every consumer of a changed Zustand store action for unintended resets
- Review a checkout or form submit flow for async calls resolving in the wrong order
Click path audit FAQ
When should I run Click path audit?
It is meant for cases where systematic debugging finds no bugs but users report broken buttons, or after a major refactor touching shared state stores.
What does Click path audit check that normal debugging misses?
It checks whether a later call in a handler undoes an earlier state change and whether the final state matches the button label, which standard checks for missing wiring, crashes and types do not cover.
What does the audit output look like?
Each bug is reported with an ID, severity, touchpoint, pattern, handler, a step-by-step trace, expected and actual results, and a specific fix.
Does Click path audit run any scripts?
No scripts are included; the skill consists of instructions and a method for the agent to follow.
How do I install Click path audit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/click-path-audit to use it in all your projects, or to .claude/skills/click-path-audit in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Click path audit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Click path audit?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Click path audit?
The closest alternatives to Click path audit are Principle fix root causes, Diagnosing bugs, Audit frontend design, Agent architecture audit and Frontend security.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments




