Files
oleg-lukasonokandClaude Fable 5 bb184845b2 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>
2026-07-24 13:16:05 +03:00

51 lines
1.2 KiB
YAML

# https://taskfile.dev
version: "3"
includes:
base: ./.scripts/base/Taskfile.yml
cli: ./.scripts/cli/Taskfile.yml
validator: ./.scripts/validator/Taskfile.yml
tasks:
default:
cmds:
- task --list-all
silent: true
build:
desc: Compile TypeScript source to dist/
cmds:
- task: cli:build
silent: true
validate:
desc: |
Validate a skill directory against the agentskills.io spec.
Usage: task validate -- --skill-dir="/absolute/path/to/skill"
cmds:
- task: cli:validate
vars:
CLI_ARGS: "{{ .CLI_ARGS }}"
silent: true
scaffold:
desc: |
Scaffold a new skill directory from the built-in template.
Usage: task scaffold -- --skill-name="my-skill" [--output-dir="/path/to/.agents/skills"]
cmds:
- task: cli:scaffold
vars:
CLI_ARGS: "{{ .CLI_ARGS }}"
silent: true
deploy:
desc: |
Deploy a skill into $HOME/.agents/skills and $HOME/.claude/skills (absolute paths).
Usage: task deploy -- --skill-dir="/absolute/path/to/skill" [--mode=symlink|copy] [--force]
cmds:
- task: cli:deploy
vars:
CLI_ARGS: "{{ .CLI_ARGS }}"
silent: true