installed

package
v1.102.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StubCandidateLocations

func StubCandidateLocations(tb testing.TB, dir string)

StubCandidateLocations points Discover at dir for the duration of the test. Exposed for cross-package tests (e.g. the update command).

Types

type Scope

type Scope string
const (
	ScopeProject Scope = "project"
	ScopeGlobal  Scope = "global"
)

type Skill

type Skill struct {
	Name   string
	Dir    string
	Scope  Scope
	Source skill.Source
	Files  map[string][]byte
	Hash   string
}

func Discover

func Discover() ([]Skill, error)

Discover walks both well-known skill locations and returns every subdirectory whose name matches a known bundled or remote skill. Missing locations (no git repo, no ~/.agents/skills/) contribute zero entries and are not errors.

Jump to

Keyboard shortcuts

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