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:
@@ -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"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user