Constructor
McpSkill constructor
McpSkill(string, JsonObject, string, IReadOnlyDictionary<string, byte[]>?) #
Creates a skill, generating SKILL.md from JSON-compatible YAML frontmatter and a Markdown body.
public McpSkill(string path, JsonObject frontmatter, string body, IReadOnlyDictionary<string, byte[]>? files = null)Parameters #
path string
The skill path, ending in the frontmatter name, for example acme/refunds.
frontmatter JsonObject
All frontmatter fields, including name and description.
body string
The Markdown instructions, without frontmatter.
files IReadOnlyDictionary<string, byte[]>?
Optional supporting files, keyed by relative path. Their bytes are copied at registration.