Maddy Zhang shows how she uses Claude Code, from isolated Desktop sessions to a check that tells the agent when to stop. The video is a partnership with Anthropic.

Begin with a complete brief

  • Give the agent the goal, constraints, a result it can test, and context it can’t infer from the repository. Keep the existing API contract and name the checks that prove it still holds.
  • Use Plan Mode when the outcome or trade-off needs a decision. When the outcome is clear and reversible, Zhang starts from the brief.
  • Give each concurrent task a Git worktree, a separate checkout of the same repository. Use the live preview to exercise web changes and voice when it’s easier to explain a problem aloud.

Make finishing depend on evidence

  • Use hooks, scripts triggered at particular events, to run checks and send failures back. Use /goal when work should span turns. Its evaluator reads the conversation, so put actual test output there and set a stopping condition.
  • Use the built-in review for a second pass. Zhang reserves the cloud Ultrareview for changes where a missed regression matters. Keep human review for consequential work.
  • Auto Mode reviews actions with a classifier. Keep explicit deny rules for sensitive files and disallowed operations. A local checkpoint cannot reverse a remote side effect.

Give recurring work its own place

  • Put facts that apply every session in CLAUDE.md. Move occasional workflows into skills and enforcement into permission rules or hooks. Save repeated corrections where a future session will see them.
  • Audit connectors by noting when you have to leave the tool or copy data into it. Zhang uses cloud scheduled tasks to review new pull requests and prepare a daily briefing.

“Give Claude a way to verify what it builds.” — Maddy Zhang, 6:05