skillpack

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package skillpack installs a skill repository's contents into the global skill directory — the onboarding wizard's "starter pack" path (#135). It intentionally mirrors the daemon tool skill_install's behavior (clone, find <name>/SKILL.md dirs, copy one level, record a SOURCE file) without importing internal/daemon/tools: the wizard runs in the CLI process, and pulling the daemon's tool layer into the CLI for one helper would invert the layering — the same small-duplication trade the codebase already documents for oauthRefreshAdapter.

Index

Constants

View Source
const DefaultRepo = "https://github.com/codexmark/kram-skills"

DefaultRepo is the starter pack the wizard offers: the curated kram-skills collection.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, repo string) ([]string, error)

Install clones repo (shallow) and installs every skill it contains (each directory holding a SKILL.md) into the global skill directory, recording repo in each skill's SOURCE file. Returns the installed names, sorted. Network and git failures return an error — the caller decides whether that blocks anything (the wizard never lets it).

Types

This section is empty.

Jump to

Keyboard shortcuts

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