Question · Vibe coding with Claude Code course · Module 8: Slack clone

Quiz: When Notification runs

When does Claude Code run the Notification hook with the matcher permission_prompt|idle_prompt?

Answer options

  • When Claude Code is waiting for you: for your approval or for your reply
  • After every file write by Edit or Write
  • Only at the start of a session
  • When a new mention notification appears in the Ship's Comms app

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