skills

package
v0.167.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
const SkillDirName = "gofer-usage"

SkillDirName is the top-level directory name inside GoferUsage; the installed skill lands at <destParent>/gofer-usage/.

Variables

View Source
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

func InstallTo(destParent string) ([]string, error)

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.

Jump to

Keyboard shortcuts

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