feat(skill): add script-driven full skill template generation

Add fetch-skill-templates.ts script that clones anthropics/skills repo
and generates complete directory trees (scripts, references, assets)
for all 16 skills with base64 encoding for binary files, replacing
the previous single-SKILL.md-only approach. Generated files are
lazy-loaded per skill on user click.
This commit is contained in:
yyh
2026-01-30 14:57:04 +08:00
parent acc8671c28
commit 038b03fa8e
24 changed files with 2317 additions and 40 deletions

View File

@ -51,7 +51,8 @@
"storybook:build": "storybook build",
"preinstall": "npx only-allow pnpm",
"analyze": "ANALYZE=true pnpm build",
"knip": "knip"
"knip": "knip",
"fetch-skill-templates": "tsx ./scripts/fetch-skill-templates.ts"
},
"dependencies": {
"@amplitude/analytics-browser": "2.33.1",