explicit-skill-request-sdd.yaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. scenario: explicit-skill-request-sdd
  2. description: >
  3. Lifted from superpowers/tests/explicit-skill-requests/. Consolidates
  4. the family of bash tests that probe whether the
  5. superpowers:subagent-driven-development skill fires when the user
  6. invokes it explicitly by name (subagent-driven-development-please.txt,
  7. i-know-what-sdd-means.txt, action-oriented.txt, skip-formalities.txt,
  8. after-planning-flow.txt — all paraphrase variants of the same
  9. spec-aware invocation).
  10. The setup creates a base repo plus a tiny stub plan at
  11. docs/superpowers/plans/auth-system.md. The user explicitly invokes
  12. SDD. The skill should fire and at least one subagent should be
  13. dispatched (the implementer for the first task).
  14. user_posture: spec-aware
  15. setup:
  16. helpers:
  17. - create_base_repo
  18. - add_sdd_auth_plan
  19. assertions:
  20. - "git rev-parse --is-inside-work-tree"
  21. - "git branch --show-current | grep -q main"
  22. - "test -f docs/superpowers/plans/auth-system.md"
  23. turns:
  24. - intent: >
  25. You have a plan ready and want SDD to execute it. You are
  26. spec-aware: name the skill explicitly. Use phrasing like:
  27. "I have a plan at docs/superpowers/plans/auth-system.md. Use the
  28. superpowers:subagent-driven-development skill to execute it —
  29. dispatch a fresh subagent for the first task and we'll go from
  30. there."
  31. Vary the phrasing if it feels natural, but the skill name must
  32. appear in the message. Do NOT explain what the skill does
  33. yourself — let the agent load it and act.
  34. - intent: >
  35. If the agent asks a clarifying question (worktree, branch
  36. naming, model selection), give a concise answer and let it
  37. proceed. If it presents the plan back to you for confirmation
  38. before dispatching, say "yes, proceed."
  39. - intent: >
  40. Once the agent has loaded the SDD skill AND dispatched at least
  41. one subagent for Task 1, you are done — use the "done" action.
  42. The goal is to verify the spec-aware invocation produces both
  43. the skill load and the first dispatch, not to drive execution
  44. to completion.
  45. limits:
  46. max_turns: 8
  47. turn_timeout: 300
  48. verify:
  49. assertions:
  50. - "skill-called superpowers:subagent-driven-development"
  51. - "tool-called Agent"
  52. criteria:
  53. - >
  54. Agent loaded the superpowers:subagent-driven-development skill
  55. in direct response to the user's explicit invocation. Loading
  56. a different skill (e.g., executing-plans, writing-plans,
  57. brainstorming) is a fail — the user named SDD specifically.
  58. - >
  59. Agent dispatched at least one subagent (Task / Agent tool call)
  60. to begin executing Task 1 from the plan. Reading the plan,
  61. describing the workflow, or asking clarifying questions
  62. without ever dispatching a subagent is a fail — SDD's defining
  63. behavior is the dispatch.
  64. observe: true