test-suite-ensure
Installation
SKILL.md
Test Suite Ensure
Ensure the current project's test suite is in place: detect tech stack and framework, scaffold if necessary, generate unit tests (required, logic code only), and optionally generate/run E2E tests.
Invocation Conventions
- Standalone trigger: When the user says a trigger word, run the full flow on the current project
- Called by workflow: Scope test generation to the workflow's changed logic files
- Read SKILL.md before calling: Workflows must read this file before each invocation — never call from memory
Workflow modes
Workflow callers MUST declare one mode:
mode=advisory: If required test scaffolding is absent and the user declines it, continue with a report reminder that logic changes lack generated tests. This is non-blocking.mode=mandatory: Refused required scaffolding or a failing unit-test run blocks exit from the execution stage. Resolve the issue or wait for the user before continuing.
Standalone invocation uses the full flow. The unit-test failure handling in Phase 5 still applies in both modes.