Unofficial guidepstack

My notes to understand pstack

pstack is the skill kit Lauren Tan (poteto) built to ship quality code with agents. This site is only a summary: to learn pstack, I asked Claude to read its code and her talks, then turn them into lessons, situations and a reference.

All the credit goes to its author. Nothing here is made up: every item points to a file in the repository or to a source.

11
lessons to discover the pieces of pstack
20
situations, from a bug to a big project
91
skills, playbooks, agents and principles in the catalog
GitHub contributions shown in the talk (around 2:30). · Source ↗
What this site is for

A pstack reference to keep open

The author already explains a lot in her X threads and in the repository. This site doesn't replace those sources: it gathers them in a form you can browse.

  1. Find the right playbook

    For each situation, the command to type, the steps and the skills it calls.

  2. See what each skill calls

    Who calls what, with the call graph and a link to every file in the repository.

  3. Estimate token cost

    Every item has a cost level, so you know when a flow starts several agents.

  4. Spot what is Cursor-specific

    The pieces to replace to use pstack with Claude Code or Codex.

Why this approach interests me

The PR volume is huge, and the talk credits one thing for it: an environment where you can trust your agents. That method is what interests me, more than the numbers.

2,000PRs shipped to production the month of the talk
5,000+PRs in six months, per her talk
22playbooks behind /poteto-mode
5levels where a correction can live
The ideas from the talk

Speed comes from trust

These ideas come from the talk, not from me. Each block points to the part where they are explained. The talk is not about shipping more: it is about setting up the agents' environment so they do good work even when you're not there.

Trust first, parallel second

With one reliable agent you can run 5, then 20, then hundreds. Without trust, every extra agent is one more PR to review line by line.

11–55–1010–20hundredsthousandsnumber of agentstrustwhere you start
Curve redrawn from her talk's slideSource: talk “Here's how I shipped 2,500 PRs last month”, 05:00 to 06:40, then 35:25 ↗

Every correction moves up a level

When you correct an agent, put the rule as high as you can in this triangle. The higher it is, the less it depends on the agent's goodwill.

Triangle redrawn from her post on X ↗Source: talk “Here's how I shipped 2,500 PRs last month”, 15:25 to 17:55 ↗

Verification is infrastructure

The agent drives the real app, reproduces the bug and proves the fix. That's the /verify-<app> skill, created once per project.

Benny, an automation agent, reproduces a bug reported on Slack (around 35:00). · Source ↗
Read the lesson on verification →Source: talk “Here's how I shipped 2,500 PRs last month”, 07:05 to 12:05 ↗

The codebase is memory

A maintained feature map tells the agent where things are and how to reach them. Lessons learned end up in code, not in a prompt.

Source: talk “Here's how I shipped 2,500 PRs last month”, 15:25, 20:25 and 30:00 ↗
“if you want to go fast, go deep first.”
pstack README ↗
Sources

Talks and writing on pstack

Everything explained here was written and presented by Lauren Tan herself: her talks, her X threads and the pstack repository. This site only summarizes her work. The last three sources are articles about her, so double-check.

Where to start

Three ways to read this site