From 8de342a618068a617f5d69b4e8343169469d9e95 Mon Sep 17 00:00:00 2001 From: Svetoslav Dekov Date: Tue, 16 Jun 2026 16:39:01 +0300 Subject: [PATCH] chore: Add pnpm sync:skill-links alias (no-changelog) (#32382) Co-authored-by: Claude Opus 4.8 (1M context) --- .agents/skills/AGENTS.md | 7 +++---- .agents/skills/create-skill/SKILL.md | 2 +- .claude/plugins/n8n/README.md | 5 ++--- package.json | 1 + 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.agents/skills/AGENTS.md b/.agents/skills/AGENTS.md index d4224253308..cec17493072 100644 --- a/.agents/skills/AGENTS.md +++ b/.agents/skills/AGENTS.md @@ -34,7 +34,6 @@ actionable error. (OpenCode reads `.agents/skills` directly and is unaffected.) tool availability checks. - Put harness-specific workflows, such as MCP setup commands, in real directories under the matching harness path. -- Run `node scripts/sync-agent-skill-links.mjs` after adding or removing shared - skills to update Claude plugin symlinks. -- Run `node scripts/sync-agent-skill-links.mjs --check` before submitting - changes. +- Run `pnpm sync:skill-links` after adding or removing shared skills to update + Claude plugin symlinks. +- Run `pnpm check:skill-links` before submitting changes. diff --git a/.agents/skills/create-skill/SKILL.md b/.agents/skills/create-skill/SKILL.md index f70cb1437ef..7bbb278dbfe 100644 --- a/.agents/skills/create-skill/SKILL.md +++ b/.agents/skills/create-skill/SKILL.md @@ -22,7 +22,7 @@ Skills are markdown (plus optional scripts) that teach the agent a focused workf **Do not** put custom skills in `~/.cursor/skills-cursor/`—that is reserved for Cursor’s built-in skills. -Prefer **`.agents/skills/`** for anything that should match how the rest of the team works. Run `node scripts/sync-agent-skill-links.mjs` after adding or removing shared skills. +Prefer **`.agents/skills/`** for anything that should match how the rest of the team works. Run `pnpm sync:skill-links` after adding or removing shared skills. ## Before you write: gather requirements diff --git a/.claude/plugins/n8n/README.md b/.claude/plugins/n8n/README.md index ee30d2fbcf7..432d35ece05 100644 --- a/.claude/plugins/n8n/README.md +++ b/.claude/plugins/n8n/README.md @@ -43,9 +43,8 @@ skills or overrides remain real directories in this plugin path. └── README.md ``` -Run `node scripts/sync-agent-skill-links.mjs` after adding or removing shared -skills. Run `node scripts/sync-agent-skill-links.mjs --check` before submitting -changes. +Run `pnpm sync:skill-links` after adding or removing shared skills. Run +`pnpm check:skill-links` before submitting changes. ## Design Decisions diff --git a/package.json b/package.json index ed82581d202..4db4c421570 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "lint:affected": "turbo run lint --affected", "lint:fix": "turbo run lint:fix", "lint:ci": "turbo run lint lint:styles", + "sync:skill-links": "node scripts/sync-agent-skill-links.mjs", "check:skill-links": "node scripts/sync-agent-skill-links.mjs --check", "optimize-svg": "find ./packages -name '*.svg' ! -name 'pipedrive.svg' -print0 | xargs -0 -P16 -L20 npx svgo", "setup-backend-module": "node scripts/ensure-zx.mjs && zx scripts/backend-module/setup.mjs",