/fix
Debug and fix errors
$ npx -y skills add assistant-ui/tool-ui --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/fix
Context preview
What this command does when you run it.
Debug and fix errors
Command definition
fix.mddescription: Debug and fix errors
Debug and fix the issue in $ARGUMENTS:
1. **Analyze** the error/bug carefully 2. **Identify** root cause (don't just treat symptoms) 3. **Fix** the issue with minimal changes 4. **Verify** the fix doesn't break existing functionality 5. **Explain** what was wrong and why the fix works
If TypeScript errors exist, run `pnpm exec tsc --noEmit` to verify the fix.
Prioritize:
- Type safety
- Backward compatibility
- Clean, readable solutions
- Proper error handling
Repo: assistant-ui/tool-ui
Other commands on tool-ui.
- /component
Create new React component
Open command - /generate-tool-ui
Generate a complete Tool UI component with docs, presets, and quality gates
Open command - /optimize
Optimize performance
Open command - /refactor
Refactor code for better quality
Open command - /review
Comprehensive code review
Open command - /test
Generate comprehensive tests
Open command

