Dev replaces 4,000-word system prompt with 9 lines and nothing breaks
Royal_Being_5084 · reddit · 2026-11-27
A developer shares how their two-year-old system prompt had ballooned to 4,000 words — self-contradicting rules, a leftover paragraph about a customer complaint from 2024, and the phrase "IMPORTANT!!" eleven times. They rewrote it into 9 lines, kept the old version for rollback, and A/B tested both against a week of real conversations.
The short version matched the old one on almost everything and was better at not over-apologizing; the only loss was a "Have a productive day!" sign-off nobody missed. Their takeaway: half of any long prompt is scar tissue from incidents no one remembers.
More from coding & agent
- Hooking an AI bot to FreeCAD via MCP to generate bespoke ESP32 project enclosures — StewartalsopIII · 2026-11-27
- Dev builds interactive 3D deadbolt with Google Antigravity, Gemini 4 Neon, WebGPU and three.js — AI_Andrew · 2026-11-27
- Samuel Colvin demos Monty, his sandbox for AI agents, at Rust London — samuelcolvin · 2026-11-27
- Pi Adapter Transfers to OpenCode and Hermes, But Author Says It's Bounded Adaptation, Not RSI — krishnan · 2026-11-27
- HF trains RL inside the shipping harness: Qwen3.8-27B hits 55% on Terminal-Bench, tokens drop 48% — krishnan · 2026-11-27
- Hugging Face's harness adapters lift frozen 27B model from 39% to 55% on Terminal-Bench — krishnan · 2026-11-27