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
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.
Find the right playbook
For each situation, the command to type, the steps and the skills it calls.
See what each skill calls
Who calls what, with the call graph and a link to every file in the repository.
Estimate token cost
Every item has a cost level, so you know when a flow starts several agents.
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.
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.
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.
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.
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 ↗
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.
Here's how I shipped 2,500 PRs last month
The core talk: the trust curve, the 5 correction levels, the codebase as memory, automations. This site follows it.
Open ↗pstack guide, part 1
Verification as infrastructure and the feature map as memory.
Open ↗pstack guide, part 2
Prototype to plan, and only parallelize once trust is earned.
Open ↗SpaceX AI Engineer Lauren Tan, part 1secondary source
Agents earn trust by testing the real app. Parallelism comes after.
Open ↗AI Engineer talksecondary source
Every correction should become a deterministic check (lint, type, API), not one more line in a rules file.
Open ↗Lightcone (Y Combinator), with Roman Ugartesecondary source
The trust ladder all the way up: her agents merge their own PRs.
Open ↗