收藏再多神 prompt,你的 AI 還是會在同一個地方犯錯
- URL: https://www.facebook.com/share/p/1FJKRdJaZe/?mibextid=wwXIfr
- Date Saved: 2026-11-09
- Source: Facebook (追日Gucci-投資美股,享受生活)
- Tags: ai-engineering, productivity
Summary
Opinion piece by 追日Gucci arguing that collecting prompts gives a false sense of progress — the real fix for recurring AI mistakes is structural guardrails (lint rules), not memory (CLAUDE.md).
The Trigger
A viral X post by Voxyz (30K views, 819 saves) shared 5 prompts he uses on every Claude Code / Codex project. But the most-discussed was his 6th tip: “When AI makes the same mistake twice, have it write a lint rule to block that pattern, with a clear error message explaining the fix.”
Core Argument: Reminders vs Guardrails
CLAUDE.md / AGENTS.md = reminders — “please remember this.” As context grows, line 38 competes with hundreds of other lines for attention. It’s just a suggestion, nothing enforces it.
Lint rules = guardrails — don’t need to be remembered. They run on every save, every commit, every check. Wrong code = failure = agent must fix it. They compound: a rule written today catches the same mistake in tomorrow’s new conversation, next month’s new model, or even your own hand-written code.
The Ladder (best → worst)
- Change the code so the error is structurally impossible
- Lint, tests, CI — automated checks that block on failure
- Written instructions (CLAUDE.md, AGENTS.md, skills)
- Human review
Most people work in reverse order: add a line to CLAUDE.md every time something goes wrong, end up with hundreds of lines, then complain the agent “doesn’t listen.”
The Parenting Analogy
Telling a 3-year-old “don’t touch the outlet” works 9/10 times. The 10th time they’re too excited and reach for it anyway. So parents install outlet covers. CLAUDE.md = “don’t touch”; lint = the cover.
“Error message must explain the fix” matters too — just saying “no” makes agents guess workarounds; saying “use this pattern instead” gets immediate compliance.
Caveats
- Only works for codifiable errors. Product judgment and design taste can’t be linted.
- Too many rules with vague messages → people disable the checks entirely.
- Prompts still matter for tone, style, workflow. This is about priority when the same error recurs.
Key Quote
“收藏夾越來越滿,agent 還是在同一個地方跌倒。” (Your bookmarks keep filling up, but the agent keeps tripping in the same spot.)