Documentation
¶
Overview ¶
Package skillcli holds Physa's skill for a person's agent: the guide that teaches it to use Physa's commands and terms as Physa means them, embedded in the binary and never read from the repo, so upgrading Physa updates what every agent is told. The skill command group puts it in reach: show writes the guide exactly as it is, on any output, with no styling; setup writes a short stub into Claude Code's skills directory that tells the agent to run show, and adds a session hook to Claude Code's settings.json that runs the hidden session command when a session starts; status says whether the stub and the hook are current, stale or missing, and remove deletes the stub and takes out only Physa's hook entry. Setup and remove ask on a terminal and need --yes off one, and never overwrite, remove or follow a SKILL.md Physa did not write, or edit a settings.json Physa cannot read as JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
func Command(current CurrentFunc) *cobra.Command
Command returns the skill group, reading the person's home directory and asking on the terminal. current reads the pursuit and change a session works on, for the hidden session command the session hook runs.
Types ¶
type CurrentFunc ¶ added in v0.0.17
CurrentFunc returns the pursuit and change a session works on in the repo that holds wd, read from the store and never from the engine. It returns empty names and no error when there is none, and an error when it cannot tell.