cmdskills

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, sync SyncDependencies, hook HookDependencies) *cobra.Command

newSkillsCmd groups everything about installing WB's own Agent Skills (embedded from ai/skills, see package ai) into a harness's skills directory -- Claude Code's ~/.claude/skills, Cursor's ~/.cursor/skills, Codex's ~/.codex/skills -- so an orchestrating agent has them available in any project, not only inside a checkout of sneat-dev/wb.

See ai/skills/wb-skills/SKILL.md for the agent-facing walkthrough this command family exists to make discoverable in the first place: the defect that motivated it was an orchestrator session missing `wb session park` entirely because nothing had ever installed it where that session's harness looks for skills.

Types

type HookDependencies

type HookDependencies struct {
	Quote         func(string) string
	Executable    func() string
	Home          func() (string, error)
	MergeSettings func(string, string) ([]byte, bool, error)
	WriteSettings func(string, []byte) error
	Announcement  func() string
}

type SyncDependencies

type SyncDependencies struct {
	Config func() (skillsync.Config, error)
	Home   func() (string, error)
	Getenv func(string) string
}

Jump to

Keyboard shortcuts

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