wbskills

package
v0.205.5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 5 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

Index

Constants

View Source
const LegacyMarker = ".wb-skills-sync.json"
View Source
const PluginVersion = "0.0.0"
View Source
const UnknownSource = "0000000000000000000000000000000000000000"

Variables

This section is empty.

Functions

func Announcement

func Announcement(deps AnnouncementDependencies) string

sessionStartAnnouncement never returns an error and never panics: it is injected into every Claude Code session's opening context, so every failure along the way -- no resolvable home directory, no marker yet, a corrupt one -- degrades to the registration reminder alone rather than producing nothing or crashing the hook.

func CLIIdentity

func CLIIdentity() skillsync.Identity

func Config

func Config(sourceFS fs.FS, build buildinfo.Report) (skillsync.Config, error)

func DriftMessage

func DriftMessage(dir string, status skillsync.Status, currentVersion string) string

DriftMessage is printed by the SessionStart hook. Ordinary WB invocations stay quiet: repeating one warning on every tool call consumed more agent context than the warning protected and made private feature builds particularly noisy. A verified self-update still synchronizes skills immediately, while SessionStart reports drift once when it can affect work.

func PluginIdentity

func PluginIdentity() skillsync.PluginIdentity

func SyncedWBVersion

func SyncedWBVersion(status skillsync.Status) (string, bool)

Types

type AnnouncementDependencies

type AnnouncementDependencies struct {
	SkillsDir  func() (string, error)
	ReadStatus func(string) (skillsync.Status, error)
	Version    func() string
}

Jump to

Keyboard shortcuts

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