[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBQC7VXPNZG6DXWWSW51A5":3,"skill-same:01M7FBQC7VXPNZG6DXWWSW51A5":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7FBQC7VXPNZG6DXWWSW51A5","react-email",null,"React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email\u002Fcomponents and @react-email\u002Frender. Use when working with @json-render\u002Freact-email, building transactional or marketing emails from JSON, creating email catalogs, rendering AI-generated email specs, or when the user mentions react-email, HTML email, or transactional email.","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\u002F06-前端与设计\u002Freact-email\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: react-email\ndescription: React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email\u002Fcomponents and @react-email\u002Frender. Use when working with @json-render\u002Freact-email, building transactional or marketing emails from JSON, creating email catalogs, rendering AI-generated email specs, or when the user mentions react-email, HTML email, or transactional email.\nmetadata:\n  tags: react-email, email, json-render, html email, transactional email\n---\n\n# @json-render\u002Freact-email\n\nReact Email renderer that converts JSON specs into HTML or plain-text email output.\n\n## Quick Start\n\n```typescript\nimport { renderToHtml } from \"@json-render\u002Freact-email\";\nimport { schema, standardComponentDefinitions } from \"@json-render\u002Freact-email\";\nimport { defineCatalog } from \"@json-render\u002Fcore\";\n\nconst catalog = defineCatalog(schema, {\n  components: standardComponentDefinitions,\n});\n\nconst spec = {\n  root: \"html-1\",\n  elements: {\n    \"html-1\": { type: \"Html\", props: { lang: \"en\", dir: \"ltr\" }, children: [\"head-1\", \"body-1\"] },\n    \"head-1\": { type: \"Head\", props: {}, children: [] },\n    \"body-1\": {\n      type: \"Body\",\n      props: { style: { backgroundColor: \"#f6f9fc\" } },\n      children: [\"container-1\"],\n    },\n    \"container-1\": {\n      type: \"Container\",\n      props: { style: { maxWidth: \"600px\", margin: \"0 auto\", padding: \"20px\" } },\n      children: [\"heading-1\", \"text-1\"],\n    },\n    \"heading-1\": { type: \"Heading\", props: { text: \"Welcome\" }, children: [] },\n    \"text-1\": { type: \"Text\", props: { text: \"Thanks for signing up.\" }, children: [] },\n  },\n};\n\nconst html = await renderToHtml(spec);\n```\n\n## Spec Structure (Element Tree)\n\nSame flat element tree as `@json-render\u002Freact`: `root` key plus `elements` map. Root must be `Html`; children of `Html` should be `Head` and `Body`. Use `Container` (e.g. max-width 600px) inside `Body` for client-safe layout.\n\n## Creating a Catalog and Registry\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema, defineRegistry, renderToHtml } from \"@json-render\u002Freact-email\";\nimport { standardComponentDefinitions } from \"@json-render\u002Freact-email\u002Fcatalog\";\nimport { Container, Heading, Text } from \"@react-email\u002Fcomponents\";\nimport { z } from \"zod\";\n\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    Alert: {\n      props: z.object({\n        message: z.string(),\n        variant: z.enum([\"info\", \"success\", \"warning\"]).nullable(),\n      }),\n      slots: [],\n      description: \"A highlighted message block\",\n    },\n  },\n  actions: {},\n});\n\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    Alert: ({ props }) => (\n      \u003CContainer style={{ padding: 16, backgroundColor: \"#eff6ff\", borderRadius: 8 }}>\n        \u003CText style={{ margin: 0 }}>{props.message}\u003C\u002FText>\n      \u003C\u002FContainer>\n    ),\n  },\n});\n\nconst html = await renderToHtml(spec, { registry });\n```\n\n## Server-Side Render APIs\n\n| Function | Purpose |\n|----------|---------|\n| `renderToHtml(spec, options?)` | Render spec to HTML email string |\n| `renderToPlainText(spec, options?)` | Render spec to plain-text email string |\n\n`RenderOptions`: `registry`, `includeStandard` (default true), `state` (for `$state` \u002F `$cond`).\n\n## Visibility and State\n\nSupports `visible` conditions, `$state`, `$cond`, repeat (`repeat.statePath`), nested repeat paths with `{ \"$item\": \"field\" }`, and the same expression syntax as `@json-render\u002Freact`. Use `state` in `RenderOptions` when rendering server-side so expressions resolve.\n\n## Server-Safe Import\n\nImport schema and catalog without React or `@react-email\u002Fcomponents`:\n\n```typescript\nimport { schema, standardComponentDefinitions } from \"@json-render\u002Freact-email\u002Fserver\";\n```\n\n## Key Exports\n\n| Export | Purpose |\n|--------|---------|\n| `defineRegistry` | Create type-safe component registry from catalog |\n| `Renderer` | Render spec in browser (e.g. preview); use with `JSONUIProvider` for state\u002Factions |\n| `createRenderer` | Standalone renderer component with state\u002Factions\u002Fvalidation |\n| `renderToHtml` | Server: spec to HTML string |\n| `renderToPlainText` | Server: spec to plain-text string |\n| `schema` | Email element schema |\n| `standardComponents` | Pre-built component implementations |\n| `standardComponentDefinitions` | Catalog definitions (Zod props) |\n\n## Sub-path Exports\n\n| Path | Purpose |\n|------|---------|\n| `@json-render\u002Freact-email` | Full package |\n| `@json-render\u002Freact-email\u002Fserver` | Schema and catalog only (no React) |\n| `@json-render\u002Freact-email\u002Fcatalog` | Standard component definitions and types |\n| `@json-render\u002Freact-email\u002Frender` | Render functions only |\n\n## Standard Components\n\nAll components accept a `style` prop (object) for inline styles. Use inline styles for email client compatibility; avoid external CSS.\n\n### Document structure\n\n| Component | Description |\n|-----------|-------------|\n| `Html` | Root wrapper (lang, dir). Children: Head, Body. |\n| `Head` | Email head section. |\n| `Body` | Body wrapper; use `style` for background. |\n\n### Layout\n\n| Component | Description |\n|-----------|-------------|\n| `Container` | Constrain width (e.g. max-width 600px). |\n| `Section` | Group content; table-based for compatibility. |\n| `Row` | Horizontal row. |\n| `Column` | Column in a Row; set width via style. |\n\n### Content\n\n| Component | Description |\n|-----------|-------------|\n| `Heading` | Heading text (as: h1–h6). |\n| `Text` | Body text. |\n| `Link` | Hyperlink (text, href). |\n| `Button` | CTA link styled as button (text, href). |\n| `Image` | Image from URL (src, alt, width, height). |\n| `Hr` | Horizontal rule. |\n\n### Utility\n\n| Component | Description |\n|-----------|-------------|\n| `Preview` | Inbox preview text (inside Html). |\n| `Markdown` | Markdown content as email-safe HTML. |\n\n## Email Best Practices\n\n- Keep width constrained (e.g. Container max-width 600px).\n- Use inline styles or React Email's style props; many clients strip `\u003Cstyle>` blocks.\n- Prefer table-based layout (Section, Row, Column) for broad client support.\n- Use absolute URLs for images; many clients block relative or cid: references in some contexts.\n- Test in multiple clients (Gmail, Outlook, Apple Mail); use a preview tool or Litmus-like service when possible.\n","# @json-render\u002Freact-email\n\nReact Email renderer that converts JSON specs into HTML or plain-text email output.\n\n## Quick Start\n\n```typescript\nimport { renderToHtml } from \"@json-render\u002Freact-email\";\nimport { schema, standardComponentDefinitions } from \"@json-render\u002Freact-email\";\nimport { defineCatalog } from \"@json-render\u002Fcore\";\n\nconst catalog = defineCatalog(schema, {\n  components: standardComponentDefinitions,\n});\n\nconst spec = {\n  root: \"html-1\",\n  elements: {\n    \"html-1\": { type: \"Html\", props: { lang: \"en\", dir: \"ltr\" }, children: [\"head-1\", \"body-1\"] },\n    \"head-1\": { type: \"Head\", props: {}, children: [] },\n    \"body-1\": {\n      type: \"Body\",\n      props: { style: { backgroundColor: \"#f6f9fc\" } },\n      children: [\"container-1\"],\n    },\n    \"container-1\": {\n      type: \"Container\",\n      props: { style: { maxWidth: \"600px\", margin: \"0 auto\", padding: \"20px\" } },\n      children: [\"heading-1\", \"text-1\"],\n    },\n    \"heading-1\": { type: \"Heading\", props: { text: \"Welcome\" }, children: [] },\n    \"text-1\": { type: \"Text\", props: { text: \"Thanks for signing up.\" }, children: [] },\n  },\n};\n\nconst html = await renderToHtml(spec);\n```\n\n## Spec Structure (Element Tree)\n\nSame flat element tree as `@json-render\u002Freact`: `root` key plus `elements` map. Root must be `Html`; children of `Html` should be `Head` and `Body`. Use `Container` (e.g. max-width 600px) inside `Body` for client-safe layout.\n\n## Creating a Catalog and Registry\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema, defineRegistry, renderToHtml } from \"@json-render\u002Freact-email\";\nimport { standardComponentDefinitions } from \"@json-render\u002Freact-email\u002Fcatalog\";\nimport { Container, Heading, Text } from \"@react-email\u002Fcomponents\";\nimport { z } from \"zod\";\n\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    Alert: {\n      props: z.object({\n        message: z.string(),\n        variant: z.enum([\"info\", \"success\", \"warning\"]).nullable(),\n      }),\n      slots: [],\n      description: \"A highlighted message block\",\n    },\n  },\n  actions: {},\n});\n\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    Alert: ({ props }) => (\n      \u003CContainer style={{ padding: 16, backgroundColor: \"#eff6ff\", borderRadius: 8 }}>\n        \u003CText style={{ margin: 0 }}>{props.message}\u003C\u002FText>\n      \u003C\u002FContainer>\n    ),\n  },\n});\n\nconst html = await renderToHtml(spec, { registry });\n```\n\n## Server-Side Render APIs\n\n| Function | Purpose |\n|----------|---------|\n| `renderToHtml(spec, options?)` | Render spec to HTML email string |\n| `renderToPlainText(spec, options?)` | Render spec to plain-text email string |\n\n`RenderOptions`: `registry`, `includeStandard` (default true), `state` (for `$state` \u002F `$cond`).\n\n## Visibility and State\n\nSupports `visible` conditions, `$state`, `$cond`, repeat (`repeat.statePath`), nested repeat paths with `{ \"$item\": \"field\" }`, and the same expression syntax as `@json-render\u002Freact`. Use `state` in `RenderOptions` when rendering server-side so expressions resolve.\n\n## Server-Safe Import\n\nImport schema and catalog without React or `@react-email\u002Fcomponents`:\n\n```typescript\nimport { schema, standardComponentDefinitions } from \"@json-render\u002Freact-email\u002Fserver\";\n```\n\n## Key Exports\n\n| Export | Purpose |\n|--------|---------|\n| `defineRegistry` | Create type-safe component registry from catalog |\n| `Renderer` | Render spec in browser (e.g. preview); use with `JSONUIProvider` for state\u002Factions |\n| `createRenderer` | Standalone renderer component with state\u002Factions\u002Fvalidation |\n| `renderToHtml` | Server: spec to HTML string |\n| `renderToPlainText` | Server: spec to plain-text string |\n| `schema` | Email element schema |\n| `standardComponents` | Pre-built component implementations |\n| `standardComponentDefinitions` | Catalog definitions (Zod props) |\n\n## Sub-path Exports\n\n| Path | Purpose |\n|------|---------|\n| `@json-render\u002Freact-email` | Full package |\n| `@json-render\u002Freact-email\u002Fserver` | Schema and catalog only (no React) |\n| `@json-render\u002Freact-email\u002Fcatalog` | Standard component definitions and types |\n| `@json-render\u002Freact-email\u002Frender` | Render functions only |\n\n## Standard Components\n\nAll components accept a `style` prop (object) for inline styles. Use inline styles for email client compatibility; avoid external CSS.\n\n### Document structure\n\n| Component | Description |\n|-----------|-------------|\n| `Html` | Root wrapper (lang, dir). Children: Head, Body. |\n| `Head` | Email head section. |\n| `Body` | Body wrapper; use `style` for background. |\n\n### Layout\n\n| Component | Description |\n|-----------|-------------|\n| `Container` | Constrain width (e.g. max-width 600px). |\n| `Section` | Group content; table-based for compatibility. |\n| `Row` | Horizontal row. |\n| `Column` | Column in a Row; set width via style. |\n\n### Content\n\n| Component | Description |\n|-----------|-------------|\n| `Heading` | Heading text (as: h1–h6). |\n| `Text` | Body text. |\n| `Link` | Hyperlink (text, href). |\n| `Button` | CTA link styled as button (text, href). |\n| `Image` | Image from URL (src, alt, width, height). |\n| `Hr` | Horizontal rule. |\n\n### Utility\n\n| Component | Description |\n|-----------|-------------|\n| `Preview` | Inbox preview text (inside Html). |\n| `Markdown` | Markdown content as email-safe HTML. |\n\n## Email Best Practices\n\n- Keep width constrained (e.g. Container max-width 600px).\n- Use inline styles or React Email's style props; many clients strip `\u003Cstyle>` blocks.\n- Prefer table-based layout (Section, Row, Column) for broad client support.\n- Use absolute URLs for images; many clients block relative or cid: references in some contexts.\n- Test in multiple clients (Gmail, Outlook, Apple Mail); use a preview tool or Litmus-like service when possible.\n",{"name":5,"metadata":24,"description":7},{"tags":25},"react-email, email, json-render, html email, transactional email","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Freact-email",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":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill react-email",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill react-email",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill react-email","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Freact-email\u002FSKILL.md",true,[],[49,56,61,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"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",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"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",[],[]]