Versions in this module Expand all Collapse all v0 v0.12.0 Mar 9, 2026 v0.11.0 Mar 2, 2026 Changes in this version + const DefaultDirMode + const DefaultFileMode + func List() []string + func Register(adapter Adapter) + type Adapter interface + GeneratePowerDir func(power *Power, outputDir string) ([]string, error) + Name func() string + ParsePowerDir func(dir string) (*Power, error) + func Get(name string) (Adapter, error) + type GenerateError struct + Err error + Format string + Message string + Path string + func (e *GenerateError) Error() string + func (e *GenerateError) Unwrap() error + type Hook struct + Command string + Condition string + Event string + Name string + Prompt string + type MCPServer struct + Args []string + Command string + Description string + Env map[string]string + URL string + type ParseError struct + Err error + Format string + Path string + func (e *ParseError) Error() string + func (e *ParseError) Unwrap() error + type Power struct + Author string + Description string + DisplayName string + Hooks []Hook + Instructions string + Keywords []string + License string + MCPServers map[string]MCPServer + Name string + Onboarding string + Repository string + SteeringFiles map[string]SteeringFile + Version string + func NewPower(name, description string) *Power + func (p *Power) AddHook(hook Hook) *Power + func (p *Power) AddKeyword(keyword string) *Power + func (p *Power) AddKeywords(keywords ...string) *Power + func (p *Power) AddMCPServer(name string, server MCPServer) *Power + func (p *Power) AddSteeringFile(name string, sf SteeringFile) *Power + func (p *Power) Validate() error + func (p *Power) WithDisplayName(displayName string) *Power + func (p *Power) WithInstructions(instructions string) *Power + func (p *Power) WithOnboarding(onboarding string) *Power + func (p *Power) WithVersion(version string) *Power + func (p *Power) WriteTo(dir string) error + type SteeringFile struct + Content string + Description string + Keywords []string + Path string + type ValidationError struct + Field string + Message string + func (e *ValidationError) Error() string