command

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliverStaticSkillsCommand added in v1.10.0

type DeliverStaticSkillsCommand struct {
	// contains filtered or unexported fields
}

DeliverStaticSkillsCommand entrega skills estáticos desde el catálogo embebido sin LLM.

func NewDeliverStaticSkillsCommand added in v1.10.0

func NewDeliverStaticSkillsCommand(
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *DeliverStaticSkillsCommand

NewDeliverStaticSkillsCommand crea un nuevo comando de entrega estática.

func (*DeliverStaticSkillsCommand) Execute added in v1.10.0

func (c *DeliverStaticSkillsCommand) Execute(
	config *dto.SkillsConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute entrega skills estáticos: lee templates embebidos, agrega frontmatter, escribe SKILL.md.

type DeliverStaticWorkflowsCommand added in v1.13.0

type DeliverStaticWorkflowsCommand struct {
	// contains filtered or unexported fields
}

DeliverStaticWorkflowsCommand delivers static workflows from the embedded catalog.

func NewDeliverStaticWorkflowsCommand added in v1.13.0

func NewDeliverStaticWorkflowsCommand(
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *DeliverStaticWorkflowsCommand

NewDeliverStaticWorkflowsCommand creates a new static workflow delivery command.

func (*DeliverStaticWorkflowsCommand) Execute added in v1.13.0

func (c *DeliverStaticWorkflowsCommand) Execute(
	config *dto.WorkflowConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute delivers static workflows: reads embedded templates, adds frontmatter, writes flat .md files.

type GenerateContextCommand

type GenerateContextCommand struct {
	// contains filtered or unexported fields
}

GenerateContextCommand orchestrates LLM-based context file generation.

func NewGenerateContextCommand

func NewGenerateContextCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateContextCommand

NewGenerateContextCommand creates a new GenerateContextCommand.

func (*GenerateContextCommand) Execute

func (c *GenerateContextCommand) Execute(
	ctx context.Context,
	config *dto.ProjectConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the full context generation pipeline: 1. Build generation request from config + templates 2. Call LLM provider 3. Create output directories 4. Write generated files to disk (AGENTS.md at root, rest in context/)

type GenerateProjectCommand

type GenerateProjectCommand struct {
	// contains filtered or unexported fields
}

GenerateProjectCommand representa el comando para generar un proyecto

func NewGenerateProjectCommand

func NewGenerateProjectCommand(
	projectRepo project.Repository,
	projectGen *service.ProjectGenerator,
) *GenerateProjectCommand

NewGenerateProjectCommand crea una nueva instancia del comando

func (*GenerateProjectCommand) Execute

Execute ejecuta el comando de generacion de proyecto

type GenerateSkillsCommand

type GenerateSkillsCommand struct {
	// contains filtered or unexported fields
}

GenerateSkillsCommand orchestrates LLM-based Agent Skills generation.

func NewGenerateSkillsCommand

func NewGenerateSkillsCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateSkillsCommand

NewGenerateSkillsCommand creates a new GenerateSkillsCommand.

func (*GenerateSkillsCommand) Execute

func (c *GenerateSkillsCommand) Execute(
	ctx context.Context,
	config *dto.SkillsConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the skills generation pipeline: 1. Build generation request in skills mode 2. Call LLM provider (one call per skill) 3. Create per-skill output directories 4. Write SKILL.md files to disk

type GenerateSpecCommand

type GenerateSpecCommand struct {
	// contains filtered or unexported fields
}

GenerateSpecCommand orchestrates LLM-based spec file generation from existing context.

func NewGenerateSpecCommand

func NewGenerateSpecCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateSpecCommand

NewGenerateSpecCommand creates a new GenerateSpecCommand.

func (*GenerateSpecCommand) Execute

func (c *GenerateSpecCommand) Execute(
	ctx context.Context,
	config *dto.SpecConfig,
	existingContext string,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the spec generation pipeline: 1. Build generation request with existing context and spec mode 2. Call LLM provider 3. Create specs output directory 4. Write generated spec files to disk

type GenerateWorkflowsCommand added in v1.13.0

type GenerateWorkflowsCommand struct {
	// contains filtered or unexported fields
}

GenerateWorkflowsCommand orchestrates LLM-based workflow generation.

func NewGenerateWorkflowsCommand added in v1.13.0

func NewGenerateWorkflowsCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateWorkflowsCommand

NewGenerateWorkflowsCommand creates a new personalized workflow generation command.

func (*GenerateWorkflowsCommand) Execute added in v1.13.0

func (c *GenerateWorkflowsCommand) Execute(
	ctx context.Context,
	config *dto.WorkflowConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the workflow generation pipeline: 1. Build generation request in workflows mode 2. Call LLM provider (one call per workflow) 3. Write flat .md files to output directory

Jump to

Keyboard shortcuts

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