[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FDADB0HSHK41NYV780KXQQ":3,"skill-same:01M7FDADB0HSHK41NYV780KXQQ":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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7FDADB0HSHK41NYV780KXQQ","vue",null,"Vue 3 renderer for json-render. Use when building Vue UIs from JSON specs, working with @json-render\u002Fvue, defining Vue component registries, or rendering AI-generated specs in Vue.","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-前端与设计\u002Fvue\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: vue\ndescription: Vue 3 renderer for json-render. Use when building Vue UIs from JSON specs, working with @json-render\u002Fvue, defining Vue component registries, or rendering AI-generated specs in Vue.\n---\n\n# @json-render\u002Fvue\n\nVue 3 renderer that converts JSON specs into Vue component trees with data binding, visibility, and actions.\n\n## Installation\n\n```bash\nnpm install @json-render\u002Fvue @json-render\u002Fcore zod\n```\n\nPeer dependencies: `vue ^3.5.0` and `zod ^4.0.0`.\n\n## Quick Start\n\n### Create a Catalog\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema } from \"@json-render\u002Fvue\u002Fschema\";\nimport { z } from \"zod\";\n\nexport const catalog = defineCatalog(schema, {\n  components: {\n    Card: {\n      props: z.object({ title: z.string(), description: z.string().nullable() }),\n      slots: [\"default\"],\n      description: \"A card container\",\n    },\n    Layout: {\n      props: z.object({}),\n      slots: [\"default\", \"header\", \"footer\"],\n      description: \"Layout with named content regions\",\n    },\n    Button: {\n      props: z.object({ label: z.string(), action: z.string() }),\n      description: \"A clickable button\",\n    },\n  },\n  actions: {},\n});\n```\n\n### Define Registry with h() Render Functions\n\n```typescript\nimport { h } from \"vue\";\nimport { defineRegistry } from \"@json-render\u002Fvue\";\nimport { catalog } from \".\u002Fcatalog\";\n\nexport const { registry } = defineRegistry(catalog, {\n  components: {\n    Card: ({ props, children }) =>\n      h(\"div\", { class: \"card\" }, [\n        h(\"h3\", null, props.title),\n        props.description ? h(\"p\", null, props.description) : null,\n        children,\n      ]),\n    Layout: ({ slots }) =>\n      h(\"div\", null, [\n        h(\"header\", null, slots.header?.()),\n        h(\"main\", null, slots.default?.()),\n        h(\"footer\", null, slots.footer?.()),\n      ]),\n    Button: ({ props, emit }) =>\n      h(\"button\", { onClick: () => emit(\"press\") }, props.label),\n  },\n});\n```\n\n## Named Slots\n\nUse `children` for the `\"default\"` slot. Use the element's top-level `slots` object for other slot names declared by the catalog:\n\n```json\n{\n  \"type\": \"Layout\",\n  \"props\": {},\n  \"children\": [\"main\"],\n  \"slots\": {\n    \"header\": [\"heading\"],\n    \"footer\": [\"actions\"]\n  }\n}\n```\n\nRegistry components receive Vue-native slot functions. Render them with `slots.header?.()`, `slots.footer?.()`, and so on. `slots.default?.()` renders the spec's `children`; the `children` context field is a convenience alias for that rendered result. In the JSON spec, keep default content in `children` rather than adding a `default` entry to `slots`.\n\n### Render Specs\n\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { StateProvider, ActionProvider, Renderer } from \"@json-render\u002Fvue\";\nimport { registry } from \".\u002Fregistry\";\n\nconst spec = { root: \"card-1\", elements: { \u002F* ... *\u002F } };\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CStateProvider :initial-state=\"{ form: { name: '' } }\">\n    \u003CActionProvider :handlers=\"{ submit: handleSubmit }\">\n      \u003CRenderer :spec=\"spec\" :registry=\"registry\" \u002F>\n    \u003C\u002FActionProvider>\n  \u003C\u002FStateProvider>\n\u003C\u002Ftemplate>\n```\n\n## Providers\n\n| Provider | Purpose |\n|----------|---------|\n| `StateProvider` | Share state across components (JSON Pointer paths). Accepts `initialState` or `store` for controlled mode. |\n| `ActionProvider` | Handle actions dispatched via the event system |\n| `VisibilityProvider` | Enable conditional rendering based on state |\n| `ValidationProvider` | Form field validation |\n\n## Composables\n\n| Composable | Purpose |\n|------------|---------|\n| `useStateStore()` | Access state context (`state` as `ShallowRef`, `get`, `set`, `update`) |\n| `useStateValue(path)` | Get single value from state |\n| `useIsVisible(condition)` | Check if a visibility condition is met |\n| `useActions()` | Access action context |\n| `useAction(binding)` | Get a single action dispatch function |\n| `useFieldValidation(path, config)` | Field validation state |\n| `useBoundProp(propValue, bindingPath)` | Two-way binding for `$bindState`\u002F`$bindItem` |\n\nNote: `useStateStore().state` returns a `ShallowRef\u003CStateModel>` — use `state.value` to access.\n\n## External Store (StateStore)\n\nNested lists can set `repeat.statePath` to `{ \"$item\": \"field\" }` inside an enclosing repeat.\n\nPass a `StateStore` to `StateProvider` to wire json-render to Pinia, VueUse, or any state management:\n\n```typescript\nimport { createStateStore, type StateStore } from \"@json-render\u002Fvue\";\n\nconst store = createStateStore({ count: 0 });\n```\n\n```vue\n\u003CStateProvider :store=\"store\">\n  \u003CRenderer :spec=\"spec\" :registry=\"registry\" \u002F>\n\u003C\u002FStateProvider>\n```\n\n## Dynamic Prop Expressions\n\nProps support `$state`, `$bindState`, `$cond`, `$template`, `$computed`. Use `{ \"$bindState\": \"\u002Fpath\" }` on the natural value prop for two-way binding.\n\n## Visibility Conditions\n\n```typescript\n{ \"$state\": \"\u002Fuser\u002FisAdmin\" }\n{ \"$state\": \"\u002Fstatus\", \"eq\": \"active\" }\n{ \"$state\": \"\u002Fmaintenance\", \"not\": true }\n[ cond1, cond2 ]  \u002F\u002F implicit AND\n```\n\n## Built-in Actions\n\n`setState`, `pushState`, `removeState`, and `validateForm` are built into the Vue schema and handled by `ActionProvider`:\n\n```json\n{\n  \"action\": \"setState\",\n  \"params\": { \"statePath\": \"\u002FactiveTab\", \"value\": \"settings\" }\n}\n```\n\n## Event System\n\nComponents use `emit(event)` to fire events, or `on(event)` for metadata (`shouldPreventDefault`, `bound`).\n\n## Streaming\n\n`useUIStream` and `useChatUI` return Vue Refs for streaming specs from an API.\n\n## BaseComponentProps\n\nFor catalog-agnostic reusable components:\n\n```typescript\nimport type { BaseComponentProps } from \"@json-render\u002Fvue\";\n\nconst Card = ({ props, children }: BaseComponentProps\u003C{ title?: string }>) =>\n  h(\"div\", null, [props.title, children]);\n```\n\n## Key Exports\n\n| Export | Purpose |\n|--------|---------|\n| `defineRegistry` | Create a type-safe component registry from a catalog |\n| `Renderer` | Render a spec using a registry |\n| `schema` | Element tree schema (from `@json-render\u002Fvue\u002Fschema`) |\n| `StateProvider`, `ActionProvider`, `VisibilityProvider`, `ValidationProvider` | Context providers |\n| `useStateStore`, `useStateValue`, `useBoundProp` | State composables |\n| `useActions`, `useAction` | Action composables |\n| `useFieldValidation`, `useIsVisible` | Validation and visibility |\n| `useUIStream`, `useChatUI` | Streaming composables |\n| `createStateStore` | Create in-memory `StateStore` |\n| `BaseComponentProps` | Catalog-agnostic component props type |\n","# @json-render\u002Fvue\n\nVue 3 renderer that converts JSON specs into Vue component trees with data binding, visibility, and actions.\n\n## Installation\n\n```bash\nnpm install @json-render\u002Fvue @json-render\u002Fcore zod\n```\n\nPeer dependencies: `vue ^3.5.0` and `zod ^4.0.0`.\n\n## Quick Start\n\n### Create a Catalog\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema } from \"@json-render\u002Fvue\u002Fschema\";\nimport { z } from \"zod\";\n\nexport const catalog = defineCatalog(schema, {\n  components: {\n    Card: {\n      props: z.object({ title: z.string(), description: z.string().nullable() }),\n      slots: [\"default\"],\n      description: \"A card container\",\n    },\n    Layout: {\n      props: z.object({}),\n      slots: [\"default\", \"header\", \"footer\"],\n      description: \"Layout with named content regions\",\n    },\n    Button: {\n      props: z.object({ label: z.string(), action: z.string() }),\n      description: \"A clickable button\",\n    },\n  },\n  actions: {},\n});\n```\n\n### Define Registry with h() Render Functions\n\n```typescript\nimport { h } from \"vue\";\nimport { defineRegistry } from \"@json-render\u002Fvue\";\nimport { catalog } from \".\u002Fcatalog\";\n\nexport const { registry } = defineRegistry(catalog, {\n  components: {\n    Card: ({ props, children }) =>\n      h(\"div\", { class: \"card\" }, [\n        h(\"h3\", null, props.title),\n        props.description ? h(\"p\", null, props.description) : null,\n        children,\n      ]),\n    Layout: ({ slots }) =>\n      h(\"div\", null, [\n        h(\"header\", null, slots.header?.()),\n        h(\"main\", null, slots.default?.()),\n        h(\"footer\", null, slots.footer?.()),\n      ]),\n    Button: ({ props, emit }) =>\n      h(\"button\", { onClick: () => emit(\"press\") }, props.label),\n  },\n});\n```\n\n## Named Slots\n\nUse `children` for the `\"default\"` slot. Use the element's top-level `slots` object for other slot names declared by the catalog:\n\n```json\n{\n  \"type\": \"Layout\",\n  \"props\": {},\n  \"children\": [\"main\"],\n  \"slots\": {\n    \"header\": [\"heading\"],\n    \"footer\": [\"actions\"]\n  }\n}\n```\n\nRegistry components receive Vue-native slot functions. Render them with `slots.header?.()`, `slots.footer?.()`, and so on. `slots.default?.()` renders the spec's `children`; the `children` context field is a convenience alias for that rendered result. In the JSON spec, keep default content in `children` rather than adding a `default` entry to `slots`.\n\n### Render Specs\n\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { StateProvider, ActionProvider, Renderer } from \"@json-render\u002Fvue\";\nimport { registry } from \".\u002Fregistry\";\n\nconst spec = { root: \"card-1\", elements: { \u002F* ... *\u002F } };\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CStateProvider :initial-state=\"{ form: { name: '' } }\">\n    \u003CActionProvider :handlers=\"{ submit: handleSubmit }\">\n      \u003CRenderer :spec=\"spec\" :registry=\"registry\" \u002F>\n    \u003C\u002FActionProvider>\n  \u003C\u002FStateProvider>\n\u003C\u002Ftemplate>\n```\n\n## Providers\n\n| Provider | Purpose |\n|----------|---------|\n| `StateProvider` | Share state across components (JSON Pointer paths). Accepts `initialState` or `store` for controlled mode. |\n| `ActionProvider` | Handle actions dispatched via the event system |\n| `VisibilityProvider` | Enable conditional rendering based on state |\n| `ValidationProvider` | Form field validation |\n\n## Composables\n\n| Composable | Purpose |\n|------------|---------|\n| `useStateStore()` | Access state context (`state` as `ShallowRef`, `get`, `set`, `update`) |\n| `useStateValue(path)` | Get single value from state |\n| `useIsVisible(condition)` | Check if a visibility condition is met |\n| `useActions()` | Access action context |\n| `useAction(binding)` | Get a single action dispatch function |\n| `useFieldValidation(path, config)` | Field validation state |\n| `useBoundProp(propValue, bindingPath)` | Two-way binding for `$bindState`\u002F`$bindItem` |\n\nNote: `useStateStore().state` returns a `ShallowRef\u003CStateModel>` — use `state.value` to access.\n\n## External Store (StateStore)\n\nNested lists can set `repeat.statePath` to `{ \"$item\": \"field\" }` inside an enclosing repeat.\n\nPass a `StateStore` to `StateProvider` to wire json-render to Pinia, VueUse, or any state management:\n\n```typescript\nimport { createStateStore, type StateStore } from \"@json-render\u002Fvue\";\n\nconst store = createStateStore({ count: 0 });\n```\n\n```vue\n\u003CStateProvider :store=\"store\">\n  \u003CRenderer :spec=\"spec\" :registry=\"registry\" \u002F>\n\u003C\u002FStateProvider>\n```\n\n## Dynamic Prop Expressions\n\nProps support `$state`, `$bindState`, `$cond`, `$template`, `$computed`. Use `{ \"$bindState\": \"\u002Fpath\" }` on the natural value prop for two-way binding.\n\n## Visibility Conditions\n\n```typescript\n{ \"$state\": \"\u002Fuser\u002FisAdmin\" }\n{ \"$state\": \"\u002Fstatus\", \"eq\": \"active\" }\n{ \"$state\": \"\u002Fmaintenance\", \"not\": true }\n[ cond1, cond2 ]  \u002F\u002F implicit AND\n```\n\n## Built-in Actions\n\n`setState`, `pushState`, `removeState`, and `validateForm` are built into the Vue schema and handled by `ActionProvider`:\n\n```json\n{\n  \"action\": \"setState\",\n  \"params\": { \"statePath\": \"\u002FactiveTab\", \"value\": \"settings\" }\n}\n```\n\n## Event System\n\nComponents use `emit(event)` to fire events, or `on(event)` for metadata (`shouldPreventDefault`, `bound`).\n\n## Streaming\n\n`useUIStream` and `useChatUI` return Vue Refs for streaming specs from an API.\n\n## BaseComponentProps\n\nFor catalog-agnostic reusable components:\n\n```typescript\nimport type { BaseComponentProps } from \"@json-render\u002Fvue\";\n\nconst Card = ({ props, children }: BaseComponentProps\u003C{ title?: string }>) =>\n  h(\"div\", null, [props.title, children]);\n```\n\n## Key Exports\n\n| Export | Purpose |\n|--------|---------|\n| `defineRegistry` | Create a type-safe component registry from a catalog |\n| `Renderer` | Render a spec using a registry |\n| `schema` | Element tree schema (from `@json-render\u002Fvue\u002Fschema`) |\n| `StateProvider`, `ActionProvider`, `VisibilityProvider`, `ValidationProvider` | Context providers |\n| `useStateStore`, `useStateValue`, `useBoundProp` | State composables |\n| `useActions`, `useAction` | Action composables |\n| `useFieldValidation`, `useIsVisible` | Validation and visibility |\n| `useUIStream`, `useChatUI` | Streaming composables |\n| `createStateStore` | Create in-memory `StateStore` |\n| `BaseComponentProps` | Catalog-agnostic component props type |\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fvue",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":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill vue",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill vue",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill vue","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fvue\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"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":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":55,"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":56,"categories":57,"keywords":58,"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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",[],[]]