react
Build React UIs from JSON Specs
Static React interfaces are difficult to generate and maintain from structured data. This skill explains how to render JSON specs, define catalogs, manage state, and connect events in React.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "react" from https://skillstore.io/skills/vercel-labs-react.md and its manifest at https://skillstore.io/api/skills/vercel-labs-react/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“react”。 How do I render a JSON card containing a button?
预期结果:
Define a catalog and registry, then pass the JSON element tree and registry to Renderer. The card receives its typed title prop and renders its child button.
正在使用“react”。 How can an input update shared state?
预期结果:
- Bind the input value to a state path with the documented binding expression.
- Use useBoundProp inside the component to read the resolved value and write changes back through the provided binding.
正在使用“react”。 Which exports support an interactive application?
预期结果:
Use Renderer and defineRegistry for rendering, StateProvider or createStateStore for state, useBoundProp for two-way form binding, and useAction or useActions for event actions.
安全审计
安全All 71 static findings are false positives caused by Markdown code fences, inline code spans, or JavaScript examples. No shell execution, prompt injection, or other net-new security issue was evidenced in SKILL.md.
风险因素
⚙️ 外部命令 (50)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/vercel-labs-react/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/vercel-labs-react?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/vercel-labs-react?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/vercel-labs-react/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/vercel-labs-react.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
vercel-labs. (2026). react security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/vercel-labs-react/audits/1BibTeX 引用
@techreport{vercel-labs-vercel-labs-react-2026,
author = {vercel-labs},
title = {react security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/vercel-labs-react/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "react security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "vercel-labs"
date-released: "2026-09-29"
url: "https://skillstore.io/skills/vercel-labs-react/audits/1"
identifiers:
- type: other
value: "skillstore:vercel-labs-react:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Prototype JSON-driven screens
Create a small React renderer and catalog for an interface whose layout and content arrive as structured JSON.
Connect forms to application state
Use state bindings, validation, watchers, and built-in actions to build interactive forms from JSON specs.
Build reusable component libraries
Define typed registries and catalog-agnostic components that can render shared JSON UI patterns across projects.
试试这些提示
Explain the smallest setup for rendering a JSON spec with @json-render/react. Identify each import and explain the registry relationship.
Design a catalog with a Button and Card component. Include typed props, a default slot, descriptions, and matching type-safe registry implementations.
Show how to build a form input that reads and writes a state path with useBoundProp. Explain the bindings map and validation result handling.
Plan a JSON-driven React screen with external state, conditional visibility, named slots, event actions, watchers, and reusable catalog-agnostic components. Identify integration risks.
最佳实践
- Define typed prop schemas and keep catalog descriptions aligned with the component behavior.
- Use natural value properties with documented binding expressions for two-way form state.
- Keep application-specific actions, authorization, and external state policies explicit at the integration boundary.
避免
- Do not use slots.default for named content; use children for the default slot and the top-level slots object for named slots.
- Do not add a statePath prop for two-way binding when the documented binding expression and useBoundProp flow are required.
- Do not treat generated JSON specs or action names as trusted application policy without validation and authorization.
常见问题
What is this skill for?
Does it generate a complete React application?
How are named slots represented?
How does two-way binding work?
Can it use external state management?
What should I secure when using generated specs?
开发者详情
作者
vercel-labs许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
bad9dafc37d1638cd29cb9bab06d5f8dbcd0f6c2
维护新鲜度
2026/9/30
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md