@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.
Files changed (2) hide show
  1. package/index.js +5 -1
  2. 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.trim().split("\n")[0].trim();
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rui.branco/claude-commands-mcp",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "description": "MCP server that serves Claude Code skill definitions from a git repo",
5
5
  "type": "module",
6
6
  "main": "index.js",