Skip to content

Commit

Permalink
fix: update whole code editing prompt to avoid lazy coding
Browse files Browse the repository at this point in the history
  • Loading branch information
gmickel committed Aug 12, 2024
1 parent d7d54e1 commit b760acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/templates/codegen-no-plan-prompt.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ FORMAT: Instructions for how to format your response.
- You have thoroughly analyzed the task and planned your implementation strategy.
- Everything specified in the task description and instructions is implemented.
- All new or modified files contain the full code.
- When editing files, always provide the complete file content in your response, regardless of the extent of changes. DO NOT use placeholder comments like '//rest of code unchanged' or '//code remains the same'. You MUST include all parts of the file, even if they haven't been modified.
- Regardless of the task complexity, all new or modified files must be 100% complete.
- The content includes all necessary imports, function definitions, and exports.
- The code is clean, maintainable, efficient, and considers performance implications.
Expand Down
1 change: 1 addition & 0 deletions src/templates/codegen-prompt.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ FORMAT: Instructions for how to format your response.
- You have thoroughly analyzed the task and plan and have planned your implementation strategy.
- Everything specified in the task description and plan is implemented.
- All new or modified files contain the full code.
- When editing files, always provide the complete file content in your response, regardless of the extent of changes. DO NOT use placeholder comments like '//rest of code unchanged' or '//code remains the same'. You MUST include all parts of the file, even if they haven't been modified.
- Regardless of the task complexity, all new or modified files must be 100% complete.
- The content includes all necessary imports, function definitions, and exports.
- The code is clean, maintainable, efficient, and considers performance implications.
Expand Down

0 comments on commit b760acf

Please sign in to comment.