skills

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package skills holds the Agent Skill that teaches AI coding agents to use the CLI. The binary embeds it, so the skill always matches the commands of the same release.

Index

Constants

View Source
const (
	Create    = "create"
	Update    = "update"
	Unchanged = "unchanged"
)

File actions, the same words as the files that init writes.

View Source
const Name = "openarch"

Name is the skill name, as in the SKILL.md front matter.

Variables

View Source
var ErrChanged = errors.New("SKILL.md exists and differs from this release")

ErrChanged means that the installed SKILL.md differs from this release and force was not set.

View Source
var SKILL []byte

SKILL is the content of openarch/SKILL.md.

Functions

func Install

func Install(dir string, force bool) (path, action string, err error)

Install writes SKILL.md under dir and returns the file path and the action. A different file is replaced only with force.

func Path

func Path(dir string) string

Path is where Install writes the skill in a project folder. Claude Code and other agents that read Agent Skills find it there.

Types

This section is empty.

Jump to

Keyboard shortcuts

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