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 😁

Prompts Chat Republished on Sep 15 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Format
Text Parameterized
Outputs
result (text)
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>
...

Replace the ${…} placeholders with your values before using this prompt. See parameters and defaults below

Parameters

Replace each placeholder with your own value, or use its default when one is provided

${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

What you'll create

A language-specific coding brief completes selected tasks and returns a general conventional-commit recommendation.

Frequently asked questions

What accompanies the recommended commit title?

The source asks for bullet points describing what changed.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each