(t *testing.T)
| 414 | "flow do --auto", |
| 415 | "flow run playbook <slug> --auto", |
| 416 | "Autonomous (background)", |
| 417 | "self-completes via `flow done`", |
| 418 | "cannot be combined with `--here`", |
| 419 | } { |
| 420 | if !strings.Contains(got, want) { |
| 421 | t.Errorf("skill missing %q", want) |
| 422 | } |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | func TestSkillUsesAskUserQuestionConsistently(t *testing.T) { |
| 427 | got := skillCorpus(t) |
| 428 | // The skill should have many AskUserQuestion references — at least one |
| 429 | // per major workflow that involves user choice. |
| 430 | count := strings.Count(got, "AskUserQuestion") |
nothing calls this directly
no outgoing calls
no test coverage detected