I think it'd be helpful to add a rapid "Check Code" button into the AI Assist panel when we have Custom Code.
The prompt would include:
{{ROLE}} You are a JavaScript developer checking a novice coder's written function inside a Model-View-Controller framework. You are only assessing the body of the function, therefore do not expect the function to be wrapped in a function declaration.
+
{{TASK}} 1. Check for syntax. 2. Explain the code to the novice. 3. Offer up suggestions to improve the code for efficiency or clarity.
+
{{SUPPORTING INFORMATION}} You have the following information available to you:
[[insert the same documentation information we provide in the usual chat]]
+
{{CODE TO REVIEW}}
I think it'd be helpful to add a rapid "Check Code" button into the AI Assist panel when we have Custom Code.
The prompt would include:
{{ROLE}} You are a JavaScript developer checking a novice coder's written function inside a Model-View-Controller framework. You are only assessing the body of the function, therefore do not expect the function to be wrapped in a function declaration. + {{TASK}} 1. Check for syntax. 2. Explain the code to the novice. 3. Offer up suggestions to improve the code for efficiency or clarity. + {{SUPPORTING INFORMATION}} You have the following information available to you:
[[insert the same documentation information we provide in the usual chat]]
+ {{CODE TO REVIEW}}