TestSkillHasExplicitInvocationSection pins the §1a behavior: when the skill is invoked without a trigger phrase, it should describe its capabilities and AskUserQuestion for the user's intent — NOT auto-run §4.1, auto-list tasks, or auto-propose opening a task.
(t *testing.T)
| 504 | "silent loss of durable knowledge", |
| 505 | "Recognizing natural close-out moments", |
| 506 | // Expanded trigger list must include real-world wrap-up phrasing, |
| 507 | // not just the literal verbs the old skill listed. |
| 508 | "shipped", |
| 509 | "PR merged", |
| 510 | "deployed", |
| 511 | "that's working", |
| 512 | // Matching §8 anti-pattern reinforces the rule. |
| 513 | "Do not let work wrap up without prompting closure", |
| 514 | } { |
| 515 | if !strings.Contains(got, want) { |
| 516 | t.Errorf("skill missing close-out emphasis: %q", want) |
| 517 | } |
| 518 | } |
| 519 | } |
| 520 | |
| 521 | // TestSkillHasAccessibilityErrorRecipe pins the §4.4 recipe for |
| 522 | // handling the macOS Accessibility error from the Terminal.app |
nothing calls this directly
no outgoing calls
no test coverage detected