Expand description
SKILL.md parser for extracting rich skill documentation.
This module parses SKILL.md files following Anthropic’s skills format:
- YAML frontmatter with name, description, allowed-tools
- Markdown content with tool documentation, usage examples
- Parameter tables and code blocks
§Example SKILL.md format
---
name: kubernetes-skill
description: Kubernetes cluster management with kubectl
allowed-tools: Read, Bash, skill-run
---
# Kubernetes Skill
## Tools Provided
### get
Get Kubernetes resources (pods, services, deployments)
**Parameters**:
- `resource` (required): Resource type
- `namespace` (optional): Kubernetes namespace
**Example**:
```bash
skill run kubernetes get resource=pods namespace=defaultStructs§
- Code
Example - Code example extracted from markdown
- Parameter
Doc - Parameter documentation from markdown
- Skill
MdContent - Parsed SKILL.md content
- Skill
MdFrontmatter - YAML frontmatter from SKILL.md
- Tool
Documentation - Documentation for a specific tool
Enums§
- Parameter
Type - Parameter type enumeration
Functions§
- find_
skill_ md - Find SKILL.md file in a skill directory
- parse_
parameters - Parse parameter documentation from a tool section
- parse_
skill_ md - Parse a SKILL.md file
- parse_
skill_ md_ content - Parse SKILL.md content from a string