Help us shape the future of Go! Take the 2026 Go Developer Survey

skills

package
v0.0.204 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalSkillDirs added in v0.0.47

func GlobalSkillDirs() []string

GlobalSkillDirs returns the global opencode-compatible skill directories.

func LocalSkillDirs added in v0.0.47

func LocalSkillDirs(projectDir string) []string

LocalSkillDirs returns the project-local opencode-compatible skill directories.

Types

type SkillInfo

type SkillInfo = agentskills.SkillInfo

type SkillListResult

type SkillListResult struct {
	Global []SkillInfo
	Local  []SkillInfo
}

SkillListResult holds skills grouped by scope (global vs project-local).

func List

func List(projectDir string) (*SkillListResult, error)

List returns skills from all opencode-compatible skill directories.

Global directories:

  • ~/.config/opencode/skills/
  • ~/.claude/skills/
  • ~/.agents/skills/

Project-local directories (under projectDir):

  • .opencode/skills/
  • .claude/skills/
  • .agents/skills/

Jump to

Keyboard shortcuts

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