Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

step-04-testing.md 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Step 4: Testing
  2. Display: `Orientation → Walkthrough → Detail Pass → [Testing]`
  3. ## Follow Global Step Rules in SKILL.md
  4. - This is **experiential**, not analytical. The detail pass asked "did you think about X?" — this says "you could see X with your own eyes."
  5. - Do not prescribe. The human decides whether observing the behavior is worth their time. Frame suggestions as options, not obligations.
  6. - Do not duplicate CI, test suites, or automated checks. Assume those exist and work. This is about manual observation — the kind of confidence-building no automated test provides.
  7. - If the change has no user-visible behavior, say so explicitly. Do not invent observations.
  8. ## IDENTIFY OBSERVABLE BEHAVIOR
  9. Scan the diff and spec for changes that produce behavior a human could directly observe. Categories to look for:
  10. - **UI changes** — new screens, modified layouts, changed interactions, error states
  11. - **CLI/terminal output** — new commands, changed output, new flags or options
  12. - **API responses** — new endpoints, changed payloads, different status codes
  13. - **State changes** — database records, file system artifacts, config effects
  14. - **Error paths** — bad input, missing dependencies, edge conditions
  15. For each observable behavior, determine:
  16. 1. **What to do** — the specific action (command to run, button to click, request to send)
  17. 2. **What to expect** — the observable result that confirms the change works
  18. 3. **Why bother** — one phrase connecting this observation to the change's intent (omit if obvious from context)
  19. Target 2–5 suggestions for a typical change. If more than 5 qualify, prioritize by how much confidence the observation provides relative to effort. A change with zero observable behavior is fine — do not pad with trivial observations.
  20. ## PRESENT
  21. Output as a single message:
  22. ```
  23. Orientation → Walkthrough → Detail Pass → [Testing]
  24. ```
  25. Then the testing suggestions using this format:
  26. ```
  27. ### How to See It Working
  28. **{Brief description}**
  29. Do: {specific action}
  30. Expect: {observable result}
  31. **{Brief description}**
  32. Do: {specific action}
  33. Expect: {observable result}
  34. ```
  35. Include code blocks for commands or requests where helpful.
  36. If the change has no observable behavior, replace the suggestions with:
  37. ```
  38. ### How to See It Working
  39. This change is internal — no user-visible behavior to observe. The diff and tests tell the full story.
  40. ```
  41. ### Closing
  42. End the message with:
  43. ```
  44. ---
  45. You've seen the change and how to verify it. When you're ready to make a call, just say so.
  46. ```
  47. ## NEXT
  48. When the human signals they're ready to make a decision about this {change_type}, read fully and follow `./step-05-wrapup.md`