Answer 5 questions. Get a structured Claude Code task prompt that scores 80+ every time. No vague goals, no missing scope, no undefined done criteria.
Question 1 of 5 — Goal
What exactly needs to happen?
One concrete outcome. Not "improve the auth" — "add rate limiting to POST /auth/login: 5 attempts per IP per 15 minutes, return 429 with Retry-After header."
Question 2 of 5 — Context
What's the stack?
Pick what applies. Claude uses this to write idiomatic code for your environment.
Be specific. Name the files if you know them. "The auth module" is too vague. "app/api/auth/login.ts and app/middleware/rate-limit.ts" gives Claude a target.