skills

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployAll

func DeployAll(baseDir string) error

DeployAll extracts all embedded skill directories under baseDir. Each skill is deployed to baseDir/<skill-name>/. Files are only written when their content differs from the embedded version.

baseDir is workspace HOME's `.claude/skills` (see internal/dispatcher/runner.go), a directory rw bind mounted into every sandbox dispatched against the workspace. Every write below it therefore goes through the symlink-safe, fd-relative helpers in safe_deploy.go rather than string-path-based os.MkdirAll/os.CreateTemp/os.Rename — see that file's package doc comment for the threat model (PR #789 review, 2026-07-17).

func EmbeddedSkillNames added in v0.0.6

func EmbeddedSkillNames() []string

EmbeddedSkillNames returns the slugs of the embedded skill directories in stable lexical order. dispatcher uses it to compute the claude-side ~/.claude/skills/<name> bind targets without hard-coding the list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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