Documentation
¶
Index ¶
- func PluginDirPermissions(pluginDir string) error
- func PluginOutputSummary(pluginDir string, files []string) string
- type DeliverPluginCommand
- type DeliverStaticSkillsCommand
- type DeliverStaticWorkflowsCommand
- type GenerateContextCommand
- type GeneratePluginCommand
- type GenerateProjectCommand
- type GenerateSkillsCommand
- type GenerateSpecCommand
- type GenerateWorkflowsCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginDirPermissions ¶ added in v1.16.0
PluginDirPermissions ensures script files in the plugin have executable permissions.
func PluginOutputSummary ¶ added in v1.16.0
PluginOutputSummary returns a formatted summary of the generated plugin structure.
Types ¶
type DeliverPluginCommand ¶ added in v1.16.0
type DeliverPluginCommand struct {
// contains filtered or unexported fields
}
DeliverPluginCommand delivers static Claude Code plugins from the embedded catalog. Each workflow preset is packaged as a complete plugin with skills, hooks, agents, and scripts.
func NewDeliverPluginCommand ¶ added in v1.16.0
func NewDeliverPluginCommand( fileWriter service.FileWriter, directoryManager service.DirectoryManager, scriptsFS embed.FS, ) *DeliverPluginCommand
NewDeliverPluginCommand creates a new static plugin delivery command.
func (*DeliverPluginCommand) Execute ¶ added in v1.16.0
func (c *DeliverPluginCommand) Execute( config *dto.WorkflowConfig, templateGuides []service.TemplateGuide, ) (*dto.GenerationResult, error)
Execute generates a complete Claude Code plugin for each workflow template guide.
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 GeneratePluginCommand ¶ added in v1.16.0
type GeneratePluginCommand struct {
// contains filtered or unexported fields
}
GeneratePluginCommand orchestrates LLM-based Claude Code plugin generation. The LLM personalizes the SKILL.md; hooks, agents, and scripts remain static.
func NewGeneratePluginCommand ¶ added in v1.16.0
func NewGeneratePluginCommand( llmProvider service.LLMProvider, fileWriter service.FileWriter, directoryManager service.DirectoryManager, scriptsFS embed.FS, ) *GeneratePluginCommand
NewGeneratePluginCommand creates a new personalized plugin generation command.
func (*GeneratePluginCommand) Execute ¶ added in v1.16.0
func (c *GeneratePluginCommand) Execute( ctx context.Context, config *dto.WorkflowConfig, templateGuides []service.TemplateGuide, ) (*dto.GenerationResult, error)
Execute generates Claude Code plugins with LLM-personalized SKILL.md files. Static components (plugin.json, hooks.json, agents, scripts) are generated from the catalog. The LLM is called once per workflow to generate a personalized SKILL.md.
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 ¶
func (c *GenerateProjectCommand) Execute(ctx context.Context, config *dto.ProjectConfig) (*dto.ProjectInfo, error)
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