forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 4
AI Toolbox Fix Bugs
refact-planner edited this page Jun 7, 2026
·
1 revision
Find likely issues in a selected code block.
The default /bugs toolbox command asks the model to inspect the selected code for likely defects and suggest a fix. It works best on short, self-contained selections.
Good candidates include:
- Incorrect identifiers or expressions.
- Edge cases in conditionals or loops.
- Simple API misuse.
- Obvious missing validation or error handling.
For bugs that require reproducing behavior, reading multiple files, or running tests, use Debug or Agent mode instead.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice