# IDR：如何避免让 LLM 写出废话

Original title: IDRs as Records of Intent

> Hacker News story 50058649 · language: zh · submitted 2026-10-12
> Web version: https://zeli.app/zh/story/50058649
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 22 · by [evakhoury](<https://news.ycombinator.com/user?id=evakhoury>) · 💬 3
[original](<https://wrla.ch/log/2026/10/idrs-as-records-of-intent/>) · [HN discussion](<https://news.ycombinator.com/item?id=50058649>)

## Summary

在《Writing the Docs: 2026 Edition》中，我探讨了 Implementation Decision Records（IDR）的价值。我发现，如果给 LLM 的提示词太模糊，它只会生成冗长的代码描述，这种记录毫无价值，甚至不如 diff。真正有效的 IDR 必须紧扣“意图”，清晰界定 Goals 和 Non-Goals。例如，在将 repo-parser 发布到 PyPI 的案例中，简练的目标描述不仅让 LLM 输出了更精准的方案，也为未来的我保留了清晰的决策记录。记住，IDR 不是用英语复述 diff，而是指导 LLM 行为的护栏。

## Key quote

> 如果没有回归到意图和为支持它而做出的决策，IDR 就只是用英语冗长地复述 diff 而已。

---

## Cite

- Page: https://zeli.app/zh/story/50058649
- Date: 2026-10-12
- Source: wrla.ch (https://wrla.ch/log/2026/10/idrs-as-records-of-intent/)
- Hacker News: https://news.ycombinator.com/item?id=50058649

## Other languages

- en: https://zeli.app/story/50058649 · markdown: https://zeli.app/story/50058649.md
- ja: https://zeli.app/ja/story/50058649 · markdown: https://zeli.app/ja/story/50058649.md
- ko: https://zeli.app/ko/story/50058649 · markdown: https://zeli.app/ko/story/50058649.md
- de: https://zeli.app/de/story/50058649 · markdown: https://zeli.app/de/story/50058649.md
- es: https://zeli.app/es/story/50058649 · markdown: https://zeli.app/es/story/50058649.md
- ru: https://zeli.app/ru/story/50058649 · markdown: https://zeli.app/ru/story/50058649.md
