A prompt engineer is a professional who specializes in developing prompts or instructions for AI models to generate specific responses or perform desired tasks.