create-test
Installation
SKILL.md
Create/Update Tests: $ARGUMENTS
If $ARGUMENTS is empty, ask the user for a component path before proceeding.
Phase 1: Analyze the component
Read the component file at $ARGUMENTS. Extract:
- All
input()/input.required()and@Input()declarations with types and defaults - All
output()and@Output()declarations with event types - All
model()declarations - All public/protected methods
- Template interactions (click handlers, form bindings, conditional rendering)
- Host bindings and listeners
- Injected dependencies
Phase 2: Check existing tests
Look for an existing .spec.ts file alongside the component. If found, read it and identify: