Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBuiltinSkill ¶
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.
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.
type SkillTemplateFile ¶
SkillTemplateFile describes a projected file that belongs to a built-in skill.
Click to show internal directories.
Click to hide internal directories.