skillmd

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package skillmd parses SKILL.md files: YAML frontmatter with a name and description, then the skill's instructions. It is shared by the AI SDK (plugins/ai) and the `nimbus ai` CLI so both read skills the same way, without the CLI depending on the SDK.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFrontmatter = errors.New("missing --- frontmatter with name and description")

ErrNoFrontmatter is returned for a file that does not open with a --- frontmatter block.

Functions

func Parse

func Parse(content string) (name, description, body string, err error)

Parse splits a SKILL.md into its frontmatter name and description and its body. Descriptions may span lines (YAML folded or plain); whitespace in them is collapsed to single spaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL