Lauren Tan 介绍 pstack 工程原则的运行机制与 Agent 技能压缩思路
Lauren Tan 介绍 pstack 中最持久的部分是工程原则,即约 10-20 行代码的简洁技能,把良好实践提炼成核心。她预计随着模型变强,多数 pstack 技能会压缩成简短原则或工作流,并能删掉其中几个。
perhaps one of the most durable parts of pstack are its engineering principles: very concise skills (~10-20 loc) that distill down good practices into its core.
as models get smarter, i expect most of pstack skills to compress into short principles or workflows (a generic list of steps) and that i will be able to delete a few of them.
how it works is that /poteto-mode contains a short index of available principles and tells agents "In your reply, name each principle that shaped a decision and the specific choice it changed." this is why you'll often see a Principles Named or Used section at the end of the agent's response
many of these principles were extracted from my sessions correcting agents since the start of this year. some are inspired by problems i see people talk about, like Attack the Premise, inspired by @VictorTaelin's post https://x.com/VictorTaelin/status/2096273196412498057
you can also use the principles as skills if you want greater control, by invoking /principle-<name>
https://github.com/cursor/plugins/blob/main/pstack/docs/guide/08-principles.md
来源:Lauren Tan · x.com