forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 4
AI Toolbox Comments
refact-planner edited this page Jun 7, 2026
·
1 revision
Add explanatory comments to selected code with a toolbox command.
The default /comment toolbox command asks the model to add comments to the selected code. It is intended for short selections where line-by-line or block-level comments will make the code easier to read.
Use it when:
- You want quick documentation for unfamiliar code.
- The selection is small enough to review immediately.
- Comments add context that is not already obvious from names and structure.
Review the output before keeping it. For broader documentation work across multiple files, use chat 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