Skip to content

Commit 5cd18e0

Browse files
author
Szymon.Poltorak
committed
fix(): update prompts to fully respect missing param
1 parent ebcb397 commit 5cd18e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.cursor/flows/ds-refactoring-flow/01-find-violations.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Step 1: Find violations
1919
Store the result in a variable called scanResult.
2020

2121
2. Perform first-level error handling:
22-
- If the function call returns an error containing "Missing ds.deprecatedCssClassesPath", respond with:
22+
- If the function call returns an error or result containing "Missing ds.deprecatedCssClassesPath", respond with:
2323
<commentary>⚠️ *Cannot proceed: Missing required configuration parameter* – The `ds.deprecatedCssClassesPath` parameter must be provided when starting the MCP server to use violation detection tools. Please restart the server with this parameter configured.</commentary>
2424
Then stop execution.
2525
- If the function call returns any other error, respond with:

.cursor/flows/ds-refactoring-flow/01b-find-all-violations.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Step 1: Find violations
1717
Store the result in a variable called scanResult.
1818

1919
2. Perform first-level error handling:
20-
- If the function call returns an error containing "Missing ds.deprecatedCssClassesPath", respond with:
20+
- If the function call returns an error or result containing "Missing ds.deprecatedCssClassesPath", respond with:
2121
<commentary>⚠️ *Cannot proceed: Missing required configuration parameter* – The `ds.deprecatedCssClassesPath` parameter must be provided when starting the MCP server to use violation detection tools. Please restart the server with this parameter configured.</commentary>
2222
Then stop execution.
2323
- If the function call returns any other error, respond with:

0 commit comments

Comments
 (0)