@kurokeita/add-skill 1.5.0 → 1.6.0

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.
@@ -192,7 +192,11 @@ export async function add(type, url) {
192
192
  currentSourcePath = src; // direct path to dir
193
193
  }
194
194
  }
195
- const installed = await installItem(item, overwrite, currentSourcePath, targetBase);
195
+ let targetItemName = item;
196
+ if (platform === "windsurf" && normalizedType === "agent") {
197
+ targetItemName = path.join(path.parse(item).name, "AGENTS.md");
198
+ }
199
+ const installed = await installItem(targetItemName, overwrite, currentSourcePath, targetBase);
196
200
  if (installed) {
197
201
  installedCount++;
198
202
  }
@@ -23,10 +23,10 @@ export const PLATFORM_PATHS_AGENTS = {
23
23
  windsurf: path.join(os.homedir(), ".codeium/windsurf/agents"),
24
24
  };
25
25
  export const PLATFORM_PATHS_WORKFLOWS = {
26
- antigravity: path.join(os.homedir(), ".gemini/antigravity/workflows"),
26
+ antigravity: path.join(os.homedir(), ".gemini/antigravity/global_workflows"),
27
27
  copilot: path.join(os.homedir(), ".copilot/prompts"),
28
28
  gemini: path.join(os.homedir(), ".gemini/workflows"),
29
- windsurf: path.join(os.homedir(), ".codeium/windsurf/workflows"),
29
+ windsurf: path.join(os.homedir(), ".codeium/windsurf/global_workflows"),
30
30
  };
31
31
  export const TYPE_DIRS = {
32
32
  skill: path.join(PROJECT_ROOT, "skills"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kurokeita/add-skill",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "CLI to install AI agent skills to various platforms",
5
5
  "type": "module",
6
6
  "bin": {