1{{#if has_skills}}
2## Available Agent Skills
3
4Skills are located in:
5- Global: `~/.config/zed/skills/<skill-name>/`
6- Worktree-specific: `<worktree>/.agents/skills/<skill-name>/`
7
8Each skill contains:
9- `SKILL.md` - Main instructions
10- `scripts/` - Executable scripts
11- `references/` - Additional documentation
12- `assets/` - Templates, data files, images
13
14To use a skill, first read its SKILL.md file, then explore its resources as needed.
15
16| Skill | Description | Location |
17|-------|-------------|----------|
18{{#each skills}}
19| {{name}} | {{description}} | {{path}} |
20{{/each}}
21
22When a skill is relevant to the user's request:
231. **Always start here:** Read SKILL.md to load the skill's instructions using `read_skill` with path `~/.config/zed/skills/<skill-name>/SKILL.md`
242. **Then, based on the instructions in SKILL.md and the user's specific needs:**
25 - Use `read_skill` to explore available resources
26 - Use `read_skill` to read reference files
27 - Use `bash` only to run executable scripts
28{{/if}}