builtin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBuiltinSkill

func IsBuiltinSkill(name string) bool

IsBuiltinSkill reports whether a skill name belongs to the built-in set.

Types

type RoleTemplate

type RoleTemplate struct {
	Slug                  string
	Name                  string
	WorkflowType          string
	Summary               string
	HarnessPath           string
	Content               string
	PickupStatusNames     []string
	FinishStatusNames     []string
	SkillNames            []string
	PlatformAccessAllowed []string
}

RoleTemplate describes a built-in workflow role scaffold.

func RoleBySlug

func RoleBySlug(slug string) (RoleTemplate, bool)

RoleBySlug returns a built-in role template by slug.

func Roles

func Roles() []RoleTemplate

Roles returns the built-in role templates.

type SkillTemplate

type SkillTemplate struct {
	Name        string
	Title       string
	Description string
	Content     string
	Files       []SkillTemplateFile
}

SkillTemplate describes a built-in skill scaffold.

func SkillByName

func SkillByName(name string) (SkillTemplate, bool)

SkillByName returns a built-in skill template by name.

func Skills

func Skills() []SkillTemplate

Skills returns the built-in skill templates.

type SkillTemplateFile

type SkillTemplateFile struct {
	Path         string
	Content      []byte
	IsExecutable bool
}

SkillTemplateFile describes a projected file that belongs to a built-in skill.

Jump to

Keyboard shortcuts

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