paths

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package paths centralizes every location Skillcrew reads or writes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paths

type Paths struct {
	Home string
}

Paths resolves locations relative to a home directory, so tests can use a temporary home.

func (Paths) AgentsSkills

func (p Paths) AgentsSkills() string

AgentsSkills is the cross-agent skills directory holding the real copies.

func (Paths) Backups

func (p Paths) Backups() string

Backups holds backups of edited team skills and replaced personal skills.

func (Paths) Cache

func (p Paths) Cache() string

Cache holds exported skills, one directory per git tree id.

func (Paths) ClaudeSkills

func (p Paths) ClaudeSkills() string

ClaudeSkills is Claude Code's personal skills directory, holding symlinks.

func (Paths) Config

func (p Paths) Config() string

Config is the developer's configuration file.

func (Paths) Lock

func (p Paths) Lock() string

Lock records what Skillcrew installed.

func (Paths) Log

func (p Paths) Log() string

Log is the sync history.

func (Paths) Registry

func (p Paths) Registry() string

Registry is the bare clone of the registry.

func (Paths) Root

func (p Paths) Root() string

Root is Skillcrew's own state directory.

func (Paths) Staging

func (p Paths) Staging() string

Staging is where skills are prepared before being swapped in. It sits next to AgentsSkills so the swap is a rename on the same filesystem, and outside it so agents never load a half-written skill.

func (Paths) State

func (p Paths) State() string

State holds the outcome of the last sync.

func (Paths) SyncLock

func (p Paths) SyncLock() string

SyncLock serializes syncs and the commands that change installed skills.

Jump to

Keyboard shortcuts

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