From b2d77b29455daaf3f8a048bf9746441282b962a1 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Mon, 28 Sep 2026 18:40:18 +0000 Subject: [PATCH] docs(skill-author): route hook token guidance to primitive-author deployment-modes.md told authors to use ${CLAUDE_PLUGIN_ROOT} in hook commands. Hook authoring now belongs to primitive-author, which specifies the target-neutral ${PLUGIN_ROOT}; point there instead. Refs #94 Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi --- plugins/kyberforge/.apm/skills/skill-author/SKILL.md | 2 +- .../.apm/skills/skill-author/references/deployment-modes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kyberforge/.apm/skills/skill-author/SKILL.md b/plugins/kyberforge/.apm/skills/skill-author/SKILL.md index 470dc4c..1b14a69 100644 --- a/plugins/kyberforge/.apm/skills/skill-author/SKILL.md +++ b/plugins/kyberforge/.apm/skills/skill-author/SKILL.md @@ -6,7 +6,7 @@ description: > Not read-only review -> `factory-audit`. Not agent files -> `agent-author`. allowed-tools: Bash Read Write Edit metadata: - version: "1.0.5" + version: "1.0.6" category: factory source_keys: - agentskills-home diff --git a/plugins/kyberforge/.apm/skills/skill-author/references/deployment-modes.md b/plugins/kyberforge/.apm/skills/skill-author/references/deployment-modes.md index bd2320f..27a2560 100644 --- a/plugins/kyberforge/.apm/skills/skill-author/references/deployment-modes.md +++ b/plugins/kyberforge/.apm/skills/skill-author/references/deployment-modes.md @@ -40,7 +40,7 @@ These variables are injected when the plugin is loaded from an install cache. Th | `${CLAUDE_PLUGIN_ROOT}` | Absolute path to the plugin's install directory. Changes on update. | | `${CLAUDE_PLUGIN_DATA}` | Persistent directory that survives updates. Use for `node_modules`, generated state, caches. | -Use `${CLAUDE_PLUGIN_ROOT}` only in hook commands — not in SKILL.md body text, since standalone deployments won't have it. +Neither belongs in SKILL.md body text, since standalone deployments won't have them. Hook commands are not authored here: hook authoring, including which script-path token to use (the target-neutral `${PLUGIN_ROOT}`), belongs to `primitive-author`. ## Standalone mode