Răsfoiți Sursa

fix(skills-perso): handle both inline and block YAML description formats

The awk extraction now correctly parses both `description: text` (inline)
and `description: |` (block scalar) YAML formats.

Co-Authored-By: Claude <noreply@anthropic.com>
bastien 1 lună în urmă
părinte
comite
82f546914d
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 4 2
      skills/skills-perso/SKILL.md

+ 4 - 2
skills/skills-perso/SKILL.md

@@ -41,8 +41,10 @@ done
 ## Steps
 ## Steps
 
 
 1. Run the detection command above to get the list of personal skill names.
 1. Run the detection command above to get the list of personal skill names.
-2. For each personal skill, read the first 15 lines of its `SKILL.md`.
-3. Extract `name` and `description` from the YAML frontmatter.
+2. For each personal skill, read the first 20 lines of its `SKILL.md`.
+3. Extract `description` from the YAML frontmatter. Handle BOTH formats:
+   - **Inline**: `description: Some text here` → take everything after `description: `
+   - **Block scalar**: `description: |` → take the next indented line, trimmed
 4. Also extract the agent file it references (the `.md` filename from `~/.claude/agents/`).
 4. Also extract the agent file it references (the `.md` filename from `~/.claude/agents/`).
 5. Display a clean table with three columns: **Skill**, **Agent**, and **Description** (first line of description only, trimmed).
 5. Display a clean table with three columns: **Skill**, **Agent**, and **Description** (first line of description only, trimmed).
 6. At the end, show the total count of personal skills (and mention how many framework skills were excluded).
 6. At the end, show the total count of personal skills (and mention how many framework skills were excluded).