com um clique
simplify
// Do code review and cleanup, use when user asks to do a code simplification or cleanup
// Do code review and cleanup, use when user asks to do a code simplification or cleanup
Force queue up a task for execution after current task completes
Run a code review using Codex CLI. Use when user asks for a code review.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
| name | simplify |
| description | Do code review and cleanup, use when user asks to do a code simplification or cleanup |
Review all changed files for reuse, quality, and efficiency. Fix any issues found.
Run git diff (or git diff HEAD if there are staged changes) to see what changed. If there are no git changes, review the most recently modified files that the user mentioned or that you edited earlier in this conversation.
Launch all three agents concurrently. Pass each agent the full diff so it has the complete context.
For each change:
Review the same changes for hacky patterns:
Review the same changes for efficiency:
Wait for all three agents to complete. Aggregate their findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on — do not argue with the finding, just skip it.
When done, briefly summarize what was fixed (or confirm the code was already clean).