🔥The head of Claude Code at Anthropic says he doesn't write prompts anymore.
He writes loops. Here are 7 loop instructions you can paste straight into Claude Code:
1. The Type Error Killer
Goal: Fix every TypeScript type error in this project. Rules: Run tsc --noEmit to get the full error list. Fix one file at a time, starting with the file that has the most errors. After each file, run tsc --noEmit again to confirm the count dropped. Do not add @ts-ignore or any type assertions unless the type is genuinely unknown. Do not change runtime behavior. Types only. Verify after each step: Run tsc
He writes loops. Here are 7 loop instructions you can paste straight into Claude Code:
1. The Type Error Killer
Goal: Fix every TypeScript type error in this project. Rules: Run tsc --noEmit to get the full error list. Fix one file at a time, starting with the file that has the most errors. After each file, run tsc --noEmit again to confirm the count dropped. Do not add @ts-ignore or any type assertions unless the type is genuinely unknown. Do not change runtime behavior. Types only. Verify after each step: Run tsc