Skip to content

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 als

Coding0saves0 views

About

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 😁

Prompt

Full instructions — copy and paste into your model

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> ...