skillgen

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package skillgen renders the embedded skill content (SKILL.md + reference/) from templates/ and the live CLI command tree. It is imported by both the generator (internal/skill/gen) and the drift test that keeps content/ in sync with its sources. It lives outside package skill on purpose: package skill is imported by internal/cli, so a renderer that needs the cobra tree can't live there without an import cycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(root *cobra.Command, meta skill.Meta, tmplDir string) (map[string][]byte, error)

Files renders the skill content from tmplDir and the command tree, keyed by content-relative path (e.g. "SKILL.md", "reference/cli.md"). Callers pass cli.Root() so this package needn't import internal/cli.

Types

This section is empty.

Jump to

Keyboard shortcuts

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