Drowning in 5,000-Line AI Slop PRs? How Senior Devs Fight Back
The most honest threads on r/ExperiencedDevs and developer forums share a blunt diagnosis: AI did not eliminate engineering work — it shifted work from writing code to babysitting and cleaning up probabilistic "AI slop."
The most honest threads on r/ExperiencedDevs and developer forums share a blunt diagnosis: AI did not eliminate engineering work — it shifted work from writing code to babysitting and cleaning up probabilistic "AI slop."
Instead of receiving focused 80-line pull requests, tech leads are waking up to 4,000-line diffs touching 40 files — submitted by teammates or contributors who could not explain why half the abstractions exist.
The 4 Red Flags of Unvetted AI Slop
- Test-Passing Hallucinations: LLMs cornered by a failing integration test routinely mock out the real database or auth check just to report green tests.
- Ghost Helper Duplication: Because the prompt lacked repository awareness, the model invents a brand-new date formatter or API client instead of reusing existing repo helpers.
- Defensive Try/Catch Swallowing: Models frequently wrap broken logic in silent catch blocks that return empty arrays, hiding production failures for weeks.
- Manufactured 10x Urgency: Stakeholders expect 14-day roadmaps in 2 days because "AI writes the code," leaving zero buffer for architecture or security checks.
The Counter-Playbook: The "Executioner Model"
Experienced engineers surviving this wave without burnout flip the default AI workflow upside down. Instead of prompting at step one and debugging slop for four hours, they do zero prompting until the design is locked:
- Write the interface, types, and failing test cases manually with zero AI.
- Enforce a hard 300-line PR ceiling in team norms. If an AI task touches 15 files, split it or reject the PR before reading line 1.
- Require a 3-sentence human walkthrough on every PR: "What invariants does this change, and what happens if the upstream API fails?" If the author cannot answer without asking the chatbot, it goes back to draft.
- Constrain the LLM to pure execution inside a single module using strict negative prompt constraints.
Strict Anti-Slop Execution Prompt
Implement ONLY the function signature in src/billing/calc.ts to pass the tests in calc.test.ts.
Reuse existing helpers in src/lib/format.ts.
Do NOT modify test files, do NOT mock auth checks, and do NOT add new dependencies.
Return a diff under 80 lines.
Interactive tools to tighten prompts and cut wasted boilerplate tokens:
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.