[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBDF186Q7SD10AJVHE23QV":3,"skill-same:01M7EBDF186Q7SD10AJVHE23QV":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},"01M7EBDF186Q7SD10AJVHE23QV","save-as-standalone-html",null,"Single self-contained file that works offline","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\u002Fsave-as-standalone-html\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: save-as-standalone-html\ndescription: \"Single self-contained file that works offline\"\nuser-invocable: true\n---\n\n# Save as standalone HTML\n\nExport the current design as a single self-contained HTML file that works completely offline — no external dependencies.\n\n### How it works\n\nThere is a deterministic bundler (super_inline_html tool) that can inline resources referenced directly in HTML attributes — img src\u002Fsrcset, source src\u002Fsrcset, video\u002Faudio\u002Ftrack src, video poster, SVG `\u003Cimage href>`\u002F`\u003Cuse href>`, link href (stylesheets, favicons), script src, CSS url() and @import, inline style attributes. However, it CANNOT discover resources that are only referenced as strings in JavaScript or JSX code — for example:\n- An image src set in React: `\u003Cimg src={\".\u002Fhero.png\"} \u002F>`\n- A background URL in a styled-component: `background: url('.\u002Fpattern.svg')`\n- A dynamically imported script\n\nYour job is to prepare the HTML file so the bundler can capture everything, then run it.\n\n### Step 1: Make a copy of the HTML file and update code-referenced resources\n\nCopy the current HTML file. Read it. Copy its dependencies. Look through ALL the code (inline scripts, imported JSX files, styled-components, etc) for any resource URL that is referenced as a string in code rather than as an HTML attribute. This includes:\n- Image URLs in React\u002FJSX (`\u003Cimg src={...} \u002F>`, `style={{ backgroundImage: ... }}`)\n- URLs in CSS-in-JS (styled-components, inline styles set via JS)\n- Script tags that import other scripts which themselves reference resources\n- Any fetch() or XMLHttpRequest calls that load assets\n- Audio\u002Fvideo sources set programmatically\n\nNote: if you use the Anthropic API in the project, it will not work standalone. If this is core to the project, STOP and tell the user!\n\n### Step 2: Add ext-resource-dependency meta tags\n\nFor EACH resource found in step 1, add a `\u003Cmeta>` tag in the `\u003Chead>`:\n\n```html\n\u003Cmeta name=\"ext-resource-dependency\" content=\"\u003Curl>\" data-resource-id=\"\u003Cid>\" \u002F>\n```\n\nWhere:\n- `content` is the URL of the resource (relative to the HTML file, or absolute)\n- `data-resource-id` is a short, unique identifier (e.g. \"heroImage\", \"patternSvg\")\n\nThen update the code to reference `window.__resources[id]` instead of the hardcoded URL. At runtime in the bundled file, `window.__resources[id]` will contain a blob URL pointing to the inlined resource data.\n\nExample:\n```html\n\u003C!-- In \u003Chead>: -->\n\u003Cmeta name=\"ext-resource-dependency\" content=\".\u002Fhero.png\" data-resource-id=\"heroImg\" \u002F>\n\u003Cmeta name=\"ext-resource-dependency\" content=\".\u002Fpattern.svg\" data-resource-id=\"patternBg\" \u002F>\n\n\u003C!-- In code, replace: -->\n\u003C!-- \u003Cimg src={\".\u002Fhero.png\"} \u002F> -->\n\u003C!-- with: -->\n\u003C!-- \u003Cimg src={window.__resources.heroImg} \u002F> -->\n```\n\nIMPORTANT:\n- The relative paths in `content` are relative to the HTML page itself\n- You must also do this for any external script tags that are imported and themselves reference resources — those scripts will be inlined by the bundler, but their resource references need to be lifted too\n- Be thorough! Missing even one resource means a broken image or missing asset in the final file\n\n### Step 3: Create a thumbnail (REQUIRED — the bundler will reject the file without it)\n\nCreate a lightweight SVG thumbnail that acts as a splash screen while the bundled file unpacks. This SVG should be a simplified, representative preview of the design — e.g. the key shapes, layout silhouette, or a branded loading visual. It doesn't need to be pixel-perfect, just visually representative so the user sees something meaningful instantly. It will be displayed TINY so a simple glyph on a vibrant color BG is enough.\n\nAdd it as a `\u003Ctemplate>` tag in the source HTML:\n\n```html\n\u003Ctemplate id=\"__bundler_thumbnail\" data-bg-color=\"#0a5e3e\">\n  \u003Csvg viewBox=\"0 0 1200 800\" xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\">\n    \u003C!-- Simplified icon -->\n  \u003C\u002Fsvg>\n\u003C\u002Ftemplate>\n```\n\n- Set `data-bg-color` to match the page's background color\n- The SVG should use `viewBox` for proper aspect-fit scaling\n- Keep it simple — this is just a loading placeholder, not a full reproduction\n- Use the design's actual colors so the transition feels seamless\n\nThe bundler will extract this and display it fullscreen (aspect-fit with the background color) while unpacking assets, then replace it with the real page. It also remains visible as the permanent fallback when JavaScript is disabled.\n\n### Step 4: Run the bundler\n\nIf you made changes in steps 1-3, save the modified HTML file first. Then (or if no changes were needed) call:\n\n```\nsuper_inline_html({ input_path: \"\u003Cpath-to-html>\", output_path: \"My Deck.html\" })\n```\n\nGive the output file a friendly human name.\n\n### Step 5: Verify (internal check only)\n\n**Read the tool result first** — if any asset couldn't be resolved, super_inline_html lists it directly in its output (\"N asset(s) could not be bundled: - asset not found: .\u002Ffoo.png\"). That's the authoritative miss list; fix those references and re-run before opening anything.\n\nThen open the bundled output with show_html TO CHECK IT WORKS — this is a private verification step for YOU, not the delivery mechanism. Check get_webview_logs for runtime errors (JS exceptions, failed decodes). If there are issues, fix the source file and re-run.\n\n### Step 6: Present for download — MANDATORY\n\nYou MUST deliver the final file using **present_fs_item_for_download** pointing directly at the inlined HTML output. This is the ONLY correct way to hand off a standalone export.\n\n- Do NOT use show_html \u002F show_to_user as the delivery step — those are preview tools, not download tools. The user cannot save the file from them.\n- Do NOT ask whether they want to download it — just call present_fs_item_for_download.\n- If you skip this step, the user has no way to get the file. This step is non-negotiable.\n","# Save as standalone HTML\n\nExport the current design as a single self-contained HTML file that works completely offline — no external dependencies.\n\n### How it works\n\nThere is a deterministic bundler (super_inline_html tool) that can inline resources referenced directly in HTML attributes — img src\u002Fsrcset, source src\u002Fsrcset, video\u002Faudio\u002Ftrack src, video poster, SVG `\u003Cimage href>`\u002F`\u003Cuse href>`, link href (stylesheets, favicons), script src, CSS url() and @import, inline style attributes. However, it CANNOT discover resources that are only referenced as strings in JavaScript or JSX code — for example:\n- An image src set in React: `\u003Cimg src={\".\u002Fhero.png\"} \u002F>`\n- A background URL in a styled-component: `background: url('.\u002Fpattern.svg')`\n- A dynamically imported script\n\nYour job is to prepare the HTML file so the bundler can capture everything, then run it.\n\n### Step 1: Make a copy of the HTML file and update code-referenced resources\n\nCopy the current HTML file. Read it. Copy its dependencies. Look through ALL the code (inline scripts, imported JSX files, styled-components, etc) for any resource URL that is referenced as a string in code rather than as an HTML attribute. This includes:\n- Image URLs in React\u002FJSX (`\u003Cimg src={...} \u002F>`, `style={{ backgroundImage: ... }}`)\n- URLs in CSS-in-JS (styled-components, inline styles set via JS)\n- Script tags that import other scripts which themselves reference resources\n- Any fetch() or XMLHttpRequest calls that load assets\n- Audio\u002Fvideo sources set programmatically\n\nNote: if you use the Anthropic API in the project, it will not work standalone. If this is core to the project, STOP and tell the user!\n\n### Step 2: Add ext-resource-dependency meta tags\n\nFor EACH resource found in step 1, add a `\u003Cmeta>` tag in the `\u003Chead>`:\n\n```html\n\u003Cmeta name=\"ext-resource-dependency\" content=\"\u003Curl>\" data-resource-id=\"\u003Cid>\" \u002F>\n```\n\nWhere:\n- `content` is the URL of the resource (relative to the HTML file, or absolute)\n- `data-resource-id` is a short, unique identifier (e.g. \"heroImage\", \"patternSvg\")\n\nThen update the code to reference `window.__resources[id]` instead of the hardcoded URL. At runtime in the bundled file, `window.__resources[id]` will contain a blob URL pointing to the inlined resource data.\n\nExample:\n```html\n\u003C!-- In \u003Chead>: -->\n\u003Cmeta name=\"ext-resource-dependency\" content=\".\u002Fhero.png\" data-resource-id=\"heroImg\" \u002F>\n\u003Cmeta name=\"ext-resource-dependency\" content=\".\u002Fpattern.svg\" data-resource-id=\"patternBg\" \u002F>\n\n\u003C!-- In code, replace: -->\n\u003C!-- \u003Cimg src={\".\u002Fhero.png\"} \u002F> -->\n\u003C!-- with: -->\n\u003C!-- \u003Cimg src={window.__resources.heroImg} \u002F> -->\n```\n\nIMPORTANT:\n- The relative paths in `content` are relative to the HTML page itself\n- You must also do this for any external script tags that are imported and themselves reference resources — those scripts will be inlined by the bundler, but their resource references need to be lifted too\n- Be thorough! Missing even one resource means a broken image or missing asset in the final file\n\n### Step 3: Create a thumbnail (REQUIRED — the bundler will reject the file without it)\n\nCreate a lightweight SVG thumbnail that acts as a splash screen while the bundled file unpacks. This SVG should be a simplified, representative preview of the design — e.g. the key shapes, layout silhouette, or a branded loading visual. It doesn't need to be pixel-perfect, just visually representative so the user sees something meaningful instantly. It will be displayed TINY so a simple glyph on a vibrant color BG is enough.\n\nAdd it as a `\u003Ctemplate>` tag in the source HTML:\n\n```html\n\u003Ctemplate id=\"__bundler_thumbnail\" data-bg-color=\"#0a5e3e\">\n  \u003Csvg viewBox=\"0 0 1200 800\" xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\">\n    \u003C!-- Simplified icon -->\n  \u003C\u002Fsvg>\n\u003C\u002Ftemplate>\n```\n\n- Set `data-bg-color` to match the page's background color\n- The SVG should use `viewBox` for proper aspect-fit scaling\n- Keep it simple — this is just a loading placeholder, not a full reproduction\n- Use the design's actual colors so the transition feels seamless\n\nThe bundler will extract this and display it fullscreen (aspect-fit with the background color) while unpacking assets, then replace it with the real page. It also remains visible as the permanent fallback when JavaScript is disabled.\n\n### Step 4: Run the bundler\n\nIf you made changes in steps 1-3, save the modified HTML file first. Then (or if no changes were needed) call:\n\n```\nsuper_inline_html({ input_path: \"\u003Cpath-to-html>\", output_path: \"My Deck.html\" })\n```\n\nGive the output file a friendly human name.\n\n### Step 5: Verify (internal check only)\n\n**Read the tool result first** — if any asset couldn't be resolved, super_inline_html lists it directly in its output (\"N asset(s) could not be bundled: - asset not found: .\u002Ffoo.png\"). That's the authoritative miss list; fix those references and re-run before opening anything.\n\nThen open the bundled output with show_html TO CHECK IT WORKS — this is a private verification step for YOU, not the delivery mechanism. Check get_webview_logs for runtime errors (JS exceptions, failed decodes). If there are issues, fix the source file and re-run.\n\n### Step 6: Present for download — MANDATORY\n\nYou MUST deliver the final file using **present_fs_item_for_download** pointing directly at the inlined HTML output. This is the ONLY correct way to hand off a standalone export.\n\n- Do NOT use show_html \u002F show_to_user as the delivery step — those are preview tools, not download tools. The user cannot save the file from them.\n- Do NOT ask whether they want to download it — just call present_fs_item_for_download.\n- If you skip this step, the user has no way to get the file. This step is non-negotiable.\n",{"name":5,"description":7,"user-invocable":24},true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","02-厂商系统提示词\u002Fsystem_prompts_leaks\u002FAnthropic\u002Fclaude-design\u002Fskills\u002Fsave-as-standalone-html",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 save-as-standalone-html",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill save-as-standalone-html",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill save-as-standalone-html","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F02-厂商系统提示词\u002Fsystem_prompts_leaks\u002FAnthropic\u002Fclaude-design\u002Fskills\u002Fsave-as-standalone-html\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",[],[]]