Promptles
Prompt Engineering Basics

Specificity

beginner

Definition

Being precise about exactly what you want. Instead of vague requests like 'fix the code,' a specific prompt names the file, function, and expected behavior. The more details you give, the less the AI has to guess.

In the wild

Vague: 'Make the login work.' Specific: 'In auth.js, update the login function to return an error message when the password is shorter than 8 characters.' The specific version gives Claude everything it needs in one shot.

More from Prompt Engineering Basics