Class: LittleGhost::Skills::Skill

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#allowed_toolsObject (readonly)

Returns the value of attribute allowed_tools

Returns:

  • (Object)

    the current value of allowed_tools



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def allowed_tools
  @allowed_tools
end

#compatibilityObject (readonly)

Returns the value of attribute compatibility

Returns:

  • (Object)

    the current value of compatibility



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def compatibility
  @compatibility
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def description
  @description
end

#instructionsObject (readonly)

Returns the value of attribute instructions

Returns:

  • (Object)

    the current value of instructions



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def instructions
  @instructions
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def path
  @path
end

#source_pathObject (readonly)

Returns the value of attribute source_path

Returns:

  • (Object)

    the current value of source_path



6
7
8
# File 'lib/little_ghost/skills/skill.rb', line 6

def source_path
  @source_path
end