Development
Command
/optimize
Optimize performance
$ npx -y skills add assistant-ui/tool-ui --agent claude-code
Command definition
optimize.mddescription: Optimize performance
Analyze and optimize $ARGUMENTS for performance:
1. **React Performance**
- Unnecessary re-renders
- Missing React.memo/useMemo/useCallback
- Large component trees
- Expensive computations in render
2. **Bundle Size**
- Heavy dependencies
- Code splitting opportunities
- Dynamic imports for heavy components
- Tree-shaking issues
3. **Network**
- API call efficiency
- Caching strategies
- Parallel vs sequential requests
- Unnecessary data fetching
4. **Runtime**
- Algorithm complexity
- Memory leaks
- Event listener cleanup
- Inefficient loops/filters
Provide measurable improvements with before/after comparisons when possible.
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.

