@@ -154,9 +154,9 @@ To configure the CodeLogic MCP server in Cursor:
154
154
The CodeLogic MCP server tools will now be available in your Cursor workspace.
155
155
</details >
156
156
157
- ### AI Assistant Instructions
157
+ ### AI Assistant Instructions/Rules
158
158
159
- To help the AI assistant use the CodeLogic tools effectively, you can add the following instructions to your client's configuration:
159
+ To help the AI assistant use the CodeLogic tools effectively, you can add the following instructions/rules to your client's configuration:
160
160
161
161
<details >
162
162
<summary ><h4 >VS Code (GitHub Copilot) Instructions</h4 ></summary >
@@ -209,7 +209,7 @@ To use the CodeLogic tools effectively:
209
209
</details >
210
210
211
211
<details >
212
- <summary ><h4 >Windsurf IDE Instructions </h4 ></summary >
212
+ <summary ><h4 >Windsurf IDE Rules </h4 ></summary >
213
213
214
214
Create or modify the ` ~/.codeium/windsurf/memories/global_rules.md ` markdown file with the following content:
215
215
@@ -232,26 +232,33 @@ To use the CodeLogic tools effectively:
232
232
</details >
233
233
234
234
<details >
235
- <summary ><h4 >Cursor Instructions </h4 ></summary >
235
+ <summary ><h4 >Cursor Global Rule </h4 ></summary >
236
236
237
- Create a ` .cursor/rules/codelogic-rules.md ` file with the following content:
237
+ To configure CodeLogic rules in Cursor:
238
+
239
+ 1 . Open Cursor Settings
240
+ 2 . Navigate to the "Rules" section
241
+ 3 . Add the following content to "User Rules":
238
242
239
243
``` markdown
240
244
# CodeLogic MCP Server Rules
241
245
242
- ## AI Assistant Behavior
243
- - When modifying existing code methods:
244
- - Use codelogic-method-impact to analyze code changes
245
- - Use codelogic-database-impact for database modifications
246
- - Highlight impact results for the modified methods
247
- - When modifying SQL code or database entities:
248
- - Always use codelogic-database-impact to analyze potential impacts
249
- - Highlight impact results for the modified database entities
250
- - To use the CodeLogic tools effectively:
251
- - For code impacts: Ask about specific methods or functions
252
- - For database relationships: Ask about tables, views, or columns
253
- - Review the impact results before making changes
254
- - Consider both direct and indirect impacts
246
+ Please follow these guidelines when working with CodeLogic tools and making code changes.
247
+
248
+ When modifying existing code methods:
249
+ - Use codelogic-method-impact to analyze code changes
250
+ - Use codelogic-database-impact for database modifications
251
+ - Highlight impact results for the modified methods
252
+
253
+ When modifying SQL code or database entities:
254
+ - Always use codelogic-database-impact to analyze potential impacts
255
+ - Highlight impact results for the modified database entities
256
+
257
+ To use the CodeLogic tools effectively:
258
+ - For code impacts: Ask about specific methods or functions
259
+ - For database relationships: Ask about tables, views, or columns
260
+ - Review the impact results before making changes
261
+ - Consider both direct and indirect impacts
255
262
```
256
263
</details >
257
264
0 commit comments