Class: Legion::Extensions::Skill::Superpowers::Skills::SystematicDebugging

Inherits:
LLM::Skills::Base
  • Object
show all
Defined in:
lib/legion/extensions/skill/superpowers/skills/systematic_debugging.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.content_pathObject



25
26
27
# File 'lib/legion/extensions/skill/superpowers/skills/systematic_debugging.rb', line 25

def content_path
  ::File.expand_path('../../../../../../content/systematic_debugging/SKILL.md', __dir__)
end

Instance Method Details

#inject_debugging_context(context: {}) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



14
15
16
17
18
19
20
# File 'lib/legion/extensions/skill/superpowers/skills/systematic_debugging.rb', line 14

def inject_debugging_context(context: {}) # rubocop:disable Lint/UnusedMethodArgument
  Legion::LLM::Skills::StepResult.new(
    inject:   self.class.content,
    gate:     nil,
    metadata: { step: 'inject_debugging_context' }
  )
end