{"success":true,"name":"test-actions-in-the-wrong-order","description":"Your flow assumes steps happen in a nice order; users don't obey.","category":"ai-brimind","path":"ai-brimind/test-actions-in-the-wrong-order/SKILL.md","file":"SKILL.md","content":"---\nname: test-actions-in-the-wrong-order\ndescription: \"Your flow assumes steps happen in a nice order; users don't obey.\"\n---\n\n# Test Actions In The Wrong Order\n\n## When to use\nYou built a multi-step flow, and you have only tested it in the intended order from start to finish.\n\n## Example request\nUser presses back in the middle of a wizard and resubmits step 1 → the flow state is now confused; every step must check where the flow actually is. A confirmation link is clicked after it was already used → second click must be recognized, not re-executed. Two tabs are open on the same flow → each tab acts on stale state; the server, not the screen, must hold the truth. A user jumps to step 3 via a saved URL → steps 1 and 2 never ran; each step must verify its prerequisites itself.\n\n## Instructions\nAct like a chaos user who refuses to follow the intended path. IF a feature is a sequence of steps, THEN after testing the happy order, deliberately break the order: go back and repeat a step, skip ahead directly to a later step, act twice on the same step, and act from two windows at once. At each broken-order attempt, the correct behavior is that the system checks its real current state and either allows, redirects, or clearly refuses — never blindly executes assuming the order held. IF a step works only because 'the UI does not let you get there', THEN treat that as unprotected, because URLs, retries, and multiple tabs bypass the UI. Only approve the flow once every step defends its own prerequisites.\n\n## Metadata\n- role: tester\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #635\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}