Documentation
¶
Overview ¶
Package skill embeds the north agent skill and installs it into the skill directories of AI coding agents (Claude Code, opencode).
Index ¶
Constants ¶
View Source
const Name = "north"
Name is the skill's directory name and identifier.
Variables ¶
View Source
var Version = version.Version
Version is the embedded skill's version, stamped into installed SKILL.md files so `north skill` can detect outdated installs.
Functions ¶
func Content ¶
func Content() string
Content returns the SKILL.md text with the version comment injected after the frontmatter block.
func InstalledVersion ¶
InstalledVersion extracts the version stamp from an installed SKILL.md's content ("" when no stamp is present).
Types ¶
type Agent ¶
type Agent struct {
Name string // identifier
DisplayName string // human-readable
ProjectDir string // skill base dir relative to the repo root
GlobalDir string // skill base dir relative to the user's home dir
}
Agent describes an AI coding agent and where its skills live.
type Target ¶
type Target struct {
Agent string // agent display name
Dir string // absolute path to the skill dir (…/north)
Path string // absolute path to the SKILL.md file
}
Target is a resolved install location for one agent.
Click to show internal directories.
Click to hide internal directories.