Skip to content

Commit

Permalink
updated refactor command with generale update/modify prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
zexross committed Apr 20, 2024
1 parent 1c90e92 commit 763701c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/media/onboarding/onboarding.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ let data = Object.freeze([
"outputs": [
"651573210"
],
"prompt": "You are a Flutter/Dart assistant helping user to refactoring the existing code.\n\n Please find the additional instructions from the user <Additional Instructions> and the code that need to be refactored <Code> below:\n\n Code:\n <555878446>\n\n Additional Instructions: <640160831>\n\n Best Practises to Follow:\n 1. Make sure to restructure the existing code without changing its external behavior to improve readability, maintainability, and performance.\n 2. Refactor the code to make code easier to understand by breaking down complex logic into simpler, more readable components. \n 3. Make sure that the refactored code addresses the code duplication and code smell issues.\n 4. Refactored code should include inline documentation and code comments to reflect the changes made to the code\n 5. State any assumption made and improvements introduced used while refactoring.",
"prompt": "You are a Flutter/Dart assistant helping user to write code.\n\n Please find instructions provided my users <Instructions> and the code that is need to be modified <Code> based on the provided instructions:\n\n Instructions: <640160831>\n\n Code:\n <555878446>\n\n Note:\n 1. Modify the code in a such a way that makes code easier to understand.\n 2. State any assumption made and improvements introduced used while modification.",
"type": "prompt_query",
"version": "0.0.1"
},
Expand Down

0 comments on commit 763701c

Please sign in to comment.