pstack 技能包:在 DSH 和 Claude Code 里安装使用(Lauren Tan 的工程工作流)
pstack 是 Lauren Tan(poteto)发布在官方 cursor/plugins 仓库里的技能包:/poteto-mode 带 23 个 playbook、34 个技能、24 条原则,另有把它移植到 DSH 的社区版本。
最近更新: 2026-11-16
一句话答案
pstack 是 Lauren Tan(@poteto)发布在官方 cursor/plugins 仓库 pstack/ 目录下的智能体技能包。它的 README 一句话定了调:「the goal is not to maximize loc, in fact it's the opposite. pstack helps you write less, but higher quality code.」
三个数字概括了这个包,全部在 2026-11-16 对着 README 与包内文件核过:/poteto-mode 背后的 23 个 playbook、「all skills」表里的 34 个技能(从 /poteto-mode 到 /technical-writing)、分五组(core、architecture、verification、delegation、meta)的 24 条原则。
入口只有一个技能:/poteto-mode 读你的请求,挑一个 playbook,把该 playbook 的步骤原样抄进 todo 列表,再按需调用其他技能。其余技能都是「你已经知道自己要什么」时的直连通道。协议 MIT,「Copyright (c) 2026 Lauren Tan」。
作者是谁,以及这里的「官方」指什么
「i'm poteto. i'm not a president or ceo, but i've worked with millions of lines of code at Meta, Netflix, and Cursor. i'm also on the react core team where i help build and maintain react compiler.」
因为仓库本身就是 cursor/plugins,所以 pstack 是作者自己的包、放在雇主家的插件仓库里,不是第三方转载——下面那些安装命令也照抄自这份 README。它对并行的说法只有一句:「pstack gives you fearless parallelism」——当一个智能体值得信任、写得出可验证的代码,同时开几个就不再是赌。
/poteto-mode 与它的 23 个 playbook
README 原文「it comes with twenty-three playbooks」;playbook 决定一件事要多少仪式感。按用途分组:
| 类别 | playbook |
|---|---|
| 只读问答 | investigation |
| 诊断与修复 | bug fix、perf、hillclimb、runtime forensics、trace forensics |
| 构建 | feature、refactoring、prototype、visual parity |
| 元工作 | authoring a skill、eval |
| 把分支送出去 | babysit、shipping、opening a pr(「invoked at the end of every other playbook」) |
| 长时间无人值守 | autonomous run、orchestrate、autopilot-full、autopilot-stack |
| 收尾杂务 | session pickup、pause safely、multi-phase plan、worktree cleanup |
/poteto-mode 还带两个子代理:subagent_type: "poteto-agent" 是一次运行中所有委派的包装(它先把模式技能完整读一遍),comment-sicko 是只读的注释评审,一般通过 /no-comments 触发。
那 34 个技能
README 里有一张叫「all skills」的表,一个技能一行。按用途大致分组:
- 入口与对齐 ——
/poteto-mode、/poteto-help(先搞清楚你想干什么)、/in-your-own-words(开工前把你的目标复述一遍)、/sharpen(把提示词挖深,而不是写长)。 - 读懂一个代码库 ——
/how、/why(从提交记录与 PR 讨论里找答案,不猜代码)、/recall、/ketchup、/ketchup-video、/teach、/blast-radius。 - 写代码 ——
/architect(先把调用方的用法与类型定下来)、/tdd、/figure-it-out(没有现成 playbook 时现设计一个)、/typescript-best-practices。 - 并行与对抗 ——
/arena(同一个任务做 N 份再挑最好的部分)、/swarm(按切片分 N 个工人出一份汇总)、/interrogate(换模型来拆你的 diff)。 - 证明它能用 ——
/create-verification-skill、/maintain-verification-skill、/create-formal-verification-skill、/maintain-formal-verification-skill、/benchmark-checklist、/statechart、/show-me-your-work。 - 写作与清理 ——
/no-comments、/unslop、/bro、/technical-writing。
名字上要区分一下:pstack 的 /unslop 是它自己的清理 playbook;另一个 unslop 技能(heydamir/unslop)是独立项目——一个把 vibecoded 界面去 AI 味的 UI 设计技能——两件事不能互相替代。
- 配置这个包 ——
/setup-pstack、/automate-me(按你真实的干活方式起草一个名字-mode技能)、/reflect、/correct、/make-bot-ui。
最不常见的是两组「创建 + 维护」的验证技能(普通版与形式化版各一对):它们在你的项目里生成一个本地验证技能,而不是塞一个通用测试跑法,所以证据能比这次会话活得更久。
那 24 条原则
README 原文「twenty-four short skills, one principle each」——/poteto-mode 把它们索引在正文里,任务一开始就读这份索引。挑几条看措辞:
| 原则 | 分组 | 规则 |
|---|---|---|
laziness-protocol | core | 「Bias toward deletion and the smallest change that solves the problem.」 |
foundational-thinking | core | 先把核心类型与数据结构定对,下游代码自然就清楚了。 |
prove-it-works | verification | 对着真实产物验证——跑功能、读真实值、看 diff——而不是代理指标、自述或「能编译」。 |
fix-root-causes | verification | 「Trace each symptom back to the first place the system went wrong and fix it there.」 |
guard-the-context-window | delegation | 「Route bulk to subagents; keep summaries in the main thread, not raw payloads.」 |
encode-lessons-in-structure | meta | 把规则编码成 lint、元数据标记、运行时检查或脚本,而不是写更多文字。 |
在 Cursor 里安装
README 只给一行:
/add-plugin pstack
然后两步:跑 /setup-pstack 选推理预算与各角色用的模型;需要严谨的活就直接上 /poteto-mode。记不清该用哪个技能或 playbook 时,/poteto-help 是出口。还有一个只在 Cursor 成立的技巧:从 / 菜单选 /poteto-mode 时按 option+enter(Windows 上是 alt+enter),它会变成常驻的 custom mode,每一轮都在上下文里,而不是只贴在这一条消息上。
在 Claude Code 里安装
Claude Code 是 README 写明的第二个 harness,两条命令:
/plugin marketplace add cursor/plugins
/plugin install pstack@cursor-plugins
在这个 harness 里有三件事不一样,README 都写清了:
- 命令名多一个前缀。 Claude Code 会给插件命令和 agent 加前缀,所以
/poteto-mode是/pstack:poteto-mode;专门的适配文档pstack/docs/harness/claude-code.md映射了其余每一条命令名。 - 模型选择落到文件里。
/pstack:setup-pstack把模型选择写进~/.claude/rules/pstack-models.md,而不是 Cursor 的设置项。 - Cursor 专属步骤会跳过。 需要只有 Cursor 才有的功能(bugbot、automations)的步骤会被跳过,并留一行说明,而不是让整轮失败。
更新默认是手动的:「claude code leaves auto-update off for third-party marketplaces」。要到 /plugin 的 marketplaces 标签页给 cursor-plugins 打开自动更新,或手动执行 claude plugin update pstack@cursor-plugins。
在 DSH 里安装:社区移植
到这里官方线索就断了,剩下的是解读。pstack 的 README 只覆盖 Cursor 与 Claude Code,通篇没有提 DeepSeek Harness。 作者没有为 dsh 发布任何东西。存在的是本站目录收录的两个社区移植,各自有记录页:
| 移植 | 它自己的描述 | 许可证 | 记录页 |
|---|---|---|---|
l246804/dsh-pstack | 「pstack for DeepSeek Harness: rigorous agent workflows ported from cursor/plugins.」 | MIT | 记录页 |
aa2246740/pstack-dsh | 「DeepSeek Harness port of official pstack. Playbooks and principles are poteto's; only the harness call layer is rewritten.」 | 未声明标准 SPDX 标识 | 记录页 |
第二段描述要按字面读,因为它最诚实:playbook 与原则是作者的文字,调用层是别人的,所以命令名和子代理接线都可能与你刚读完的 README 有偏差。这就是移植本来的样子,也正因为如此,上面两个记录页比任何二手总结(包括本文)都更该先看。
如果你想先补 harness 基础:技能安装 与 技能安装机制 讲清复制式技能落在哪里,dsh 插件是什么 讲插件那一侧,最好用的 dsh 技能 把 pstack 和其他技能包放在一起比较。
为什么没有规划技能
README 自己回答了这个问题,值得整段照抄:
「cursor already has a great plan mode which works great with pstack. but personally, i don't believe in planning. the best spec is code. if you do want to make a plan,
/poteto-modecovers it, but it's not a default.」
所以搜「pstack 规划技能」得到的是一个刻意的空缺:multi-phase plan playbook 服务于跨阶段或堆叠 PR 的活,而专门产出规划文档的技能不存在。
边界在哪
- 不做规划是设计选择 —— 见上一节。
/poteto-mode是替代品,而且从代码出发。 - 它引用的四个名字不在包里。
/deslop、control-cli、control-ui在cursor-team-kit插件里,/create-skill是 Cursor 内建;README 说想要全套就把cursor-team-kit和 pstack 一起装。benny 自动化包处于休眠状态、只在 Cursor automations 上跑,其中的文件也没注册成斜杠技能。 - 模型选择是按 harness 存的。
/setup-pstack写一条规则把每个角色钉到某个模型;在 Claude Code 里这条规则是~/.claude/rules/下的文件,所以同一套选择不会跨 harness 通用。 - 移植是快照。 dsh 的移植带着某个人抄下来的 README,而上游的技能文件还在改。
常见问题
pstack 是什么?
是 Lauren Tan(@poteto)发布在官方 cursor/plugins 仓库 pstack/ 目录下的插件。README 自称「the same skills i use every day to ship high quality code at Cursor」,核心只有一个入口技能 /poteto-mode:它把你的任务匹配到 23 个 playbook 中的一个,再按步骤调用其余技能。MIT 协议,版权人 Lauren Tan。
在 Claude Code 里怎么装 pstack?
在 Claude Code 里先把仓库加成 marketplace,再从里面装插件:/plugin marketplace add cursor/plugins,然后 /plugin install pstack@cursor-plugins。Claude Code 会给插件命令加前缀,所以 /poteto-mode 变成 /pstack:poteto-mode。它默认对第三方 marketplace 关闭自动更新——可在 /plugin 的 marketplaces 标签页开启,或手动执行一次 claude plugin update pstack@cursor-plugins。
pstack 能用在 DeepSeek Harness(dsh)里吗?
作者没有发布 dsh 版本。pstack 的 README 只写 Cursor 与 Claude Code,通篇没提 DSH。本站目录里收录的是两个社区移植——l246804/dsh-pstack 与 aa2246740/pstack-dsh——它们保留 playbook 与原则,重写了 harness 调用层。这属于第三方工作,装之前先看各自的记录页。
pstack 有规划类技能吗?
没有,而且是有意为之。README 的原话是「cursor already has a great plan mode which works great with pstack. but personally, i don't believe in planning. the best spec is code.」。/poteto-mode 里仍有一个 multi-phase plan playbook,用于跨阶段或堆叠 PR 的活,但整个包里没有专门产出规划文档的技能。
来源
以上内容均在 2026-11-16 读过:
- github.com/cursor/plugins ——
pstack/README.md:作者自我介绍、「目标不是行数」那句、「pstack gives you fearless parallelism」、/add-plugin pstack安装行、Claude Code 的两条命令与前缀说明、~/.claude/rules/pstack-models.md与自动更新说明、「it comes with twenty-three playbooks」与 playbook 表、「all skills」表、「twenty-four short skills, one principle each」与原则表、poteto-agent与comment-sicko两个子代理、「not shipped here」清单、没有规划技能的回答、benny 自动化包,以及 MIT 那一行。 - 本站目录里两个 dsh 移植的记录页:l246804/dsh-pstack 与 aa2246740/pstack-dsh。上表引用的描述与许可证取自这两份记录,不是上游仓库。
延伸阅读:Impeccable 技能、最好用的 DeepSeek Harness 技能、技能安装、技能安装机制、dsh 插件是什么。
