feat: extract presentation generator into executable code with builtin tool

Move the presentation implementation out of the skill string into real
TypeScript files (types.ts, presentation-generator.tsx) and add a
generatePresentation builtin tool so the agent calls it directly instead
of writing code. Rewrite the skill to guidance-only with content limits,
preference gathering, and JSON examples for each slide type.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Arjun 2026-01-30 13:30:06 +05:30
parent a3e681a7c4
commit e6c6571b07
9 changed files with 1392 additions and 1 deletions

View file

@ -4,7 +4,8 @@
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"types": ["node"]
"types": ["node"],
"jsx": "react-jsx"
},
"include": [
"src"