scenario-writer
Installation
SKILL.md
Implement the scenario proposed by the user if that has not been implemented yet. Then invoke the ai-scenario-writer subagent to actually write the test in a separate context. When it finishes please validate its work and launch a new subagent with a new task if the user proposed multiple scenarios (or to correct the work of the last one).
Test Structure
Each test in the tests/ directory should have:
tests/
{test-name}/
Reference.svelte - Reference implementation (known-good solution)
test.ts - Vitest test file (imports "./Component.svelte")
prompt.md - Prompt for the AI agent
validator.ts - Extra validation to verify with static analysis that the code written adhere to Svelte best practices
The benchmark: