Documentation
¶
Overview ¶
Package guide is the agent guide: embedded in the binary so it always matches it, with its code tables rendered from the contract registry, plus the small user-level skill that points agents at it.
Index ¶
- Constants
- func AgentTokenLink() string
- func Install(path string, dryRun bool) (string, error)
- func Render(entries []contract.Entry) string
- func Skill() string
- func SkillPath(target string, getenv func(string) string, home func() (string, error)) (string, error)
- func Uninstall(path string, dryRun bool) (string, error)
- type InstallResult
- type Printed
Constants ¶
View Source
const Marker = "Installed by `ghostbranch guide --install`."
Marker identifies a SKILL.md that Ghostbranch wrote and may replace or remove.
Variables ¶
This section is empty.
Functions ¶
func AgentTokenLink ¶ added in v0.1.1
func AgentTokenLink() string
AgentTokenLink is Strict isolation's pre-filled link for an agent's shadow-only token, with <shadow-owner> and <repo> for the agent to fill.
func Install ¶
Install writes the skill to path and says what it did (or, with dryRun, what it would do): installed, updated or unchanged.
Types ¶
Click to show internal directories.
Click to hide internal directories.