| name | cognitive-walkthrough |
| description | Step through a task as a first-time user and identify where intent, discoverability, feedback, or interpretation will break down. |
| disable-model-invocation | true |
Run a cognitive walkthrough for this task or flow:
$ARGUMENTS
Use ultrathink. Act like a plausible first-time user with only the cues available in the interface. Use the actual prototype and codebase context.
Output
Write docs/hci/cognitive-walkthrough.md unless the user asked for another path.
Create the directory if it does not exist.
Required questions at every step
- Will the user form the right goal here?
- Will the user notice the correct action?
- Will the user understand that the action leads toward the goal?
- After acting, will the feedback make sense?
Required format
For each step include:
- step number
- user goal
- visible cues
- likely action
- walkthrough answers for Q1 to Q4
- breakdowns / confusion risks
- recommendation
Extra checks
Also flag:
- hidden prerequisites
- unclear affordances
- weak or missing feedback
- misleading labels
- dead ends
- unclear recovery path
Synthesis
End with:
- steps most likely to fail
- reasons first-time users may hesitate
- design changes most likely to improve task completion
Deliverable style
- Clear headings
- Markdown tables
- Mermaid diagrams where useful
- Direct language
- No filler