skill

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

Package skill embeds the AgentStore agent skill and exports it to disk.

The content under content/ is generated from templates/ and the CLI command tree. Regenerate it after changing the CLI or the skill template:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(dir string) error

Export writes the embedded skill (SKILL.md plus reference/) into dir, creating dir if needed. The output is harness-neutral markdown: any agent runtime can point at it.

func SkillMarkdown

func SkillMarkdown() ([]byte, error)

SkillMarkdown returns the rendered SKILL.md, for printing to stdout.

Types

type Meta

type Meta struct {
	App       string
	StoreDir  string
	GlobalDir string
}

Meta is the substitution data rendered into the skill templates so the skill always reflects the current binary name and directory conventions.

func CurrentMeta

func CurrentMeta() Meta

CurrentMeta returns the substitution data for the active brand.

Directories

Path Synopsis
Command gen renders the embedded skill content from templates and the live CLI command tree.
Command gen renders the embedded skill content from templates and the live CLI command tree.
Package skillgen renders the embedded skill content (SKILL.md + reference/) from templates/ and the live CLI command tree.
Package skillgen renders the embedded skill content (SKILL.md + reference/) from templates/ and the live CLI command tree.

Jump to

Keyboard shortcuts

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