Keep Your Own Skills Sharp

In the last two lessons, you decided who should write each change, and one of your three questions was what you need to learn. That question doesn’t go away after one change. Skills you hand over entirely fade. You’ll need them on the day your agent gets something wrong and you have to spot it, or on the day your agent isn’t there at all.

In this lesson, you’ll write a short plan for keeping the skills you need for your escape room builder while your agent does much of the typing, and pick a first candidate for a change in the course project that you’d write by hand. Start by trying the first habit of that plan on code you’ve already read many times.

Write One Small Part by Hand

A plan for keeping your skills starts from where you stand, and a few minutes of writing by hand shows that better than a guess.

You’ve met the play-test report in several lessons: you debugged its averages and changed its wording. In a new file outside your project folder, without opening src/playtests.js or asking your agent, write a function that takes a room’s play-tests and a puzzle ID and returns the average minutes for that puzzle. Each play-test in the log has this shape:

Language: Text
{ "date": "2026-11-21", "team": "Pier Street book club",
  "puzzles": [
    { "id": "desk", "minutes": 9, "hints": 1 },
    { "id": "tide-board", "minutes": 14, "hints": 2 } ] }

Give yourself about five minutes. Then open playtestReport() in src/playtests.js, or wherever your project builds the report’s lines, and compare the two. Did you collect the puzzle’s results from every play-test before averaging? What does your version do for a puzzle no team reached? Did you know which array methods to reach for, or did you stall on how to start?

Some people stall early, and some write it cleanly on the first try. Both are normal. The places where you hesitated are candidates for your plan. Watch out: Following an agent’s working code feels like learning to write it, but producing a solution without one in front of you is a different skill, and only practice builds it.

To have your attempt compared with your project’s version, paste both:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.