@rui.branco/claude-commands-mcp 2.0.34 → 2.0.36
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 +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -154,7 +154,11 @@ function generateInstructions(config) {
|
|
|
154
154
|
instructions += "|---|---|\n";
|
|
155
155
|
for (const skill of config.skills) {
|
|
156
156
|
const toolName = skillToToolName(skill.skill);
|
|
157
|
-
const triggers = skill.when
|
|
157
|
+
const triggers = skill.when
|
|
158
|
+
.trim()
|
|
159
|
+
.split("\n")
|
|
160
|
+
.map((l) => l.trim())
|
|
161
|
+
.join(" ");
|
|
158
162
|
instructions += `| ${triggers} | \`${toolName}\` |\n`;
|
|
159
163
|
}
|
|
160
164
|
instructions += "\n";
|