context

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSystemPrompt

func GenerateSystemPrompt(cfg *config.Config, infraCtx *InfraContext) string

GenerateSystemPrompt creates the CLAUDE.md content for DevOps context.

Types

type InfraContext

type InfraContext struct {
	KubernetesContext string
	KubernetesCluster string
	KubernetesNodes   int
	DockerVersion     string
	DockerContainers  int
	PrometheusURL     string
	PrometheusUp      bool
}

InfraContext holds pre-collected infrastructure information.

func Collect

func Collect(cfg *config.Config) *InfraContext

Collect gathers infrastructure context before launching Claude.

func (*InfraContext) Summary

func (c *InfraContext) Summary() string

Summary returns a human-readable summary of collected context.

Jump to

Keyboard shortcuts

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