Documentation
¶
Overview ¶
Package agentskill installs the bundled mdoc authoring skill into agent skill directories.
Index ¶
Constants ¶
const SkillName = "mdoc"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallResult ¶
InstallResult describes one installed skill target.
func Install ¶
func Install(name, customParent string) ([]InstallResult, error)
Install copies the bundled mdoc skill to the requested agent target(s).
type RemoveResult ¶
RemoveResult describes one removed (or absent) skill target.
func Remove ¶
func Remove(name, customParent string) ([]RemoveResult, error)
Remove deletes the installed mdoc skill for the requested agent target(s). Only the <parent>/mdoc skill directory is removed — never the parent skills directory itself. Targets that aren't present are reported with Existed=false rather than treated as an error.
type Target ¶
Target describes one resolved install destination.
func ResolveTargets ¶
ResolveTargets expands a target name into concrete parent/destination directories. customParent is the parent skills directory; the skill itself is always installed as <customParent>/mdoc.