AiPromptss

1. Be Specific and Contextual

❌ Vague: "Create a login function" ✓ Specific: "Create a secure login function in TypeScript using bcrypt for password hashing, JWT for session management, and…

Added May 19, 20260 runs
Prompt
❌ Vague: "Create a login function"

✓ Specific: "Create a secure login function in TypeScript using bcrypt 
for password hashing, JWT for session management, and Express middleware. 
Include rate limiting (5 attempts per 15 minutes), input validation, 
and proper error handling for invalid credentials."