Question · Vibe coding with Claude Code course · Module 11: Spotify clone

What /goal does

What does /goal npm run test -- --run ends with no failures do?

Answer options

  • Runs the tests after every file edit, like a PostToolUse hook
  • Sets a completion condition: after every turn a separate model checks it in the conversation, and Claude keeps working until it is met
  • Blocks changes to test files until the end of the session
  • Saves the condition in CLAUDE.md, so it works in every future session

You can check the correct answer by solving this task in the CodeWorlds game.