Sisk

Constructor

McpSkill constructor

Namespace
Sisk.ModelContextProtocol
Assembly
Sisk.ModelContextProtocol.dll

McpSkill(string, JsonObject, string, IReadOnlyDictionary<string, byte[]>?) #

Creates a skill, generating SKILL.md from JSON-compatible YAML frontmatter and a Markdown body.

C#
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.

Type to search the documentation and the API reference.