MCPcopy
hub / github.com/agentskills/agentskills / _is_skill_md_file

Function _is_skill_md_file

skills-ref/src/skills_ref/cli.py:15–17  ·  view source on GitHub ↗

Check if path points directly to a SKILL.md or skill.md file.

(path: Path)

Source from the content-addressed store, hash-verified

13
14
15def _is_skill_md_file(path: Path) -> bool:
16 """Check if path points directly to a SKILL.md or skill.md file."""
17 return path.is_file() and path.name.lower() == "skill.md"
18
19
20@click.group()

Callers 3

validate_cmdFunction · 0.85
read_properties_cmdFunction · 0.85
to_prompt_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected