Skip to content
Skills Library
Programming · Analysis

click-path-audit

/click-path-audit

Trace each button, toggle and form submit through every state change it triggers to find calls that cancel each other or leave the UI wrong or inconsistent. Use when a button \"does nothing\" though each function works alone, or after changing shared state stores.

Licence
MIT
Last repository change
05.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Trace each button, toggle and form submit through every state change it triggers to find calls that cancel each other or leave the UI wrong or inconsistent. Use when a button \"does nothing\" though each function works alone, or after changing shared state stores.

Triggers from the description

does nothing\
Original author description

Trace each button, toggle and form submit through every state change it triggers to find calls that cancel each other or leave the UI wrong or inconsistent. Use when a button \"does nothing\" though each function works alone, or after changing shared state stores.

How it works

  1. 1. Map store side effects first
  2. 2. Trace each touchpoint
  3. 3. Report
  4. Scope
Original SKILL.md headings · 53 lines, 344 words
SKILL.md preview
---
name: click-path-audit
description: "Trace each button, toggle and form submit through every state change it triggers to find calls that cancel each other or leave the UI wrong or inconsistent. Use when a button \"does nothing\" though each function works alone, or after changing shared state stores."
---

# click-path-audit

Finds bugs where each function works alone but the sequence fails. Typical case: a "New" button calls `setComposeMode(true)` and then `selectThread(null)`, and `selectThread` also resets `composeMode` to false, so the button does nothing.

## 1. Map store side effects first

For every store action or context setter in scope, record what it sets and what else it resets:

```text
STORE emailStore
  setComposeMode(bool)   sets {composeMode}
  selectThread(t|null)   sets {selectedThread, messages}  RESETS {composeMode: false}
DANGEROUS RESETS: selectThread clears composeMode (owned by setComposeMode)
```

## 2. Trace each touchpoint

List the handler's calls in order with what each reads, writes, and resets. Then check:

- Does a later call undo an earlier one?
- Does the final state match what the label promises?
- Can async calls resolve in an order that breaks it?

| Pattern | Sign |
|---|---|
| Sequential undo | a later call's side effect resets what an earlier call set |
| Async race | the final state depends on which promise resolves first |
| Stale closure | repeated `setCount(count + 1)` reads one captured value, so it adds 1, not 2 |
| Missing transition | the label says Save, Delete, or Send, but the handler only validates, sets a flag, or calls a removed endpoint |
| Dead path | the condition guarding the real action is always false at that point |
| Effect interference | an effect watching the new state resets it immediately |

## 3. Report

```text
CLICK-PATH-NNN [CRITICAL|HIGH|MEDIUM|LOW]
Touchpoint: <label>, <file:line>
Pattern: <pattern>
Trace: 1. <call> sets {...}  2. <call> RESETS {...}  <- conflict
Expected: <what the label promises>
Actual: <what happens>
Fix: <specific change>
```

## Scope

- Whole app (launch, large refactor): one agent maps all stores first; then one agent per page or feature area works from that map.
- One page: after building it, or after a broken-button report.
- One store: after changing an action, audit every caller.

Not for API bugs, layout issues, or performance. Each bug found gets a test (`tdd-workflow`); confirm the fixes with `verification-loop`.

Versions

RepositoryScoreLicence
This page · ssvinar/senior-agent-skills100MIT
kennykennethkkang/switchboard100Apache-2.0
aaione/everything-claude-code-zh100MIT
ysyecust/everything-claude-code100MIT

Database snapshot: 13.11.2026 · package version c1763224b812 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100click-path-audit-edho-ferdian
    Trace each button, toggle or form submit through its full state changes to find handlers that undo each other, async races, stale closures and effects that reset state. Use for "tombolnya gak jalan", "diklik tapi gak ada yang terjadi", "the button does nothing", "state-nya balik…
  • 100qa-click-path
    Trace what every button and handler actually does to state, in order, to find bugs where a click "does nothing", saves silently fails, a filter resets, or two effects fight. Use for UI bugs with no error message, flaky state, forms that refuse to submit, or after changing shared…
  • 100click-integration
    Expert-level Click payment integration skill for Uzbekistan's Click SuperApp. Use whenever user mentions Click, click.uz, SHOP API, Merchant API, Click to'lov, Click integratsiya, Click callback, prepare/complete, click_trans_id, merchant_trans_id, Click fiscalization, Click…
  • 100devextreme-button
    Help developers use the DevExtreme Button component (dxButton) in Angular, React, Vue, jQuery, and ASP.NET Core Controls. Use when someone asks about Button configuration, click handling, icons, styling, button types, form submission, validation, custom templates, or any…
  • 90abapsmith-research-code
    Traces where an ABAP object is used, and what a toolbar button or function code actually runs, from static analysis only — abap_search where_used/source, abap_ui mode=fcode, abap_fpm_read mode=events. Use when asked "where is X used?" or "what does this button do?".
  • 100trace-form
    Trace how an Oracle Forms screen actually works — which form opens a modal, where a button's code really lives when its body looks empty, what a :GLOBAL carries back into a field. Use when asked how a Forms form, block, item, button, modal window or LOV behaves, where a value…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.