AiPromptss
Back to browse

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 views0 copies
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."

Replace text in [BRACKETS] with your own values before pasting.