Diagnoses common environment and setup issues for the current project — missing dependencies, misconfigured tooling, broken scripts referenced in AGENTS.md. Use when the user says "/doctor", "something's broken with my setup", or the agent's own commands keep failing.