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.
Node.js TypeScript React Next.js Python FastAPI Rails PostgreSQL Redis Supabase Docker Prisma
Question 3 of 5 — Scope
Which files or directories will this touch?
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.
What should NOT be touched?
tests database schema UI components config files unrelated routes package.json
Question 4 of 5 — Done Criteria
How do you know it's done?
At least one concrete, checkable condition. "It works" is not a done criterion. "curl -X POST /auth/login returns 429 after 5 attempts" is.
Question 5 of 5 — Constraints
Any constraints or gotchas?
Known edge cases, tech debt to avoid, performance requirements, things a new engineer would get wrong. Leave blank if none.
Your Claude Code task prompt
Fill in the fields above and click "Build task prompt" to generate.