skills

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(systemPrompt string, skills []Skill) string

Inject augments a system prompt with relevant skill content.

Types

type Skill

type Skill struct {
	Name    string
	Path    string
	Content string
}

Skill represents a discovered and loaded skill.

func Discover

func Discover(workingDir string) []Skill

Discover finds skills from ~/.ratchet/skills/ and .ratchet/skills/. Project skills take precedence over global skills.

Jump to

Keyboard shortcuts

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