@rui.branco/claude-commands-mcp 2.0.25 → 2.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +7 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -171,16 +171,17 @@ function loadConfig() {
|
|
|
171
171
|
|
|
172
172
|
function generateInstructions(config) {
|
|
173
173
|
let instructions =
|
|
174
|
-
"# Claude Commands MCP — MANDATORY
|
|
175
|
-
"This MCP provides custom workflows registered as tools. Each tool contains project-specific rules " +
|
|
176
|
-
"that CANNOT be replicated by built-in knowledge. You MUST use these tools instead of doing the action yourself.\n\n" +
|
|
174
|
+
"# Claude Commands MCP — MANDATORY TOOL ROUTING\n\n" +
|
|
175
|
+
"This MCP provides custom workflows registered as MCP tools (NOT native Skills). Each tool contains project-specific rules " +
|
|
176
|
+
"that CANNOT be replicated by built-in knowledge. You MUST use these MCP tools instead of doing the action yourself.\n\n" +
|
|
177
177
|
"## HARD REQUIREMENT\n\n" +
|
|
178
178
|
"When the user's message matches ANY trigger below, you MUST:\n" +
|
|
179
|
-
'1. Call `ToolSearch(query: "+claude-commands")` to load the tools\n' +
|
|
180
|
-
"2. Call the matched tool\n" +
|
|
179
|
+
'1. Call `ToolSearch(query: "+claude-commands")` to load the MCP tools\n' +
|
|
180
|
+
"2. Call the matched MCP tool (do NOT use the Skill tool — these are MCP tools)\n" +
|
|
181
181
|
"3. Follow the returned instructions exactly\n\n" +
|
|
182
182
|
"**DO NOT** attempt the action yourself using built-in knowledge. These tools contain custom rules, " +
|
|
183
|
-
"formatting requirements, and project-specific logic that you do not have access to otherwise.\n
|
|
183
|
+
"formatting requirements, and project-specific logic that you do not have access to otherwise.\n" +
|
|
184
|
+
"**DO NOT** use the native Skill tool for these — they are MCP tools loaded via ToolSearch.\n\n";
|
|
184
185
|
|
|
185
186
|
// Build explicit routing table
|
|
186
187
|
if (config.skills) {
|