Documentation
¶
Overview ¶
Package skillbundle embeds the skills shipped inside the binary (bundled/). A fresh install can then provision an agent client before any KB exists. They are handed to the tools as a filesystem, alongside the skills a KB provides.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var FS embed.FS
Functions ¶
func LegacyNames ¶ added in v0.26.0
LegacyNames returns a copy of the old-name → current-name map.
func ProcedureNames ¶ added in v0.26.0
func ProcedureNames() []string
ProcedureNames returns the short names, in listing order.
Types ¶
type Procedure ¶ added in v0.26.0
type Procedure struct {
// Short is the name a caller types; Skill is the bundled skill's name.
Short, Skill string
// UseWhen is the one-line trigger shown in the procedures list.
UseWhen string
// Note is one line for a reader without a shell; empty when the body
// needs none.
Note string
}
Procedure is a bundled skill that kb_guide serves as a step-by-step procedure to a client with no filesystem (D1100).
func FindProcedure ¶ added in v0.26.0
FindProcedure resolves a short or full bundled name (trimmed, case-insensitive). A bundled skill that is not served, and a pre-D958 name, are not found.
func Procedures ¶ added in v0.26.0
func Procedures() []Procedure
Procedures returns a copy of the served list, in listing order.
func (Procedure) Body ¶ added in v0.26.0
Body returns the procedure's SKILL.md without its frontmatter, read from fsys (rooted so that bundled/<skill>/SKILL.md exists).