OLLMcoder.Skill
Description:
Content:
Classes:
- Definition - One skill file: YAML header,
then Refinement and Execution sections separated by "---". Constructor only stores path; call load() to read and parse. Header is stored
in a hash map; "name" etc. are read from the map after load.
- Factory - Lightweight factory: creates Manager
and Runner only. Message building lives in Runner.
- Manager - Holds an array of skills directories
and two maps: path → Definition and name → Definition. One scan populates both; each Definition stores its own mtime.
- PromptTemplate - Prompt template that
loads from the skill-prompts resource only (no filesystem).
- Runner - Agent that runs a single skill. Builds
system message (template + available skills + current skill) and user message (template or pass-through); injects them and sends.