Development
Command
/test
Generate comprehensive tests
$ npx -y skills add assistant-ui/tool-ui --agent claude-code
Command definition
test.mddescription: Generate comprehensive tests
Generate unit tests for $ARGUMENTS covering:
1. **Happy Path** - Normal expected behavior 2. **Edge Cases** - Boundary conditions, empty states, null/undefined 3. **Error Handling** - Failed API calls, invalid inputs, exceptions 4. **User Interactions** - Clicks, inputs, form submissions 5. **State Changes** - Component state updates, prop changes 6. **Async Behavior** - Promises, loading states, race conditions
Use:
- React Testing Library for components
- Mock external dependencies
- Descriptive test names
- Arrange-Act-Assert pattern
- Follow existing test patterns in the codebase
Stats
776
Stars
30
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
Last commit
Created
7761 skill5 agents
Other commands on tool-ui.
generate-tool-ui
CommandGenerate a complete Tool UI component with docs, presets, and quality gates
More commands from other plugins.
Auto-invoked
Auto-invoked
build
CommandImplement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

