A One-Line Prompt to Delete Dead Code From Vibe Coding, Making Agents Cheaper
gabriberton · x · 2026-09-27
The author re-shares a one-line prompt — "Delete all dead code. Use ruff and vulture" — to combat the dead code that vibe coding accumulates. His argument: less code means cheaper agents, shorter context, less context rot, and fewer bugs, and the practice is getting more useful every day.
More from coding & agent
- When one agent approves another's permissions: lessons from the OpenAI/HF incident — TajyMany · 2026-09-27
- Working with AI on novel problems: engineer it to stumble into 100 ideas and try them all — ivan_bezdomny · 2026-09-27
- Profiling an agent harness with jq: latency per turn and byte-level request composition — arthurcolle · 2026-09-27
- Dev builds a zero-LLM Windows harness so Jev computer use can do multi-step tasks — airesearch12 · 2026-09-27
- One prompt, 6 hours of Claude Code: a 6-minute JCS-style interrogation film — nt_coco · 2026-09-27
- Vibecoding at Five: Critics Declare It Failed While Adopt 'Tell the AI to Fix My Linux' Skyrockets — teortaxesTex · 2026-09-27