The most important thing when working with LLMs

2026年1月27日

AI 摘要 AI 生成,可能有误

文章认为,在使用 Claude 这类大语言模型(LLM)时,最重要的一项实践是为它们提供快速、客观的方法来评估其工作是否正确,并在其出错时给予指引,帮助其朝正确的方向前进。作者借鉴了教儿童编程的经验,指出计算机执行的是你所说的话,而非你的本意,并运用阿姆达尔定律(Amdahl's Law)说明为什么优化 LLM 开发循环中缓慢的监控与审批环节能带来最大的速度提升。实用技巧包括让 Claude 自动运行构建、测试和命令,利用信息丰富的编译器错误,以及精简冗长的工具输出,使模型能够接收到清晰的成功信号和可操作的失败反馈。

Okay, so you’ve got the basics of working with Claude going. But you’ve probably run into some problems: Claude doesn’t do what you want it to do, it gets confused about what’s happening and goes off the rails, all sorts of things can go wrong. Let’s talk about how to improve upon that.

The most important thing that you can do when working with an LLM is give it a way to quickly evaluate if it’s doing the right thing, and if it isn’t, point it in the right direction.

This is incredibly simple, yet, like many simple things, also wildly complex. But if you can keep this idea in mind, you’ll be well equipped to become effective when working with agents.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Steve Klabnik

Arguing about arguments

AI 摘要The article surveys argument-related language features—named parameters, optional/default arguments, and function overloading—and explains why the author, a former Ruby programmer turned Rust enthusiast, has long opposed adding them to Rust, citing the intertwined complexity and obscurity they introduce at call sites. However, the author now tentatively supports named parameters alone, arguing that AI coding agents shift the cost-benefit analysis: verbosity no longer matters much when agents write the code, while the inline clarity benefits both humans and agents. They still reject optional/default arguments because they hide what is actually being passed in, and note that many practical implementation concerns remain for adding named parameters to Rust.

So, what happened to my Claude Code series?

AI 摘要The author explains that his Claude Code series stalled because he has been extremely busy and the AI landscape has been changing so rapidly that keeping the documentation up to date became infeasible. With new releases like Claude Fable and OpenAI's upcoming Astra making the series feel increasingly outdated, he has decided to officially end it, though he still believes his earlier posts are valuable for getting started. He stresses that this decision doesn't reflect skepticism about AI—which he believes is here to stay and transforming how people work—but simply a lack of time for this specific project.

Too many words about DIDs

AI 摘要This article by Steve Klabnik explains how Decentralized Identifiers (DIDs) function in the atproto protocol that underlies Bluesky, describing how DIDs are resolved into DID Documents containing cryptographic keys and service endpoints. It compares the did:web method, which depends on DNS and self-hosted servers, with Bluesky's did:plc method, which uses the plc.directory service and remains stable even if domain names change, while discussing the trust trade-offs of each approach. The author concludes that while Bluesky initially generates and controls users' keys, did:plc's key rotation feature allows motivated users to run their own PDS and fully own their identity.

Compilers and AI 'cyber' defense

AI 摘要Steve Klabnik describes how new AI models (Sol and Fable) repeatedly refuse to help with his Rue compiler project because its safety layers flag the project's defensive testing practices—such as fuzzers, sanitizer hooks, and deliberate crash tests—as potential cybersecurity threats. While the AI itself confirms these are false positives stemming from the work's surface similarity to exploit development, Klabnik cannot bypass the guards. He expresses concern that such safety policies may leave individual developers unable to make their software as robust as that produced by large organizations.

Agentic development basics

AI 摘要This article, part two of a series on agentic development, guides readers through starting to write code with Claude Code after initially using it read-only. The author recommends using version control, committing fully to not writing code manually on a new throwaway project, and reviewing Claude's suggested edits closely to build intuition about how the tool interprets requests. It also introduces plan mode, which lets developers collaborate with Claude on a plan before allowing it to modify files, as preparation for more advanced techniques covered later.