Help us shape the future of Go! Take the 2026 Go Developer Survey

skill

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator handles skill package generation.

func NewGenerator

func NewGenerator(client *mcp.Client, cfg *config.Config, embedBinary bool) *Generator

NewGenerator creates a new skill generator.

func (*Generator) ApplyUpdates

func (g *Generator) ApplyUpdates(skillDir string) error

ApplyUpdates moves files from the update directory to the skill root.

func (*Generator) DiscardUpdates

func (g *Generator) DiscardUpdates(skillDir string) error

DiscardUpdates removes the update directory and its contents.

func (*Generator) Generate

func (g *Generator) Generate(ctx context.Context, serverName, outputDir string, force bool) (*UpdateInfo, error)

Generate creates a skill package in the specified output directory.

func (*Generator) GenerateUpdates

func (g *Generator) GenerateUpdates(ctx context.Context, skillDir string, updateBinary bool) (*UpdateInfo, error)

GenerateUpdates creates updated files in a temporary update directory.

func (*Generator) IdentifyServer

func (g *Generator) IdentifyServer(skillDir string) (string, error)

type UpdateInfo

type UpdateInfo struct {
	UpdatePath  string
	SKILLMD     string
	ToolsMD     string
	ResourcesMD string
	BinaryPath  string
}

UpdateInfo contains information about generated updates.

Jump to

Keyboard shortcuts

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