Some prompts you can try out in different AI tools to get better results.

Prompt to write a new code for new features and functionality

Prompt:

Act as a [Technology Name] developer. [Write a detailed description]

Example 1:

Act as a Python developer. Write code to read and print duplicate records from the provided CSV file.

Prompt with technology stack and other details

Prompt:

Act as: [Enter your profile]

Technology stack: [Enter your technology stack]

Functionality: [Enter functionality]

Mandatory Fields: [Enter Fields]

Optional fields: [Enter Fields]

Task: [Write a task description]

Example 1: