test-plan-create-cases¶
Generate individual test case specification files (TC-*.md) from an existing test plan. Processes categories one at a time, generates E2E and optional upgrade test cases, validates endpoint coverage, and updates the test plan with traceability data. Supports regeneration mode for updating existing test cases.
Plugin: test-plan | User-invocable
Contract¶
Convert an approved test plan into self-contained, traceable test-case specifications.
Identity
Functions
generate
Success
- Writes test cases and updates the index and plan coverage tables.
- Validates case counts, scope, objective traceability and E2E/UI interface coverage.
Optimization Targets
Invariants
Must Preserve
- Every case cites at least one plan objective and has observable expected results.
- Preserve flow priorities on regeneration and avoid inventing details for interfaces marked pending.
Fixed Context
documentsskills/test-plan-create-cases/SKILL.md, skills/test-plan-create-cases/test-case-template.md, scripts/validate.py
knowledgetask_inputtask_private
Traceability
Diagram¶
Arguments¶
/test-plan-create-cases [FEATURE_SOURCE] [--output-dir PATH]
| Argument | Required | Default | Description |
|---|---|---|---|
FEATURE_SOURCE |
auto-detected from prior /test-plan-create run |
Feature directory path, GitHub branch URL, or GitHub PR URL | |
--output-dir |
- | Force creation in specified directory (contributor override) |
Usage¶
/test-plan-create-cases
/test-plan-create-cases mcp_catalog
/test-plan-create-cases /path/to/feature_dir