Logo de Happy Path Audit

Happy Path Audit

ComunidadePopular
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.

Visão geral

Publicado porTrystan-SA
Repositórioproduct-engineer-skills
Nome da habilidadehappy-path-audit
Estrelas
2.1K
Forks
247
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Trystan-SA no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Happy Path Audit no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Happy Path Audit em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Happy Path Audit automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Happy Path Audit não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Happy Path Audit faz?

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.

Por que usar Happy Path Audit no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Happy Path Audit é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Happy Path Audit no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Happy Path Audit?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Happy Path Audit?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Happy Path Audit com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Happy Path Audit é gratuita?

Sim. A habilidade é publicada no GitHub por Trystan-SA sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇