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>
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
# https://taskfile.dev
|
|
|
|
version: "3"
|
|
|
|
tasks:
|
|
build:
|
|
desc: Compile TypeScript source to dist/
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/build.sh {{ .CLI_ARGS }}
|
|
silent: true
|
|
|
|
validate:
|
|
desc: |
|
|
Validate a skill directory against the agentskills.io spec.
|
|
Usage: task cli:validate -- --skill-dir="/absolute/path/to/skill"
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/validate.sh {{ .CLI_ARGS }}
|
|
silent: true
|
|
|
|
scaffold:
|
|
desc: |
|
|
Scaffold a new skill directory from the built-in template.
|
|
Usage: task cli:scaffold -- --skill-name="my-skill" [--output-dir="/path/to/.agents/skills"]
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/scaffold.sh {{ .CLI_ARGS }}
|
|
silent: true
|
|
|
|
deploy:
|
|
desc: |
|
|
Deploy a skill into $HOME/.agents/skills and $HOME/.claude/skills (absolute paths).
|
|
Usage: task cli:deploy -- --skill-dir="/absolute/path/to/skill" [--mode=symlink|copy] [--force]
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/deploy.sh {{ .CLI_ARGS }}
|
|
silent: true
|