Refactor

Refactor code with xReview peer review. Codex is the developer, a peer LLM agent reviews your work. Use when: /refactor, refactor code with review

tonychen15 2728193 2 files · 779 B Updated

File contents

Run this command first:

xreview codex refactor "$ARGUMENTS"

Read the script's output carefully. It tells you the session number and what to append to .review/REVIEW.md.

Then follow these steps:

  1. Append the session header and "Implementing" line to .review/REVIEW.md (use the exact format from the script output)
  2. Perform the refactoring described in the objective
  3. When done, run xreview review to trigger the reviewer

tonychen15/xReview/tree/main/codex/commands/xreview-refactor commit 27281934eb

Frequently asked questions

npx skillmds@latest add tonychen15/refactor