[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73DTRWT1WMNYBMYS2TTP2JV":3,"skill-same:01M73DTRWT1WMNYBMYS2TTP2JV":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M73DTRWT1WMNYBMYS2TTP2JV","pdf-export",null,"Generates PDF from slide data using pdf-lib. Extracts slidedata.json, runs sample (5-slide) then full PDF generation scripts, reviews results. Reads the 4-layer spec merge (base → theme → style → overrides) directly — no Playwright measurement required. Responds to \"make PDF\", \"export PDF\", \"convert to PDF\". Stage 11 of the lecture workflow.","5throck\u002Fai-workspace-standards","5throck","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10958964?v=4","01M73BFEH0V0VS483TW4JD49JW","01M73BFEJ5VQZJHJSFTVPAZGDM",25,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-deck\u002F.claude\u002Fskills\u002Fpdf-export\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\ncatalog-parity: skip  # variant-maintained fork — excluded from the root Variant-Exclusive catalog (W5 disposition)\nname: pdf-export\nscope: co-deck\nversion: 2.1.2\ndescription: >\n  Generates PDF from slide data using pdf-lib. Extracts slidedata.json, runs sample\n  (5-slide) then full PDF generation scripts, reviews results. Reads the 4-layer\n  spec merge (base → theme → style → overrides) directly — no Playwright measurement\n  required. Responds to \"make PDF\", \"export PDF\", \"convert to PDF\". Stage 11 of\n  the lecture workflow.\nstatus: active\nowner: pdf-export\nlast_reviewed: 2026-11-10\nprerequisites: prep-pdf\nrelates_to:\n  - skill: research\n    type: composes_with\n  - skill: storyline\n    type: composes_with\ninputs: [slide-html]\noutputs: [final-pdf]\n---\n\n## Context\n\nGenerates the final lecture PDF from slide content using `pdf-lib`. The PDF renderer\nuses a 4-layer spec merge (layout_base.json → theme pdf_layout_spec.json → style\npdf_color_spec.json → lecture-profile.md layout_overrides). No Playwright measurement\nis required — the theme JSON files contain all calibrated layout values.\n\nRuns a 5-slide sample first for Gate 5 review, then generates the full PDF after\nuser approval. Invoked at Stage 11, after the prep-pdf skill completes.\n\n## When to Use\n\n- PM Agent dispatches after prep-pdf skill completes\n- User says \"make PDF\", \"export PDF\", \"convert to PDF\"\n- After HTML or layout changes require PDF regeneration\n\n---\n\n## Execution Steps\n\n### Step 1: Confirm Required Inputs\n\nAll inputs must exist before starting:\n\n| File | Produced by |\n|------|------------|\n| `slidedata.json` | `extract_slidedata.mjs` (or prep-pdf --sample) |\n| `presentations\u002Fassets\u002Ffonts\u002F\u003CFontName>-Regular.ttf` | `download-font.ts` (or prep-pdf) |\n| `presentations\u002Fassets\u002Ffonts\u002F\u003CFontName>-Bold.ttf` | `download-font.ts` (or prep-pdf) |\n| HTML file | Build Agent |\n| `image-manifest.json` (optional) | Image Curator — `background_image` paths |\n| `assets\u002Fimages\u002Fbg-*.\u003Cext>` (optional) | Image Curator — background image files |\n\n**Dependencies** (pre-installed via `bun install`):\n- `pdf-lib` — PDF generation\n- `fflate` — compression\n- `@pdf-lib\u002Ffontkit` — Korean font embedding\n\n**Font source of truth**: the sample\u002Ffull PDF embeds fonts from\n`presentations\u002Fassets\u002Ffonts\u002F` (default Pretendard Regular\u002FBold). That family is\nthe deck's typographic reference — the HTML deck must embed the same family\n(html-build SKILL, \"Font Parity\"). Any font change lands in BOTH engines in one\nchange. Gate 5 sample review includes a font-parity spot-check (DG-DECK-06).\n\n---\n\n### Step 2: Extract slideData\n\nIf slidedata.json does not exist yet:\n\n```bash\nbun scripts\u002Fco-deck\u002Fextract_slidedata.mjs \"path\u002Fto\u002Flecture.html\"\n```\n\n→ Produces `slidedata.json`\n\n---\n\n### Step 3: Generate Sample PDF (5 slides)\n\nBefore the full run, generate a 5-slide sample for layout sanity check.\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject> --sample 5\n```\n\nShare the sample with the user for review. If approved, proceed to Step 4 (★ Gate 5: approval required before full PDF).\n\n---\n\n### Step 4: Generate Full PDF\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject>\n\n# Custom output filename:\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject> --out \u003Cfilename>.pdf\n```\n\n**Layout customization** — edit `lecture-profile.md` → `layout_overrides`:\n\n```yaml\nlayout_overrides:\n  fonts:\n    title_pt: 28\n    bullet_pt: 13\n  line_heights:\n    title_px: 48\n    bullet_px: 28\n```\n\nThe `--auto-calibrate` flag can suggest starting values:\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --auto-calibrate --project presentations\u002F\u003Cproject>\n```\n\n**Background image rendering (v1.7.0):**\n\nWhen `lecture-profile.md` has `background_image.enabled: true`, the PDF renderer applies image backgrounds per the configured scope:\n\n| Scope | Slides affected |\n|-------|---------------|\n| `all` | Every slide |\n| `divider-cover` | Title, divider, and punchline slides only |\n| `individual` | Per-slide entries from `image-manifest.json` |\n\n**Rendering pipeline**: full-bleed cover-crop → semi-transparent overlay (configured by `overlay.color` and `overlay.opacity`). Image paths are resolved from `image-manifest.json` first, then `slideData.backgroundImage`, then `fallback_color` solid fill.\n\n---\n\n## Output Format\n\n- `presentations\u002F\u003Cproject>\u002F[project]_v[version].pdf` — full presentation PDF\n- `presentations\u002F\u003Cproject>\u002Fsample_5slides.pdf` — sample for Gate 5 review\n- `presentations\u002F\u003Cproject>\u002Fspeaker-notes_\u003Clang>.txt` — speaker-notes handoff file, produced alongside the full PDF per the convention in [`docs\u002Fspeaker-notes-export.md`](..\u002F..\u002Fdocs\u002Fspeaker-notes-export.md)\n\n## Related Skills\n\n- `prep-pdf` — prepares fonts, validates spec merge, generates sample\n- `version` — snapshot the HTML and layout files before regenerating the PDF\n","## Context\n\nGenerates the final lecture PDF from slide content using `pdf-lib`. The PDF renderer\nuses a 4-layer spec merge (layout_base.json → theme pdf_layout_spec.json → style\npdf_color_spec.json → lecture-profile.md layout_overrides). No Playwright measurement\nis required — the theme JSON files contain all calibrated layout values.\n\nRuns a 5-slide sample first for Gate 5 review, then generates the full PDF after\nuser approval. Invoked at Stage 11, after the prep-pdf skill completes.\n\n## When to Use\n\n- PM Agent dispatches after prep-pdf skill completes\n- User says \"make PDF\", \"export PDF\", \"convert to PDF\"\n- After HTML or layout changes require PDF regeneration\n\n---\n\n## Execution Steps\n\n### Step 1: Confirm Required Inputs\n\nAll inputs must exist before starting:\n\n| File | Produced by |\n|------|------------|\n| `slidedata.json` | `extract_slidedata.mjs` (or prep-pdf --sample) |\n| `presentations\u002Fassets\u002Ffonts\u002F\u003CFontName>-Regular.ttf` | `download-font.ts` (or prep-pdf) |\n| `presentations\u002Fassets\u002Ffonts\u002F\u003CFontName>-Bold.ttf` | `download-font.ts` (or prep-pdf) |\n| HTML file | Build Agent |\n| `image-manifest.json` (optional) | Image Curator — `background_image` paths |\n| `assets\u002Fimages\u002Fbg-*.\u003Cext>` (optional) | Image Curator — background image files |\n\n**Dependencies** (pre-installed via `bun install`):\n- `pdf-lib` — PDF generation\n- `fflate` — compression\n- `@pdf-lib\u002Ffontkit` — Korean font embedding\n\n**Font source of truth**: the sample\u002Ffull PDF embeds fonts from\n`presentations\u002Fassets\u002Ffonts\u002F` (default Pretendard Regular\u002FBold). That family is\nthe deck's typographic reference — the HTML deck must embed the same family\n(html-build SKILL, \"Font Parity\"). Any font change lands in BOTH engines in one\nchange. Gate 5 sample review includes a font-parity spot-check (DG-DECK-06).\n\n---\n\n### Step 2: Extract slideData\n\nIf slidedata.json does not exist yet:\n\n```bash\nbun scripts\u002Fco-deck\u002Fextract_slidedata.mjs \"path\u002Fto\u002Flecture.html\"\n```\n\n→ Produces `slidedata.json`\n\n---\n\n### Step 3: Generate Sample PDF (5 slides)\n\nBefore the full run, generate a 5-slide sample for layout sanity check.\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject> --sample 5\n```\n\nShare the sample with the user for review. If approved, proceed to Step 4 (★ Gate 5: approval required before full PDF).\n\n---\n\n### Step 4: Generate Full PDF\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject>\n\n# Custom output filename:\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --project presentations\u002F\u003Cproject> --out \u003Cfilename>.pdf\n```\n\n**Layout customization** — edit `lecture-profile.md` → `layout_overrides`:\n\n```yaml\nlayout_overrides:\n  fonts:\n    title_pt: 28\n    bullet_pt: 13\n  line_heights:\n    title_px: 48\n    bullet_px: 28\n```\n\nThe `--auto-calibrate` flag can suggest starting values:\n\n```bash\nbun scripts\u002Fco-deck\u002Fgen-slides-pdf.ts --auto-calibrate --project presentations\u002F\u003Cproject>\n```\n\n**Background image rendering (v1.7.0):**\n\nWhen `lecture-profile.md` has `background_image.enabled: true`, the PDF renderer applies image backgrounds per the configured scope:\n\n| Scope | Slides affected |\n|-------|---------------|\n| `all` | Every slide |\n| `divider-cover` | Title, divider, and punchline slides only |\n| `individual` | Per-slide entries from `image-manifest.json` |\n\n**Rendering pipeline**: full-bleed cover-crop → semi-transparent overlay (configured by `overlay.color` and `overlay.opacity`). Image paths are resolved from `image-manifest.json` first, then `slideData.backgroundImage`, then `fallback_color` solid fill.\n\n---\n\n## Output Format\n\n- `presentations\u002F\u003Cproject>\u002F[project]_v[version].pdf` — full presentation PDF\n- `presentations\u002F\u003Cproject>\u002Fsample_5slides.pdf` — sample for Gate 5 review\n- `presentations\u002F\u003Cproject>\u002Fspeaker-notes_\u003Clang>.txt` — speaker-notes handoff file, produced alongside the full PDF per the convention in [`docs\u002Fspeaker-notes-export.md`](..\u002F..\u002Fdocs\u002Fspeaker-notes-export.md)\n\n## Related Skills\n\n- `prep-pdf` — prepares fonts, validates spec merge, generates sample\n- `version` — snapshot the HTML and layout files before regenerating the PDF\n",{"name":5,"owner":5,"scope":23,"inputs":24,"status":26,"outputs":27,"version":29,"relates_to":30,"description":36,"last_reviewed":37,"prerequisites":38,"catalog-parity":39},"co-deck",[25],"slide-html","active",[28],"final-pdf","2.1.2",[31,34],{"type":32,"skill":33},"composes_with","research",{"type":32,"skill":35},"storyline","Generates PDF from slide data using pdf-lib. Extracts slidedata.json, runs sample (5-slide) then full PDF generation scripts, reviews results. Reads the 4-layer spec merge (base → theme → style → overrides) directly — no Playwright measurement required. Responds to \"make PDF\", \"export PDF\", \"convert to PDF\". Stage 11 of the lecture workflow.\n",1794268800000,"prep-pdf","skip","main","4d0554bdafafff02aa802871e6db3e0dec4f60a5","templates\u002Fco-deck\u002F.claude\u002Fskills\u002Fpdf-export",9,"https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards","https:\u002F\u002Fgithub.com\u002F5throck","Experienced in digital transformation, enterprise IT, startup acceleration, and business strategy. Focused on building practical systems that connect technolo","2026-11-14 21:22:34",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add 5throck\u002Fai-workspace-standards --skill pdf-export",{"tool":54,"command":55},"bunx","bunx skills add 5throck\u002Fai-workspace-standards --skill pdf-export",{"tool":57,"command":58},"pnpm","pnpm dlx skills add 5throck\u002Fai-workspace-standards --skill pdf-export","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-deck\u002F.claude\u002Fskills\u002Fpdf-export\u002FSKILL.md",true,[],[63,71,76,81,86,91],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M7BBJDYHJMGTJYSC37JVWY8S","i18n-layout","Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL\u002Fbidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF\u002FBOM issues surface.","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":72,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":70},"01M7BBJ9XHAAS1AVGKZZ841VBZ","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.hermes\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":77,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":70},"01M7BBJ5C3X8TKFKG5R9P9P49W","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.gemini\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":82,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":70},"01M7BBJ1B52X0QMJ2QVBMPJB37","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.codex\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":87,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":70},"01M7BBHX91BW2Q2R276MRX5AW3","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.claude\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":92,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":70},"01M7BBHQWGXPSFRWN1PRC2NMMV","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.agents\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[]]