From d9eebd27c09bae06a46d9b689e513aa3fd407871 Mon Sep 17 00:00:00 2001 From: bastien Date: Wed, 15 Apr 2026 20:28:37 +0200 Subject: [PATCH] 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 --- skills/skills-perso/SKILL.md | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 skills/skills-perso/SKILL.md diff --git a/skills/skills-perso/SKILL.md b/skills/skills-perso/SKILL.md new file mode 100644 index 0000000..947f004 --- /dev/null +++ b/skills/skills-perso/SKILL.md @@ -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).