Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentNames ¶
func AgentNames() []string
AgentNames returns all known agent names in sorted order.
func InstalledVersion ¶
InstalledVersion returns the version from an installed skill's SKILL.md frontmatter. Returns "" if the skill is not installed or has no version field.
func SkillVersion ¶
SkillVersion returns the version from the first SKILL.md found in fsys. Returns "" if no version field is present.
Types ¶
type Agent ¶
type Agent struct {
Name string
DisplayName string
ProjectDir string // project-level skills dir (relative)
GlobalDir string // global skills dir (absolute)
}
Agent represents a detected AI coding agent
type Options ¶
type Options struct {
Agents []string // required: agent names to target
ProjectDir string // project root (for project-level operations)
Global bool // operate on global dirs instead of project-level
}
Options configure Install and Remove
type Result ¶
type Result struct {
Agent string
Path string
Existed bool // true if the skill was already present before this operation
PriorVersion string // version from previously installed SKILL.md ("" if new)
}
Result reports what happened for each agent
Click to show internal directories.
Click to hide internal directories.