generate-tests
Installation
SKILL.md
Generate Tests Skill
Summary
Goal: Generate integration and E2E test files from TC-IDs defined in docs/test-specs/ feature documents.
| Step | Action | Key Notes |
|---|---|---|
| 1 | Accept feature name and locate spec docs | Scan docs/test-specs/<Feature>/README.md |
| 2 | Parse TC-IDs with metadata | Extract TC-{MOD}-{FEAT}-{NUM}, priority, Gherkin steps, acceptance criteria |
| 3 | Read existing test examples for patterns | Grep for similar test files to reuse naming/import conventions |
| 4 | Classify each TC-ID as backend or frontend | Backend = API/endpoint/data; Frontend = UI/page/browser/click |
| 5 | Generate test files with TC-ID trait annotations | Output to correct directories with full boilerplate |
| 6 | Report generated files and coverage | Summary of what was created |