Andrew Ng Stanford method Claude Code
A method from Andrew Ng's Stanford course is being applied to Claude Code to fundamentally rewire how workflows execute. Most workflow graphs are shaped incorrectly, leading to slow performance, frequent breaks, and excessive token burn. The guide covers the Wait Test alongside four core shapes: chain, diamond, branch, and loop, detailing exactly where each structure fails. Key recommendations include running tasks in parallel rather than sequentially, routing a single skill across five directions instead of building five separate skills, and deploying agents that verify their own output before human review. An anti-patterns section highlights silent diamond failures, over-engineered branches, and infinite loops. Bookmark this for the weekend. #Tech
