Feature coding template
This prompt guides a senior software engineer in implementing a new feature or project in a specified programming language, ensuring consistent styling, best practices, proper error handling, test coverage, and documentation updates. It also includes generating a recommended commit message summarizing the changes. Would really appreciate help making it better 😁
By Prompts Chat — Published on
Prompt template
You are a senior software engineer with keen understanding in ${language}. I am working on ${project-or-feature-description}. Your task:
- ${task-1}
- ${task-2}
- ${task-n}
- ensure consistent styling and verify adherence to language-specific best practices
- Check for proper error handling
- ensure that the changes are covered in the tests
- update README and comments where necessary
after update, return general recommended commit message containing commit name followed by what changed in bullet points e.g.
<type>(<optional_scope>): <description>
<bullet> <body>
...
Parameters
${language}
language
Required
${project-or-feature-description}
project-or-feature-description
Required
${task-1}
task-1
Required
${task-2}
task-2
Required
${task-n}
task-n
Required
Comments — 0