Class: LittleGhost::Skills::Skill
- Inherits:
-
Data
- Object
- Data
- LittleGhost::Skills::Skill
- Defined in:
- lib/little_ghost/skills/skill.rb,
lib/little_ghost/skills/skill.rb
Overview
Holds the metadata and instructions loaded from one SKILL.md file.
path is shown to the model; source_path is the local file used for
boundary validation and resource discovery.
Instance Attribute Summary collapse
-
#allowed_tools ⇒ Object
readonly
Returns the value of attribute allowed_tools.
-
#compatibility ⇒ Object
readonly
Returns the value of attribute compatibility.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#instructions ⇒ Object
readonly
Returns the value of attribute instructions.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#source_path ⇒ Object
readonly
Returns the value of attribute source_path.
Instance Attribute Details
#allowed_tools ⇒ Object (readonly)
Returns the value of attribute allowed_tools
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def allowed_tools @allowed_tools end |
#compatibility ⇒ Object (readonly)
Returns the value of attribute compatibility
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def compatibility @compatibility end |
#description ⇒ Object (readonly)
Returns the value of attribute description
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def description @description end |
#instructions ⇒ Object (readonly)
Returns the value of attribute instructions
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def instructions @instructions end |
#name ⇒ Object (readonly)
Returns the value of attribute name
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def path @path end |
#source_path ⇒ Object (readonly)
Returns the value of attribute source_path
9 10 11 |
# File 'lib/little_ghost/skills/skill.rb', line 9 def source_path @source_path end |