In this video, you watched the reference version of the escape room project, from the course download, grow its first working code in a real agent session recorded in December 2026. Your own agent will build something different. What should match is the shape.
Key points:
- The plan has four steps, and it’s tempting to ask for all of them at once. Watch out: if the first run comes after the whole plan is built, an error at startup could be in any new file. Or in how they’re wired together. And you’ve reviewed none of them.
- So the first request asked for much less. It asked for a thin piece of every part, wired together, instead of the plan’s first step on its own. That’s a walking skeleton, the thinnest slice of the project that runs from end to end. Here, it loads one room file and prints whether the room can be finished. The name is a picture of all the bones, joined up and walking, with no muscle yet. The picture stops there, since these bones are files and commands.
- The request asked for one command each to run, test and lint the project, and one passing test. A linter flags suspect code without running it, and Node has none built in. The instruction file says to ask before adding a dependency, so the request approved ESLint up front, and no others. That changes the plan, which said no dependencies. And the request can’t stop the agent installing more, so you check what arrived.
- The request ruled out every other feature, and it asked the agent to run everything and show the output, but not to commit. It’s an example of what to say, not a recipe.
- The agent read the plan and instruction file, then created seven files.
package.jsonnames the three commands.check-room.jsloads a room and prints a verdict, which it gets from the checker insrc/check-room.js. The one test calls the checker directly, without the terminal. - The rest is setup: the linter’s settings, a list of files for Git to ignore, and a lockfile, which the next lesson explains. Installing ESLint 10.16 added 78 packages in this run. Every part is there, and the checker already holds the real logic, but everything around it is thin: one test, and a bare yes or no.
- The agent’s report said every command worked, but that report is text the model generated, so run them yourself. The report counts four commands because it ran
npm startonce per sample room. npm startruns thenode check-room.jscommand the instruction file planned, and passes along whatever follows the two dashes. For The Smuggler’s Cellar, the skeleton prints that the room cannot be finished, and nothing more. Naming the puzzles a team can’t reach is a feature, so it waits for a later task.- Before you commit, check what was installed. In the reference version,
npm ls --depth=0lists ESLint, the one the request approved, at the top. The other 77 packages came with it. npm’s record for ESLint points to the real ESLint project (checked December 2026), and the next lesson shows you how to check. - Then update the instruction file and the plan, with the real commands and the one dependency, and commit it all together, before any feature. From there, each feature is one task, checked with the same commands and committed, so if a feature breaks startup, you start looking in the few files changed since the last commit.
The rule: before any feature, grow a walking skeleton, with every part from end to end and run, test and lint commands. Run them yourself, check what it installed, and commit.
The skeleton’s commands, run in the reference project: