Documentation
¶
Overview ¶
Package skills embeds the shipped agent skills so `gofer init skill` can install them from the binary — one source of truth, no drift between the tracked skills/ tree and what init writes out. The Go source lives at the skills/ root because //go:embed cannot reference parent directories, keeping skills/gofer-usage/ the single authoritative copy.
Index ¶
Constants ¶
const SkillDirName = "gofer-usage"
SkillDirName is the top-level directory name inside GoferUsage; the installed skill lands at <destParent>/gofer-usage/.
Variables ¶
var GoferUsage embed.FS
GoferUsage is the embedded gofer-usage/ skill tree (SKILL.md + references/*). The `all:` prefix pulls in any dot/underscore-prefixed files too, so the embedded copy always matches the on-disk tree verbatim.
Functions ¶
func InstallTo ¶
InstallTo writes the embedded gofer-usage/ tree under destParent, preserving the directory structure (SKILL.md + references/commands.md). Directories are created 0755, files 0644. It returns the destination paths written (in walk order). It does NOT enforce an overwrite policy — the caller checks for an existing skill dir and honours --force before calling.
Types ¶
This section is empty.