Logo van Happy Path Audit

Happy Path Audit

CommunityPopulair
Trystan-SA
happy-path-audit

Count what it costs a user to finish a task — clicks, fields, characters typed, screens, decisions, waits — by tracing the flow through the real code, estimate task time with the Keystroke-Level Model, and propose ranked reductions with their savings and a click budget. Use when asked "how many clicks does it take to…", to audit or simplify a flow, onboarding, checkout or form, or to compare two versions of a flow.

Overzicht

UitgeverTrystan-SA
Repositoryproduct-engineer-skills
Skillnaamhappy-path-audit
Sterren
2.1K
Forks
247
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door Trystan-SA op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Happy Path Audit in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Trystan-SA/product-engineer-skills.git /tmp/product-engineer-skills
mkdir -p .claude/skills
cp -r /tmp/product-engineer-skills/skills/happy-path-audit .claude/skills/happy-path-audit
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Happy Path Audit in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Happy Path Audit automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Happy Path Audit niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Happy Path Audit

Measure the cheapest route from a start state to a goal state, step by step, and find what to cut. Users don't experience your architecture; they experience the decisions, fields and waits between them and the result. Counting makes that cost visible and comparable.

Phase 1: Define the task

Take it from brief.md in the feature folder (docs/product/<feature-slug>/) when it exists; otherwise ask:

  • Start state — where the user is and what's true ("logged-in admin on the dashboard, no invoices yet").
  • Goal state — the observable result ("invoice sent, confirmation visible").
  • Persona — first-time and returning users often take different paths (onboarding, empty states, remembered choices). Audit the one asked for; if unclear, audit first-time and note where returning users differ.
  • Platform — mouse, touch or keyboard-first. It changes the cost model.

Phase 2: Trace the path through the code

Find the entry points first: routes, navigation items, buttons and links, deep links from emails or notifications, command-palette entries. Pick the one a typical user takes from the start state. The shortest path isn't always the typical one; note both if they differ.

Then follow the flow: route → page component → interactive elements → event handlers → API calls → redirects, modals, toasts. On each screen, record what the user must read, decide, type and click to move on. Read validation rules (required fields, formats), conditional branches, default values and loading states — they all change the count.

If the app runs locally and you have browser automation, walk the path for real afterwards and correct the trace. Tag every number with its source:

  • Measured — observed by running the app or a test.
  • Traced — derived from reading the code.
  • Estimated — inferred where the code was ambiguous; say why.

Phase 3: Record every step

One row per user action:

#Screen / routeActionKLM operatorsTypedWaitDecisionNotes
1/dashboardClick "New invoice"M P BB—route change—Button below the fold on a 13" screen
2/invoices/newPick client from dropdownM P BB, M P BB—client list fetchWhich clientNo search; 40 clients in seed data
3/invoices/newFill amountM P BB H K×66 chars——No default currency

Then total:

  • Clicks — activations of controls: buttons, links, menu items, options, checkboxes, tabs, including opening dropdowns and closing modals. Focusing a text field is part of filling it, not a separate click.
  • Fields — inputs the user fills, and characters typed (use realistic lengths: email ≈ 20, name ≈ 12, amount ≈ 6).
  • Screens — route changes and modals.
  • Decisions — points where the user must choose between options.
  • Waits — network round trips that block the user.
  • Context switches — leaving the product (checking email, copying a code from another app).
  • Scrolls needed to reach the next control.

Use the same definitions of clicks and fields as flow-test, so the budget you set here can be asserted there.

Phase 4: Estimate task time with KLM

The Keystroke-Level Model (Card, Moran and Newell) turns operators into seconds:

OperatorMeaningTime
KKeystroke0.28 s for an average typist, 0.2 s for a skilled one
PPoint at a target with the mouse1.1 s
BMouse button press or release (a click is BB)0.1 s
HMove a hand between keyboard and mouse0.4 s
MMental preparation1.35 s
RSystem response the user waits formeasured or estimated

Simplified placement of M: one before each decision, before starting to type into a field, and before the first action on a new screen. No M between keystrokes of the same word, or between pointing and clicking in the same move. A click on a new screen is typically M P BB = 2.65 s.

On touch, don't reuse the mouse values: count taps and fields, and give seconds only when you can justify the numbers (for example, from measurements).

KLM models an expert performing without errors; first-time users are slower. Use it to compare versions of the same flow, never to promise users a duration. To see where real users struggle, run usability-test-plan.

Phase 5: Find reductions

Go through the step table and ask, for each step, whether it can be removed, merged, defaulted or made faster. Common levers, roughly by impact:

  1. Remove the step. Is the screen or confirmation needed at all? Replace confirmation dialogs with undo.
  2. Default or infer. Prefill from what the product already knows: profile, last-used value, organization settings, URL parameters, the object the user came from.
  3. Defer. Move fields that aren't needed for the first value to later (progressive profiling).
  4. Merge. Combine screens, edit inline instead of in a modal, create the object where the need appears.
  5. Change the input. Selection instead of typing for short closed lists, search or autocomplete for long lists, autocomplete="one-time-code" for codes.
  6. Shorten the route. Add a contextual entry point where the need arises; deep-link emails and notifications to the exact step.
  7. Remove waits. Prefetch the next screen's data, update optimistically, run requests in parallel.
  8. Keyboard. Autofocus the first field, submit with Enter, set the right type and autocomplete attributes.
  9. Remove context switches. Magic links or code autofill instead of "check your email and come back".

For each proposal, give savings and cost:

ProposalΔ clicksΔ fieldsΔ time (KLM)EffortTrade-off

Sort by savings divided by effort. State trade-offs honestly: a default can be wrong, removing a confirmation needs a reliable undo, a merged screen can become overloaded.

Phase 6: Set the budget

Propose a click budget and a field budget for the flow: today's totals, and the target once the recommended reductions land. flow-test turns them into a test that fails when the flow gets longer.

Output

Write flow-audit.md to the feature folder: task definition, step table, totals, KLM estimate, reductions table, proposed budget, and the assumptions you couldn't verify.

To compare versions (before and after a redesign, main against a branch), produce one step table per version and a side-by-side totals table.

Summarize in the conversation: the current cost (clicks, fields, approximate seconds), the top three reductions with their savings, and the proposed budget.

Veelgestelde vragen

Wat doet de AI-skill Happy Path Audit?

Count what it costs a user to finish a task — clicks, fields, characters typed, screens, decisions, waits — by tracing the flow through the real code, estimate task time with the Keystroke-Level Model, and propose ranked reductions with their savings and a click budget. Use when asked "how many clicks does it take to…", to audit or simplify a flow, onboarding, checkout or form, or to compare two versions of a flow.

Waarom Happy Path Audit gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Happy Path Audit bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Happy Path Audit in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Happy Path Audit gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Happy Path Audit gebruiken?

Zoveel als je wilt. Je kunt Happy Path Audit gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Happy Path Audit gratis?

Ja. Deze skill is door Trystan-SA op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇