[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73GRE9998Q1DZWC71N41JWG":3,"skill-same:01M73GRE9998Q1DZWC71N41JWG":83},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M73GRE9998Q1DZWC71N41JWG","onepage-pdf",null,"Convert an HTML page into a single continuous-page PDF (one tall page, no pagination breaks), preserving desktop layout, backgrounds and selectable text. Use when the user asks to turn an HTML file\u002Freport\u002Fproposal into a \"single-page PDF\", \"long PDF\", \"不分页 PDF\", \"单页 PDF\", \"长图式 PDF\", or complains that an HTML-to-PDF export breaks into pages or cuts content. Supports optional string redaction with leak verification.","shengdabai\u002FTony-Claude-Code-Skills","shengdabai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F116417419?v=4","01M70F6D2WY5PQV5A92BKYJQEW","Tony Sheng","01M70F6D3GAAAYZ5H4CC1G8VXM",3,"MIT","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: onepage-pdf\ndescription: Convert an HTML page into a single continuous-page PDF (one tall page, no pagination breaks), preserving desktop layout, backgrounds and selectable text. Use when the user asks to turn an HTML file\u002Freport\u002Fproposal into a \"single-page PDF\", \"long PDF\", \"不分页 PDF\", \"单页 PDF\", \"长图式 PDF\", or complains that an HTML-to-PDF export breaks into pages or cuts content. Supports optional string redaction with leak verification.\n---\n\n# onepage-pdf\n\nRender HTML to one tall PDF page via headless Chrome, then crop the page to the\nreal content height with PyMuPDF. Height is never predicted (print layout is\nnot screen layout); it is measured after rendering, which is exact.\n\nRequires: Python with `pymupdf`, plus a local Chrome or Edge.\n\n## Workflow\n\n### 1. Inspect the source HTML first\n\nRead the HTML and check four things; they decide whether `--extra-css` is needed:\n\n1. **Responsive breakpoints.** Print media queries evaluate against the default\n   paper width (~741px), NOT the `@page` size. Any `@media (max-width: N)` with\n   N ≥ 741 will fire during print and collapse the desktop layout. For each such\n   rule, write an override locking the desktop value with `!important`\n   (e.g. `.grid{grid-template-columns:repeat(3,1fr)!important}`).\n2. **Glassmorphism.** `backdrop-filter` blur is silently dropped in PDF output.\n   If glass elements sit on busy backgrounds, add a print fallback:\n   `.glass{backdrop-filter:none!important;background:rgba(255,255,255,.88)!important}`.\n3. **Scroll-reveal animations.** Common class patterns (`fade*`, `reveal*`,\n   `animate*`, `aos`) are forced visible automatically. Anything else that\n   starts at `opacity:0` needs an explicit `opacity:1!important` override.\n4. **vh\u002Fvw sizing.** Viewport units resolve against the page area in print and\n   drift ~1%; a `min-height:100vh` hero becomes ~187in tall on the bedrock\n   page. Override such rules with fixed px values.\n\nPut all overrides in one CSS file and pass it via `--extra-css`.\n\n### 2. Convert\n\n```bash\npython scripts\u002Fonepage_pdf.py input.html -o output.pdf --width 1280 \\\n    [--extra-css fixes.css] [--replace subs.json --forbid words.txt]\n```\n\n- `--width`: match the design width of the page (snapped to 8px; non-8px\n  page sizes hit MediaBox rounding bugs that spawn phantom pages).\n- `--replace`: JSON `[[\"old\",\"new\"], ...]`, applied in order — put longer \u002F\n  more specific strings first. Use for redaction before publishing.\n- `--forbid`: one word per line; the script aborts if any survives in the\n  HTML or in the final PDF text layer. Always pair with `--replace`.\n- `--crop pixel`: switch to raster row-scanning if the vector crop misjudges\n  (e.g. a decorative element painted taller than the real content).\n\nThe script self-handles: oversized-bedrock rendering with auto-retry on\noverflow, content cropping (MediaBox + CropBox rewritten identically for\nviewer compatibility), CJK-safe output paths, single-page assertion.\n\n### 3. Verify\n\nThe script prints `OK 1 page, WxHpt`. Then:\n\n1. Render a thumbnail and eyeball it (layout intact, no collapsed grids,\n   backgrounds present, nothing cut at the bottom):\n   ```python\n   import pymupdf\n   doc = pymupdf.open(\"output.pdf\")\n   doc[0].get_pixmap(dpi=40).save(\"check.png\")\n   ```\n2. If redaction was used, the forbid check already ran against the PDF text;\n   still spot-check the rendered image for sensitive content in raster form.\n3. Heed the script warnings: heights above 14400pt break Acrobat (Chrome,\n   Firefox and WeChat preview are fine); \"content nearly fills the bedrock\"\n   means inspect the tail for truncation.\n\n## Troubleshooting and mechanics\n\nRead [references\u002Fmechanics.md](references\u002Fmechanics.md) when output looks wrong\n(collapsed layout, missing backgrounds, blank page, phantom second page, blurry\nor missing CJK glyphs) — it documents the Chrome print-rendering rules this\ntool is built around, plus the CDP-based alternative route.\n","# onepage-pdf\n\nRender HTML to one tall PDF page via headless Chrome, then crop the page to the\nreal content height with PyMuPDF. Height is never predicted (print layout is\nnot screen layout); it is measured after rendering, which is exact.\n\nRequires: Python with `pymupdf`, plus a local Chrome or Edge.\n\n## Workflow\n\n### 1. Inspect the source HTML first\n\nRead the HTML and check four things; they decide whether `--extra-css` is needed:\n\n1. **Responsive breakpoints.** Print media queries evaluate against the default\n   paper width (~741px), NOT the `@page` size. Any `@media (max-width: N)` with\n   N ≥ 741 will fire during print and collapse the desktop layout. For each such\n   rule, write an override locking the desktop value with `!important`\n   (e.g. `.grid{grid-template-columns:repeat(3,1fr)!important}`).\n2. **Glassmorphism.** `backdrop-filter` blur is silently dropped in PDF output.\n   If glass elements sit on busy backgrounds, add a print fallback:\n   `.glass{backdrop-filter:none!important;background:rgba(255,255,255,.88)!important}`.\n3. **Scroll-reveal animations.** Common class patterns (`fade*`, `reveal*`,\n   `animate*`, `aos`) are forced visible automatically. Anything else that\n   starts at `opacity:0` needs an explicit `opacity:1!important` override.\n4. **vh\u002Fvw sizing.** Viewport units resolve against the page area in print and\n   drift ~1%; a `min-height:100vh` hero becomes ~187in tall on the bedrock\n   page. Override such rules with fixed px values.\n\nPut all overrides in one CSS file and pass it via `--extra-css`.\n\n### 2. Convert\n\n```bash\npython scripts\u002Fonepage_pdf.py input.html -o output.pdf --width 1280 \\\n    [--extra-css fixes.css] [--replace subs.json --forbid words.txt]\n```\n\n- `--width`: match the design width of the page (snapped to 8px; non-8px\n  page sizes hit MediaBox rounding bugs that spawn phantom pages).\n- `--replace`: JSON `[[\"old\",\"new\"], ...]`, applied in order — put longer \u002F\n  more specific strings first. Use for redaction before publishing.\n- `--forbid`: one word per line; the script aborts if any survives in the\n  HTML or in the final PDF text layer. Always pair with `--replace`.\n- `--crop pixel`: switch to raster row-scanning if the vector crop misjudges\n  (e.g. a decorative element painted taller than the real content).\n\nThe script self-handles: oversized-bedrock rendering with auto-retry on\noverflow, content cropping (MediaBox + CropBox rewritten identically for\nviewer compatibility), CJK-safe output paths, single-page assertion.\n\n### 3. Verify\n\nThe script prints `OK 1 page, WxHpt`. Then:\n\n1. Render a thumbnail and eyeball it (layout intact, no collapsed grids,\n   backgrounds present, nothing cut at the bottom):\n   ```python\n   import pymupdf\n   doc = pymupdf.open(\"output.pdf\")\n   doc[0].get_pixmap(dpi=40).save(\"check.png\")\n   ```\n2. If redaction was used, the forbid check already ran against the PDF text;\n   still spot-check the rendered image for sensitive content in raster form.\n3. Heed the script warnings: heights above 14400pt break Acrobat (Chrome,\n   Firefox and WeChat preview are fine); \"content nearly fills the bedrock\"\n   means inspect the tail for truncation.\n\n## Troubleshooting and mechanics\n\nRead [references\u002Fmechanics.md](references\u002Fmechanics.md) when output looks wrong\n(collapsed layout, missing backgrounds, blank page, phantom second page, blurry\nor missing CJK glyphs) — it documents the Chrome print-rendering rules this\ntool is built around, plus the CDP-based alternative route.\n",{"name":5,"description":7},"main","7850740bd837adb32f0a109ab2af82482196c6f2","skills\u002Fonepage-pdf",1,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills","https:\u002F\u002Fzturnsgo.com","https:\u002F\u002Fgithub.com\u002Fshengdabai","https:\u002F\u002Fzturnsgo.com\u002F","AI × education creator — producer, not consumer. Taught 6,000+ learners; shipping learning tools & daily essays with Claude Code, practicing @xiaolai's way 🥋","2026-11-01 21:28:23",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add shengdabai\u002FTony-Claude-Code-Skills --skill onepage-pdf",{"tool":41,"command":42},"bunx","bunx skills add shengdabai\u002FTony-Claude-Code-Skills --skill onepage-pdf",{"tool":44,"command":45},"pnpm","pnpm dlx skills add shengdabai\u002FTony-Claude-Code-Skills --skill onepage-pdf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FSKILL.md",true,[49,55,59,65,69,73,77],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".gitignore","OTHER","其他",27,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002F.gitignore",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"examples\u002Fdemo-fixes.css",361,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002Fexamples\u002Fdemo-fixes.css",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"examples\u002Fdemo.html","REFERENCE","参考文档",5255,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002Fexamples\u002Fdemo.html",{"path":66,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":16},"LICENSE","许可证",1065,{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"README.md",3618,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FREADME.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fmechanics.md",7122,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002Freferences\u002Fmechanics.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fonepage_pdf.py","SCRIPT","脚本",11088,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002Fscripts\u002Fonepage_pdf.py",[84,92,100,108,116,123],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M73H7XKBHE1ETQDZT94MF9HH","seedance-prompt-en","Write effective prompts for Jimeng Seedance 2.0 multimodal AI video generation. Use when users want to create video prompts using text, images, videos, and audio inputs with the @ reference system. Covers camera movements, effects replication, video extension, editing, music beat-matching, e-commerce ads, short dramas, and educational content.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M73GQG1KZDADVPV3MHAT1J5A","native-feel-cross-platform-desktop","Use when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a native app to its users — fast launch, native windowing, native input handling, native materials. Trigger words include \"cross-platform desktop\", \"Electron alternative\", \"Tauri vs native\", \"WebView wrapper\", \"near-native performance\", \"Raycast architecture\", \"WebKit\u002FWebView2 quirks\", \"WKWebView\", \"system tray app\", \"global hotkey app\", \"launcher app\". Do NOT trigger this skill for pure web apps, pure mobile apps, or for greenfield projects that have no native-feel requirement.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M73G87PDNSMKG2FHWCYER6N8","gstack","Router for the gstack skill suite. (gstack)","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M73G3EAQWKCM8DB8D0N0QSVG","fireworks-tech-graph","Use when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent\u002Fmemory, or concept map - and export as SVG+PNG. Trigger on: \"画图\" \"帮我画\" \"生成图\" \"做个图\" \"架构图\" \"流程图\" \"可视化一下\" \"出图\" \"generate diagram\" \"draw diagram\" \"visualize\" or any system\u002Fflow description the user wants illustrated.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M73G086AXAH9DW1H5G5N3CPB","dbs-video-extract","接收抖音、小红书、微信视频号等短视频链接或分享文案，查询作品／账号数据并提取语音文字稿，按作者和标题归档为 Markdown。用户希望完整解析短视频、取得数据或文字稿时使用；运行前检查 TikHub 与轻抖使用凭证，缺少时用新手能理解的方式引导购买和安全配置。","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdbs-video-extract\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":20},"01M73G01AQTCKTMDPJP9CQ6MXA","dbs-spread","用传播学与社会心理学中匹配当前内容的理论，解码共鸣机制、受众情绪、有效立场和传播动机。用户要求分析内容为什么能引起共鸣、打中什么情绪或受众还想听什么时使用。","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdbs-spread\u002FSKILL.md",[],[]]