Dev shares an agent prompt that forces AI to question your architecture from scratch
kevinkern · x · 2026-11-28
kevinkern notes that agents get used to following your instructions even when you're heading in the wrong direction. His fix: spawn a second agent (gemini 4 neon) with a fixed prompt asking it to redesign the product from scratch today, using the current codebase plus web research. The prompt separates product requirements from historical implementation decisions, identifies what to keep/simplify/remove/redesign, demands evidence and trade-off justification for each call, and weighs maintainability, security, performance and complexity to decide between keeping, refactoring or rebuilding. A copy-paste workflow for architecture reviews when you suspect your project has drifted.
More from coding & agent
- Transformers serve refactor: API server split into its own process for speed — LysandreJik · 2026-11-28
- Dead man's switch idea: agent checks local papers for your obituary daily via cron — p_e_cooper · 2026-11-28
- Brute-forcing intelligence-bound problems with 100+ DeepSeek agents and one coordinator — zack_overflow · 2026-11-28
- Gemini 4 Neon may be the best model now, but the harness is still Gemini's biggest problem — JeremyNguyenPhD · 2026-11-28
- Dev won't touch new products without an MCP endpoint on the free plan — handotdev · 2026-11-28
- Developer benchmarks LLMs per agent seat in real finance app: Sol 6.2 solo beats 9x pricier multi-model stacks — kevinkern · 2026-11-28