skill

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package skill provides access to embedded skill directories, SKILL.md files, and reference documents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content

func Content(name string) ([]byte, error)

Content reads a skill's SKILL.md file by skill name.

Parameters:

  • name: Skill directory name (e.g., "ctx-status")

Returns:

  • []byte: SKILL.md content from claude/skills/<name>/
  • error: Non-nil if the file not found or read fails

func List

func List() ([]string, error)

List returns available skill directory names.

Each skill is a directory containing a SKILL.md file following the Agent Skills specification (https://agentskills.io/specification).

Returns:

  • []string: List of skill directory names in claude/skills/
  • error: Non-nil if directory read fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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