Loading...
Loading...
File review tool — launch GUI, process comments, or install. Use when user mentions file-review, reviewing files, leaving comments, or processing review comments.
npx skill4agent add desplega-ai/ai-toolbox file-reviewNote: Theand/file-reviewcommands are simple shortcuts for backward compatibility. They trigger the Review and Process workflows below. This skill is the canonical entry point./process-comments
| Intent signals | Workflow |
|---|---|
| "install file-review", "set up file-review", "file-review not found" | Install |
"review this file", "file-review | Review a File |
| "I left comments", "process comments", "done reviewing", "address feedback" | Process Comments |
| Question | Options |
|---|---|
| "What would you like to do with file-review?" | 1. Review a file (open GUI), 2. Process existing review comments, 3. Install file-review |
brew tap desplega-ai/tap
brew install file-reviewwhich file-reviewgit clone https://github.com/desplega-ai/ai-toolbox.git
cd ai-toolbox/file-review
bun install
bun run install:app~/.local/bin/file-review~/.local/binxcode-select --installcd ai-toolbox/file-review && bun run uninstall:appthoughts/<username|shared>/plans/thoughts/<username|shared>/research/which file-reviewfile-review "<absolute_path>"--bg--silent--jsonI've opened file-review for <filename>.
Shortcuts: Cmd+K (add comment), Cmd+S (save), Cmd+Q (quit), Cmd+/ (help)=== Review Comments (N) ===
[abc123] Line 15 (inline):
"highlighted code"
-> Comment text here| Shortcut | Action |
|---|---|
| Cmd+K | Add comment to selection |
| Cmd+S | Save file |
| Cmd+Q | Quit application |
| Cmd+/ | Show all shortcuts |
| Cmd+T | Toggle theme |
| Cmd+Shift+V | Toggle vim mode |
| Cmd+O | Open file |
<!-- review-start(ID) -->highlighted text<!-- review-end(ID): reviewer feedback --><!-- review-line-start(ID) -->
content spanning
multiple lines
<!-- review-line-end(ID): reviewer feedback -->ID// Inline - captures: [full, id, highlighted, feedback]
/<!--\s*review-start\(([a-zA-Z0-9-]+)\)\s*-->([\s\S]*?)<!--\s*review-end\(\1\):\s*([\s\S]*?)\s*-->/g
// Line - captures: [full, id, highlighted, feedback]
/<!--\s*review-line-start\(([a-zA-Z0-9-]+)\)\s*-->\n?([\s\S]*?)\n?<!--\s*review-line-end\(\1\):\s*([\s\S]*?)\s*-->/gFound 3 review comments in <filename>:
1. [inline] "implement caching" -> "Consider using Redis"
2. [line] "function fetchData()..." -> "Add error handling"
3. [inline] "TODO" -> "Please complete this"| Question | Options |
|---|---|
| "Comment N of M: <feedback summary>" | 1. Apply edit, 2. Acknowledge (remove markers only), 3. Skip |
<!-- review-start(ID) -->text<!-- review-end(ID): feedback -->textProcessing complete!
- Applied edits: 2
- Acknowledged: 1
- Skipped: 0
File saved.