skills

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package skills implements FR-MCP-04's agent skill bundles and the `vegaload init` command built on them: the actual Markdown content Claude Code and Cursor read to know when and how to call VegaLoad's MCP tools, embedded into the compiled binary at build time (via go:embed) so `vegaload init` can write them out without needing the vegaload source tree to be present on the machine it's installed on.

Index

Constants

This section is empty.

Variables

View Source
var ClaudeCode string

ClaudeCode is the Claude Code skill bundle's SKILL.md content, written by Init to .claude/skills/vegaload/SKILL.md.

View Source
var Cursor string

Cursor is the Cursor rules bundle's content, written by Init to .cursor/rules/vegaload.mdc.

Functions

func MergeMCPServerConfig

func MergeMCPServerConfig(existing []byte, exePath string, force bool) (merged []byte, changed bool, err error)

MergeMCPServerConfig takes an existing MCP config file's raw JSON (nil or empty for "no existing file") and returns the JSON it should be replaced with, with a "vegaload" entry added or updated under "mcpServers" pointing at exePath — preserving every other key and every other configured server untouched. It returns ok=false without modifying anything when a "vegaload" entry already exists and force is false, so a second `vegaload init` doesn't clobber a hand-edited config by default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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