ring-skills-mcp 1.0.3 → 1.0.4
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/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ function extractSkillNameFromGitUrl(gitUrl) {
|
|
|
64
64
|
/**
|
|
65
65
|
* Install Skill to specified project
|
|
66
66
|
*/
|
|
67
|
-
async function installSkill(skillName, projectPath, targetDir = "skills", repo = DEFAULT_SKILLS_REPO) {
|
|
67
|
+
async function installSkill(skillName, projectPath, targetDir = ".claude/skills", repo = DEFAULT_SKILLS_REPO) {
|
|
68
68
|
// Convert skill name to lowercase
|
|
69
69
|
const normalizedName = skillName.toLowerCase();
|
|
70
70
|
// Build full installation path
|
|
@@ -164,7 +164,7 @@ server.tool("install_skill", "Install skill to local project by skill name or gi
|
|
|
164
164
|
targetDir: z
|
|
165
165
|
.string()
|
|
166
166
|
.optional()
|
|
167
|
-
.describe("Installation target directory, default: skills"),
|
|
167
|
+
.describe("Installation target directory, default: .claude/skills"),
|
|
168
168
|
repo: z
|
|
169
169
|
.string()
|
|
170
170
|
.optional()
|
|
@@ -176,7 +176,7 @@ server.tool("install_skill", "Install skill to local project by skill name or gi
|
|
|
176
176
|
content: [
|
|
177
177
|
{
|
|
178
178
|
type: "text",
|
|
179
|
-
text: "❌ Please provide project path (projectPath).\n\nYou can provide the project root directory path of the currently opened file in IDE, skill will be installed to the skills directory of that project.\n\nExample: /Users/xxx/my-project",
|
|
179
|
+
text: "❌ Please provide project path (projectPath).\n\nYou can provide the project root directory path of the currently opened file in IDE, skill will be installed to the .claude/skills directory of that project.\n\nExample: /Users/xxx/my-project",
|
|
180
180
|
},
|
|
181
181
|
],
|
|
182
182
|
isError: true,
|
|
@@ -214,7 +214,7 @@ server.tool("install_skill", "Install skill to local project by skill name or gi
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
try {
|
|
217
|
-
const result = await installSkill(actualSkillName, projectPath, targetDir || "skills", repo || DEFAULT_SKILLS_REPO);
|
|
217
|
+
const result = await installSkill(actualSkillName, projectPath, targetDir || ".claude/skills", repo || DEFAULT_SKILLS_REPO);
|
|
218
218
|
return {
|
|
219
219
|
content: [
|
|
220
220
|
{
|