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-protocolcore「Bias toward deletion and the smallest change that solves the problem.」
foundational-thinkingcore先把核心型別與資料結構定對,下游程式碼自然就清楚了。
prove-it-worksverification對照真實產物驗證——跑功能、讀真實值、看 diff——而不是代理指標、自述或「能編譯」。
fix-root-causesverification「Trace each symptom back to the first place the system went wrong and fix it there.」
guard-the-context-windowdelegation「Route bulk to subagents; keep summaries in the main thread, not raw payloads.」
encode-lessons-in-structuremeta把規則編碼成 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-mode covers 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 外掛是什麼。

DSH Plugins 是獨立的 DeepSeek Harness 外掛目錄,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。