slop-rebuild
Rebuild a feature an agent just implemented as the simpler version it would write now that it knows the problem, without losing the first version. Snapshots the original to a branch, pins the tests that must still pass, lists what the first pass learned, reimplements the feature tests-first in a separate worktree, then compares diff size, complexity and test results and recommends one, including keeping the original. Changes the user's checkout only after they choose. Use when the user runs /slop-rebuild, or asks to scrap an implementation and redo it the simple or elegant way, such as 'knowing everything you know now, scrap this and implement the elegant solution'.
Pinned to revision 94424cb2757a, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Glob
- Grep
- Bash(git status *)
- Bash(git diff *)
- Bash(git log *)
- Bash(git show *)
- Bash(git rev-parse *)
- Bash(git merge-base *)
- Bash(git symbolic-ref *)
- Bash(git ls-files *)
- Bash(git check-ignore *)
- Bash(git worktree list *)
Files
Every link opens the file at its source, pinned to the revision this page describes.