Refactor skill definitions into SSOT structure
Move onboarding intents, prompt data, and tools behind skill-local sources. Register skills through factories and add a moderation skill PoC.
This commit is contained in:
1 parent
b1cc27f6ad
commit
fb189330da
29 files changed
+993
-494
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import type { Skill } from "@skills/skill";
|
||||
import type { SkillDeps } from "@skills/skill-factory";
|
||||
import { ModerationSkill } from "./skill.js";
|
||||
|
||||
export { ModerationSkill } from "./skill.js";
|
||||
|
||||
export function createModerationSkill(deps: SkillDeps): Skill {
|
||||
return new ModerationSkill(deps.llmClient);
|
||||
}
|
||||
Reference in new issue
Block a user