Restrict deploy targets to .agents and .claude skill dirs

Remove $HOME/.cline/skills from the default deploy targets everywhere
(SKILL.md, deploy action, CLI help, Taskfiles), document what $HOME is
and how it is resolved, and restore the execute bit on the cli api
scripts (build.sh, scaffold.sh, validate.sh) so 'task build' works.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 13:16:05 +03:00
co-authored by Claude Fable 5
parent 6042272ccc
commit bb184845b2
8 changed files with 18 additions and 10 deletions
+4 -2
View File
@@ -7,7 +7,9 @@
* Default targets (always resolved to absolute paths):
* $HOME/.agents/skills/<skill-name>
* $HOME/.claude/skills/<skill-name>
* $HOME/.cline/skills/<skill-name>
*
* $HOME is the current user's home directory (e.g. /Users/<username> on macOS,
* /home/<username> on Linux), resolved at runtime via os.homedir().
*
* Modes:
* symlink (default) — creates an absolute-path symlink to the skill source.
@@ -39,7 +41,7 @@ import { basename, join, resolve } from "node:path";
// Helpers
// ---------------------------------------------------------------------------
const DEFAULT_TARGETS = [".agents/skills", ".claude/skills", ".cline/skills"];
const DEFAULT_TARGETS = [".agents/skills", ".claude/skills"];
const COPY_EXCLUDES = new Set(["node_modules", "dist", ".git"]);