Skip to content

Commit bb78282

Browse files
committed
readme updates for instructions/rules
1 parent 8fa8ffb commit bb78282

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

README.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ To configure the CodeLogic MCP server in Cursor:
154154
The CodeLogic MCP server tools will now be available in your Cursor workspace.
155155
</details>
156156

157-
### AI Assistant Instructions
157+
### AI Assistant Instructions/Rules
158158

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:
160160

161161
<details>
162162
<summary><h4>VS Code (GitHub Copilot) Instructions</h4></summary>
@@ -209,7 +209,7 @@ To use the CodeLogic tools effectively:
209209
</details>
210210

211211
<details>
212-
<summary><h4>Windsurf IDE Instructions</h4></summary>
212+
<summary><h4>Windsurf IDE Rules</h4></summary>
213213

214214
Create or modify the `~/.codeium/windsurf/memories/global_rules.md` markdown file with the following content:
215215

@@ -232,26 +232,33 @@ To use the CodeLogic tools effectively:
232232
</details>
233233

234234
<details>
235-
<summary><h4>Cursor Instructions</h4></summary>
235+
<summary><h4>Cursor Global Rule</h4></summary>
236236

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":
238242

239243
```markdown
240244
# CodeLogic MCP Server Rules
241245

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
255262
```
256263
</details>
257264

0 commit comments

Comments
 (0)