Skip to content

Handing off

When a prototype is approved, choose Hand off in the viewer. You get a prompt to paste into Claude Code, Codex or another coding agent connected to Hosai. The agent calls get_handoff and receives:

  • the HTML of the approved version (or the latest version if none is approved yet, with a warning);
  • the prototype’s title and description;
  • every comment thread with its replies and resolutions, so it knows what was asked for and why.

Treat the prototype as the spec, not the code: the agent should rebuild it with your codebase’s components and conventions. The default prompt tells it to.