[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBC9J2WG0BD6PBTY7XNEA0":3,"skill-same:01M7EBC9J2WG0BD6PBTY7XNEA0":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7EBC9J2WG0BD6PBTY7XNEA0","export-as-pptx-editable",null,"Native text & shapes — editable in PowerPoint","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F02-厂商系统提示词\u002Fsystem_prompts_leaks\u002FAnthropic\u002Fclaude-design\u002Fskills\u002Fexport-as-pptx-editable\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: export-as-pptx-editable\ndescription: \"Native text & shapes — editable in PowerPoint\"\nuser-invocable: true\n---\n\n# Export as PPTX (editable)\n\nExport an HTML slide deck to a `.pptx` with native PowerPoint objects (editable text, shapes, images). One `gen_pptx` tool call does everything: capture, font handling, generation, download.\n\n### What you do\n\n1. **Know the deck.** You probably wrote it. If not, `read_file` the HTML to find: the slide selector, how to navigate (function name? class toggle?), what fonts it uses, whether there's a scaling wrapper.\n2. **`show_to_user`** the deck so it's in the user's preview.\n3. **Call `gen_pptx`** with the inputs below.\n4. **Read the validation flags** in the result and decide if you need to retry.\n\n### gen_pptx inputs\n\n```jsonc\n{\n  \"width\": 1920, \"height\": 1080,   \u002F\u002F CSS px — match the deck's slide size\n  \"slides\": [                      \u002F\u002F one entry per slide, in order\n    { \"showJs\": \"goToSlide(0)\", \"selector\": \".slide.active\" },\n    { \"showJs\": \"goToSlide(1)\", \"selector\": \".slide.active\" }\n    \u002F\u002F For decks where all slides are in DOM at once and you don't need to navigate:\n    \u002F\u002F   { \"selector\": \".slide:nth-child(1)\" }, { \"selector\": \".slide:nth-child(2)\" }\n  ],\n  \"hideSelectors\": [\".nav\", \".progress\", \"[data-omelette-chrome]\", \"[data-noncommentable]\"],\n  \u002F\u002F If the deck wraps slides in a transform:scale() container, name it here.\n  \u002F\u002F gen_pptx clears the transform AND forces width\u002Fheight onto this element.\n  \"resetTransformSelector\": \".slide-container\",\n  \u002F\u002F Font handling — pick ONE strategy based on the directive at the bottom.\n  \u002F\u002F Substitution happens BEFORE capture so layout reflows correctly.\n  \"googleFontImports\": [\"Poppins\", \"Lora\"],\n  \"fontSwaps\": [{ \"from\": \"BrandSans\", \"to\": \"Poppins\" }],\n  \u002F\u002F Or fontSwaps: [{from:\"BrandSans\", to:\"Arial\"}] for web-safe.\n  \u002F\u002F Or omit both to keep brand fonts as-is.\n  \"filename\": \"my-deck\"\n}\n```\n\nIf — and only if — the user asked for Google Slides, also pass `\"offer_google_slides\": true`: the export dialog gains a 'Send to Google Slides' button, and the upload happens only if they click it.\n\n`slides[].showJs` runs inside the iframe as a sync expression — don't `await`. If your deck's nav function is async, call it without await; the per-slide `delay` (default 600ms) covers the transition. Bump `delay` for decks with longer CSS transitions.\n\n#### If the deck uses the `\u003Cdeck-stage>` starter component\n\n- `resetTransformSelector: \"deck-stage\"` — the exporter sets the `noscale` attribute on it, which the component observes and responds to by dropping its shadow-DOM `transform: scale()`. You cannot reach the scaled canvas any other way.\n- `slides[N].showJs`: `\"document.querySelector('deck-stage').goTo(N)\"` — 0-indexed, so slide 1 is `goTo(0)`.\n- `slides[N].selector`: `\"deck-stage > [data-deck-active]\"`.\n- `hideSelectors` is unnecessary — the overlay and tap-zones live in shadow DOM and aren't captured.\n\n### Speaker notes\n\nRead automatically from `\u003Cscript type=\"application\u002Fjson\" id=\"speaker-notes\">` and attached by index. You don't pass them.\n\n### Validation flags\n\nThe result lists flags. **These are warnings, not errors** — read each message and decide if it's expected for THIS deck:\n\n- `duplicate_adjacent` \u002F `duplicate_majority` — slides captured identically. Almost always means `showJs` didn't navigate. Check the function name, try a longer `delay`, or check if the deck uses 0-indexed vs 1-indexed slides.\n- `slide_size_mismatch` — captured rect doesn't match width\u002Fheight. The selector is probably matching a wrapper, or you need a `resetTransformSelector`.\n- `notes_uniform_nonempty` — every speaker note is the same string. Likely a placeholder. Fine if intentional.\n- `notes_count_mismatch` — #speaker-notes length ≠ slides length. Notes attach by index so the tail will be wrong.\n- `no_speaker_notes` — deck has no #speaker-notes tag. Expected if there are no notes.\n- `fonts_timeout` — fonts.ready took >8s. Font URLs may be unreachable.\n- `font_swap_failed` — one or more `fontSwaps` targets never loaded (misspelled family, or Google Fonts doesn't serve it), so the deck was laid out with a fallback while the file names the swap font. Retry with a corrected or different family, or fall back to web-safe fonts. Whatever you do next, tell the user plainly which fonts couldn't be applied — e.g. \"Heads up: Poppins couldn't be loaded during export, so the deck uses a stand-in font and text may wrap differently. Want me to try a different font?\"\n- `images_failed` — images didn't decode before capture. Usually a 404 or CORS.\n- `reset_selector_miss` — your `resetTransformSelector` matched nothing.\n\nIf the flags look like real problems, fix the inputs and retry. If they're expected (deck genuinely has no notes, two slides really are identical), tell the user the download fired and move on.\n\n**Talking to the user about flags:** these names and messages are internal diagnostics — do NOT relay them verbatim. If everything is expected, don't mention validation at all; just confirm the download. If something looks genuinely wrong, describe it in plain language without the flag identifier or technical specifics — e.g. \"Uh oh, the speaker notes may not be exporting properly.\" rather than \"I received the no_speaker_notes flag\", or \"A couple of slides may have captured identically — let me fix navigation and retry.\" rather than quoting `duplicate_adjacent`.\n\nThe page reloads automatically after capture — DOM mutations (hidden chrome, font swaps) are reverted.\n\n### Font strategy\n\nRead the directive at the end of this prompt and translate it to inputs:\n\n| Directive | Inputs |\n|---|---|\n| brand fonts as-is | omit `googleFontImports` and `fontSwaps` |\n| web-safe substitutes | `fontSwaps: [{from:\"EachCustomFont\", to:\"Arial\"}]` (or Georgia for serifs, Courier New for monospace) |\n| Google Fonts substitutes | `googleFontImports: [\"Poppins\",\"Lora\"]` + `fontSwaps: [{from:\"EachCustomFont\", to:\"Poppins\"}]` |\n\nSystem fonts (Arial, Helvetica, Georgia, Times, Courier, sans-serif, etc.) — leave alone.\n","# Export as PPTX (editable)\n\nExport an HTML slide deck to a `.pptx` with native PowerPoint objects (editable text, shapes, images). One `gen_pptx` tool call does everything: capture, font handling, generation, download.\n\n### What you do\n\n1. **Know the deck.** You probably wrote it. If not, `read_file` the HTML to find: the slide selector, how to navigate (function name? class toggle?), what fonts it uses, whether there's a scaling wrapper.\n2. **`show_to_user`** the deck so it's in the user's preview.\n3. **Call `gen_pptx`** with the inputs below.\n4. **Read the validation flags** in the result and decide if you need to retry.\n\n### gen_pptx inputs\n\n```jsonc\n{\n  \"width\": 1920, \"height\": 1080,   \u002F\u002F CSS px — match the deck's slide size\n  \"slides\": [                      \u002F\u002F one entry per slide, in order\n    { \"showJs\": \"goToSlide(0)\", \"selector\": \".slide.active\" },\n    { \"showJs\": \"goToSlide(1)\", \"selector\": \".slide.active\" }\n    \u002F\u002F For decks where all slides are in DOM at once and you don't need to navigate:\n    \u002F\u002F   { \"selector\": \".slide:nth-child(1)\" }, { \"selector\": \".slide:nth-child(2)\" }\n  ],\n  \"hideSelectors\": [\".nav\", \".progress\", \"[data-omelette-chrome]\", \"[data-noncommentable]\"],\n  \u002F\u002F If the deck wraps slides in a transform:scale() container, name it here.\n  \u002F\u002F gen_pptx clears the transform AND forces width\u002Fheight onto this element.\n  \"resetTransformSelector\": \".slide-container\",\n  \u002F\u002F Font handling — pick ONE strategy based on the directive at the bottom.\n  \u002F\u002F Substitution happens BEFORE capture so layout reflows correctly.\n  \"googleFontImports\": [\"Poppins\", \"Lora\"],\n  \"fontSwaps\": [{ \"from\": \"BrandSans\", \"to\": \"Poppins\" }],\n  \u002F\u002F Or fontSwaps: [{from:\"BrandSans\", to:\"Arial\"}] for web-safe.\n  \u002F\u002F Or omit both to keep brand fonts as-is.\n  \"filename\": \"my-deck\"\n}\n```\n\nIf — and only if — the user asked for Google Slides, also pass `\"offer_google_slides\": true`: the export dialog gains a 'Send to Google Slides' button, and the upload happens only if they click it.\n\n`slides[].showJs` runs inside the iframe as a sync expression — don't `await`. If your deck's nav function is async, call it without await; the per-slide `delay` (default 600ms) covers the transition. Bump `delay` for decks with longer CSS transitions.\n\n#### If the deck uses the `\u003Cdeck-stage>` starter component\n\n- `resetTransformSelector: \"deck-stage\"` — the exporter sets the `noscale` attribute on it, which the component observes and responds to by dropping its shadow-DOM `transform: scale()`. You cannot reach the scaled canvas any other way.\n- `slides[N].showJs`: `\"document.querySelector('deck-stage').goTo(N)\"` — 0-indexed, so slide 1 is `goTo(0)`.\n- `slides[N].selector`: `\"deck-stage > [data-deck-active]\"`.\n- `hideSelectors` is unnecessary — the overlay and tap-zones live in shadow DOM and aren't captured.\n\n### Speaker notes\n\nRead automatically from `\u003Cscript type=\"application\u002Fjson\" id=\"speaker-notes\">` and attached by index. You don't pass them.\n\n### Validation flags\n\nThe result lists flags. **These are warnings, not errors** — read each message and decide if it's expected for THIS deck:\n\n- `duplicate_adjacent` \u002F `duplicate_majority` — slides captured identically. Almost always means `showJs` didn't navigate. Check the function name, try a longer `delay`, or check if the deck uses 0-indexed vs 1-indexed slides.\n- `slide_size_mismatch` — captured rect doesn't match width\u002Fheight. The selector is probably matching a wrapper, or you need a `resetTransformSelector`.\n- `notes_uniform_nonempty` — every speaker note is the same string. Likely a placeholder. Fine if intentional.\n- `notes_count_mismatch` — #speaker-notes length ≠ slides length. Notes attach by index so the tail will be wrong.\n- `no_speaker_notes` — deck has no #speaker-notes tag. Expected if there are no notes.\n- `fonts_timeout` — fonts.ready took >8s. Font URLs may be unreachable.\n- `font_swap_failed` — one or more `fontSwaps` targets never loaded (misspelled family, or Google Fonts doesn't serve it), so the deck was laid out with a fallback while the file names the swap font. Retry with a corrected or different family, or fall back to web-safe fonts. Whatever you do next, tell the user plainly which fonts couldn't be applied — e.g. \"Heads up: Poppins couldn't be loaded during export, so the deck uses a stand-in font and text may wrap differently. Want me to try a different font?\"\n- `images_failed` — images didn't decode before capture. Usually a 404 or CORS.\n- `reset_selector_miss` — your `resetTransformSelector` matched nothing.\n\nIf the flags look like real problems, fix the inputs and retry. If they're expected (deck genuinely has no notes, two slides really are identical), tell the user the download fired and move on.\n\n**Talking to the user about flags:** these names and messages are internal diagnostics — do NOT relay them verbatim. If everything is expected, don't mention validation at all; just confirm the download. If something looks genuinely wrong, describe it in plain language without the flag identifier or technical specifics — e.g. \"Uh oh, the speaker notes may not be exporting properly.\" rather than \"I received the no_speaker_notes flag\", or \"A couple of slides may have captured identically — let me fix navigation and retry.\" rather than quoting `duplicate_adjacent`.\n\nThe page reloads automatically after capture — DOM mutations (hidden chrome, font swaps) are reverted.\n\n### Font strategy\n\nRead the directive at the end of this prompt and translate it to inputs:\n\n| Directive | Inputs |\n|---|---|\n| brand fonts as-is | omit `googleFontImports` and `fontSwaps` |\n| web-safe substitutes | `fontSwaps: [{from:\"EachCustomFont\", to:\"Arial\"}]` (or Georgia for serifs, Courier New for monospace) |\n| Google Fonts substitutes | `googleFontImports: [\"Poppins\",\"Lora\"]` + `fontSwaps: [{from:\"EachCustomFont\", to:\"Poppins\"}]` |\n\nSystem fonts (Arial, Helvetica, Georgia, Times, Courier, sans-serif, etc.) — leave alone.\n",{"name":5,"description":7,"user-invocable":24},true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","02-厂商系统提示词\u002Fsystem_prompts_leaks\u002FAnthropic\u002Fclaude-design\u002Fskills\u002Fexport-as-pptx-editable",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill export-as-pptx-editable",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill export-as-pptx-editable",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill export-as-pptx-editable","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F02-厂商系统提示词\u002Fsystem_prompts_leaks\u002FAnthropic\u002Fclaude-design\u002Fskills\u002Fexport-as-pptx-editable\u002FSKILL.md",[],[47,55,60,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":54},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":56,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":54},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":54},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":54},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":54},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":54},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]