Lesson 1 · Milestone: Finish check

A check that can fail

An agent can edit the code. Someone still has to check the result. This lesson is that check: a command that can come out wrong, and the prompt that asks for it.

/poteto-mode is the front door. It only has something to aim at when the prompt includes a check that can fail. Until then, more agents only means more unchecked work.

Four words

Finish conditionA sentence that can pass or fail. "Make it better" cannot fail.
ArtifactThe file or screen a user would actually get. Not the build log.
EvidenceThe command you ran and the output it printed, kept so you can look.
ProofThe evidence you asked to see before the agent started.

You are the harness

A test harness is the thing that runs a check and reports pass or fail. Right now that thing is you. The agent edits, you open the app, you decide. The next agent waits on that decision. That is why a handful of agents already feels like the limit.

A finish condition is a harness the agent can run. The verify-and-ship page states the constraint that forces this shape: verification is the step that usually waits on a human. Make the agent able to do it, and you stop being the bottleneck.

The picture breaks in one place. A check can pass and the work can still be bad. "Each id appears once" does not mean the title is right. Lauren Tan's point, in the trust talk, is the same: a check lets the agent reach correct on that check. It does not by itself make the code good.

You are the harness agent writes the file out/shelf.csv the artifact you next agent waits A check that can fail agent writes the file out/shelf.csv the artifact check.mjs can exit 1
The accent is the only new piece: a command that reads the artifact and can fail. You move from the last box to reading its output.

Watch the failure

Press play. Five short chapters, or scrub. The file and the exit line are a real run: four rows, duplicate bk-014, exit 1. The waiting agent is an illustration, not a count anyone measured. With the voice on, the caption keeps only the chapter title.

The guide's sentence for this is blunt: "It compiles" is not evidence. A build proves the project compiled. The check has to match the change. A command runs the command. A screen is walked in the running app. A saved input is replayed. A stored value is read back.

One prompt, then the blanks

This is the shape from the prompt page. The goal, a constraint, a finish condition, and the proof. The cause stays out.

/poteto-mode shelf writes one title twice.
repro first. do not fix it yet.
done means each id appears once in out/shelf.csv.
show me the rows.
  1. Goal. One title is written twice.
  2. Constraint. Reproduce first. Do not fix it yet. This lesson wants the failure.
  3. Finish condition. Each id appears once. That sentence can be false.
  4. Proof. The rows the command prints.
  5. Left out. Why it happened. A hunch sends the agent to wherever you pointed.

Practice

A green build proves which claim?

Where does the check read?

What do you leave out of the first prompt?

The agent says done and shows no command output. That reply is what?

Sort the sentences

Put each sentence in the bin it belongs to. A finish condition can come out wrong.

Every id appears just once

Row totals match this file

Make the export better now

Remain here one whole hour

Fill the same prompt

Cover the example above, then fill the two blanks. The boxes are the same width on purpose.

/poteto-mode shelf writes one title twice.
repro first. do not fix it yet.
done means each id appears  in out/shelf.csv.
show me the .

How you use it

These commands are from the official guide. They run in a chat. This page does not install anything, and it does not grade you.

  1. Install. In a Cursor chat, run /add-plugin pstack. Cursor confirms the plugin is installed. In Claude Code, run /plugin marketplace add cursor/plugins, then /plugin install pstack@cursor-plugins. Commands there take a pstack: prefix, so the next step is /pstack:setup-pstack.
  2. Pick models. Run /setup-pstack. It asks for a reasoning budget and which model fills each role, then writes ~/.cursor/rules/pstack-models.mdc. Start a new chat afterwards. The rule applies to new sessions. At the end it may offer a project verification skill. Say yes if you are new. That skill is how the agent checks the running app instead of handing every result back to you.
  3. Start the work at the front door. Type /poteto-mode and say the goal the way you would to a colleague. Add a finish condition that can fail, and name the proof. Do not name a playbook or a list of skills. The mode matches one and copies its steps into the todo list.
/poteto-mode the export writes duplicate rows when a retry lands mid-run. repro first, then fix and verify.

That sentence is the guide's own example. Watch the todo list. A skipped step stays visible with skip:. If you cannot tell which skill fits, type /poteto-help and the question. It answers and hands you a prompt. It does not start the work, because a run spends tokens.

To keep the mode on for the whole chat, pick /poteto-mode from the / menu and press Option+Enter on Mac, or Alt+Enter on Windows. Plain Enter attaches it to one message.

The finish-check card is the short version of this page. Setup and the prompt shape are written out in Set up pstack and Route work through /poteto-mode. The next lesson is what the mode does with that prompt.

Go deeper

Primary source: Verify the result and open a PR, in the official pstack guide. Read "State the finish condition up front".

The practice above is the check for this page. When a step here is too short, the official guide is the source.