wizard

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSkillMD

func GenerateSkillMD(spec *SkillSpec) (string, error)

GenerateSkillMD renders a SKILL.md from the given spec.

Types

type SkillSpec

type SkillSpec struct {
	Name         string
	Description  string
	Triggers     []string
	AntiTriggers []string
	Type         SkillType
}

SkillSpec holds all fields collected during the interactive wizard.

func RunSkillWizard

func RunSkillWizard(in io.Reader, out io.Writer, initialName string) (*SkillSpec, error)

RunSkillWizard runs an interactive huh form to collect skill metadata. If initialName is non-empty, it pre-populates the name field.

type SkillType

type SkillType string

SkillType represents the category of a skill.

const (
	SkillTypeWorkflow SkillType = "workflow"
	SkillTypeUtility  SkillType = "utility"
	SkillTypeAnalysis SkillType = "analysis"
)

Jump to

Keyboard shortcuts

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