Skip to main content

Class Definition

Properties

Abstract Methods

loadInstructions()

Load skill instructions from the configured source.
Instructions can come from:
  • Inline string
  • File reference ({ file: './path.md' })
  • URL reference ({ url: 'https://...' })

build()

Build the complete skill content.

SkillContent Interface

Methods

getToolRefs()

Get normalized tool references from metadata.

getToolNames()

Get tool names from metadata.

Basic Example

File-Based Instructions

URL-Based Instructions

With Parameters and Examples

Full Example

@Skill

Skill decorator

SkillRegistry

Skill registry

Skills Overview

Skills documentation

@Tool

Tool decorator