bundledskills

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package bundledskills exposes the skill files embedded in the sdd binary.

Skills are committed under this package (one subdirectory per agent target) and compiled into the binary via //go:embed. At runtime, sdd init extracts them to the target agent's skill directory with install-time stamps injected into each file's frontmatter.

Editing: skill source of truth is here (e.g. claude/sdd/SKILL.md). After changes, rebuild the binary and run ./bin/sdd init to refresh the installed copy under .claude/skills/ (or ~/.claude/skills/).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(target model.AgentTarget) (*model.SkillBundle, error)

Load returns the embedded skill bundle for the given agent target, with sdd:include directives resolved (see model.ResolveSkillIncludes). Resolving here means every consumer — install (writeStampedEntry) and drift detection (SkillStatus) — operates on identical resolved content.

func ReadReference added in v0.7.0

func ReadReference(skill, relPath string) ([]byte, error)

ReadReference returns the body (frontmatter stripped) of a reference file in the embedded Claude skill bundle. Pre-flight uses this to inject the canonical ref-kind vocabulary into its prompt from the same source the skill ships, rather than restating it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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