AAWEA.ORG
AAWEA.ORG
AAWEA.ORG
Review Manual trigger πŸ‘‘ Official πŸ›‘ Hardened

De-Sloppify Pass

After implementation, run a cleanup pass: remove debug code, tighten naming, delete dead branches, and align with project conventions.

πŸ‘ 2,014 views πŸ“₯ 1,828 installs πŸ‘€ by loops!
Download loop
Share Now
Manual start
↓
  1. 1
    Scan for slop

    Review recent changes for debug logs, commented code, TODO hacks, oversized functions, and inconsistent naming.

  2. 2
    Clean up

    Apply minimal fixes: delete dead code, extract helpers, align types, and match surrounding style.

  3. 3
    Verify

    Run lint and tests to ensure cleanup did not break behavior.

    > npm run lint && npm test
↓
βœ“
Exit condition: lint_clean

No slop remains and lint/tests still pass

> npm run lint && npm test
πŸ“Š Flow Diagram
flowchart TD Start(["Manual start"]) Start --> S0 S0("Scan for slop") S1("Clean up") S0 --> S1 S2("Verify") S1 --> S2 Exit{"No slop remains and lint/tests still pass"} S2 --> Exit Exit -- "No" --> S0 Exit -- "Yes" --> Done(["Success"]) style Exit fill:#fffbeb,stroke:#f59e0b,stroke-width:2px,color:#92400e style Done fill:#ecfdf5,stroke:#10b981,stroke-width:2px,color:#065f46
Run "De-Sloppify Pass" in your agent
Prompt only
Deeplinks and "Open in Cursor" only paste the kickoff prompt. They do not install hook files β€” your agent cannot tell whether files are on disk until you add them yourself.
Two separate pieces
  • Kickoff prompt β€” tells the agent the goal, check command, exit condition, and how to self-pace.
Kickoff prompt
Start the "De-Sloppify Pass" loop.

Goal: recent changes are clean, minimal, and convention-aligned
Max iterations: 4
Between iterations run: npm run lint && npm test
Exit when: review finds no slop and checks pass

Step 1: Review the diff for debug code, dead branches, and naming issues. Fix them with minimal diffs.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.
Anti-gaming rules
Rules the agent must follow so it cannot cheat the exit condition.
  • Do not modify the check command or exit criteria to force success
  • Do not skip, disable, or bypass checks to pass the exit condition
  • If stuck after several iterations, stop and report blockers instead of gaming metrics