Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Description ¶ added in v0.30.1
Description extracts a compact description from common skill frontmatter.
Types ¶
type Skill ¶
type Skill struct {
Name string
Path string
Content string
Source string
PluginName string
PluginVersion string
}
Skill represents a discovered and loaded skill.
func Discover ¶
Discover finds skills from ~/.ratchet/skills/ and .ratchet/skills/. Project skills take precedence over global skills.
func Merge ¶ added in v0.30.1
Merge combines skill lists while preserving first-seen order and allowing later lists to override same-name content.
func NamespacedAliases ¶ added in v0.30.1
NamespacedAliases returns plugin-name aliases for plugin skills. Legacy unqualified skill names are left intact by the plugin loader for backwards compatibility; aliases make explicit invocations like $autodev:using-autodev resolvable without changing older tests or installed plugin layouts.
func SelectForPrompt ¶ added in v0.30.1
SelectForPrompt returns skills explicitly referenced by name in the prompt.