feat(skills): add skills-perso skill to list personal skills
Lists all local skills from ~/.claude/skills/ with name and description, excluding symlinked/external ones (gstack, emil-design-eng). Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
11e69ab882
commit
7ccf4398e2
42
skills/skills-perso/SKILL.md
Normal file
42
skills/skills-perso/SKILL.md
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
name: skills-perso
|
||||
description: |
|
||||
List all personal skills installed in ~/.claude/skills/.
|
||||
Shows only local skills (excludes symlinked/external skills like gstack or emil-design-eng).
|
||||
For each skill, displays its name and description from SKILL.md frontmatter.
|
||||
Trigger: "skills-perso", "mes skills", "list my skills", "quels skills", "skills perso".
|
||||
argument-hint: ""
|
||||
disable-model-invocation: false
|
||||
allowed-tools:
|
||||
- Bash
|
||||
- Read
|
||||
- Glob
|
||||
---
|
||||
|
||||
# skills-perso
|
||||
|
||||
List all personal skills from `~/.claude/skills/`, excluding symlinked/external directories.
|
||||
|
||||
## Steps
|
||||
|
||||
1. List all directories in `~/.claude/skills/` that are NOT symlinks (use `find ~/.claude/skills -maxdepth 1 -mindepth 1 -type d -not -type l | sort`).
|
||||
2. For each directory found, read the first 15 lines of `SKILL.md` if it exists.
|
||||
3. Extract `name` and `description` from the YAML frontmatter.
|
||||
4. Display a clean table with two columns: **Skill** and **Description** (first line of description only, trimmed).
|
||||
5. At the end, show the total count.
|
||||
|
||||
## Output format
|
||||
|
||||
```
|
||||
## Personal Skills (~/.claude/skills/)
|
||||
|
||||
| Skill | Description |
|
||||
|-------|-------------|
|
||||
| feat | Small feature implementation (1-5 files)... |
|
||||
| ... | ... |
|
||||
|
||||
**Total: N skills**
|
||||
```
|
||||
|
||||
Keep descriptions to one line (~80 chars max, truncate with "..." if needed).
|
||||
Do NOT include symlinked directories (they point to external/shared skills).
|
||||
Loading…
Reference in New Issue
Block a user