Class: Legion::Extensions::Skill::Superpowers::Skills::TestDrivenDevelopment
- Inherits:
-
LLM::Skills::Base
- Object
- LLM::Skills::Base
- Legion::Extensions::Skill::Superpowers::Skills::TestDrivenDevelopment
- Defined in:
- lib/legion/extensions/skill/superpowers/skills/test_driven_development.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#inject_tdd_context(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Class Method Details
.content_path ⇒ Object
25 26 27 |
# File 'lib/legion/extensions/skill/superpowers/skills/test_driven_development.rb', line 25 def content_path ::File.('../../../../../../content/test_driven_development/SKILL.md', __dir__) end |
Instance Method Details
#inject_tdd_context(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
14 15 16 17 18 19 20 |
# File 'lib/legion/extensions/skill/superpowers/skills/test_driven_development.rb', line 14 def inject_tdd_context(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: self.class.content, gate: nil, metadata: { step: 'inject_tdd_context' } ) end |