File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33You have additional SKILLs documented in directories containing a "SKILL.md" file.
44
55These skills are:
6- - hugging-face-dataset-creator -> "hf_dataset_creator/SKILL.md"
7- - hugging-face-evaluation-manager -> "hf_model_evaluation/SKILL.md"
8- - hugging-face-paper-publisher -> "hf-paper-publisher/SKILL.md"
9- - model-trainer -> "hf-llm-trainer/SKILL.md"
6+ - hugging-face-dataset-creator -> "hf_dataset_creator/skills/hugging-face-dataset-creator/ SKILL.md"
7+ - hugging-face-evaluation-manager -> "hf_model_evaluation/skills/hugging-face-evaluation-manager/ SKILL.md"
8+ - hugging-face-paper-publisher -> "hf-paper-publisher/skills/hugging-face-paper-publisher/ SKILL.md"
9+ - model-trainer -> "hf-llm-trainer/skills/model-trainer/ SKILL.md"
1010
1111IMPORTANT: You MUST read the SKILL.md file whenever the description of the skills matches the user intent, or may help accomplish their task.
1212
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def parse_frontmatter(text: str) -> dict[str, str]:
3232
3333def collect_skills () -> list [dict [str , str ]]:
3434 skills : list [dict [str , str ]] = []
35- for skill_md in ROOT .glob ("*/SKILL.md" ):
35+ for skill_md in ROOT .glob ("*/skills/*/ SKILL.md" ):
3636 meta = parse_frontmatter (skill_md .read_text (encoding = "utf-8" ))
3737 name = meta .get ("name" )
3838 description = meta .get ("description" )
@@ -42,7 +42,7 @@ def collect_skills() -> list[dict[str, str]]:
4242 {
4343 "name" : name ,
4444 "description" : description ,
45- "path" : skill_md .parent .name ,
45+ "path" : str ( skill_md .parent .relative_to ( ROOT )) ,
4646 }
4747 )
4848 # Keep deterministic order for consistent output
You can’t perform that action at this time.
0 commit comments