BaseFutureSkillSource
Java-friendly base for implementing a SkillSource: every engine method is a suspend returning a Result, and this base final-overrides each to await a CompletableFuture from the Java subclass, mapping a completed future to Result.success and any failure to a Result.failure of SkillSourceException. Return each future promptly and do any blocking work inside it. Complete the future exceptionally with a SkillSourceException to report a skill error whose message reaches the LLM.
Functions
Link copied to clipboard
Returns the frontmatter for all available skills.
Link copied to clipboard
Link copied to clipboard
Loads the frontmatter for a single skill by name.
Link copied to clipboard
Loads the instruction body for a single skill by name.
Link copied to clipboard
Loads a specific resource file for a given skill.