Skip to content
Development
Command

/optimize

Optimize performance

From plugin
tool-ui
7767 skills5 agents7 commands
$ npx -y skills add assistant-ui/tool-ui --agent claude-code

Command definition

optimize.md
description: 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.

@assistant-ui
Ships withtool-ui

UI components for AI interfaces

7761 skill5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
776
Star history of assistant-ui/tool-ui on GitHub, a chart by star-history.com

Other commands on tool-ui.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command