convex-create-component
构建 Convex 组件
Convex 组件需要清晰的数据所有权、包装函数和生成的类型。此技能可指导 Convex 项目的组件设计、实现、接线和验证。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "convex-create-component" from https://skillstore.io/skills/get-convex-convex-create-component.md and its manifest at https://skillstore.io/api/skills/get-convex-convex-create-component/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“convex-create-component”。 创建一个包含未读消息的通知组件。
预期结果:
- 一个包含自有 notifications 表和 unread 索引的组件计划。
- 应用包装器指导,在调用组件函数之前检查身份验证。
- 用于 codegen、生成导入和应用集成的验证清单。
正在使用“convex-create-component”。 将此 webhook 工作流转换为可复用的 Convex 包。
预期结果:
- 一个包含安装和类型入口点的打包组件布局。
- 关于将 HTTP 路由和密钥保留在消费应用中的指导。
- 用于演练捆绑组件的示例应用验证步骤。
安全审计
安全The static findings are false positives from Markdown examples, Convex API names, and documented validation commands. I found no prompt injection, credential exfiltration, path traversal, or malicious network behavior in the reviewed files.
风险因素
📁 文件系统访问 (1)
⚙️ 外部命令 (50)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/get-convex-convex-create-component/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/get-convex-convex-create-component?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/get-convex-convex-create-component?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/get-convex-convex-create-component/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/get-convex-convex-create-component.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 引用
get-convex. (2026). convex-create-component security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/get-convex-convex-create-component/audits/6BibTeX 引用
@techreport{get-convex-get-convex-convex-create-component-2026,
author = {get-convex},
title = {convex-create-component security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/get-convex-convex-create-component/audits/6},
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: "convex-create-component security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "get-convex"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/get-convex-convex-create-component/audits/6"
identifiers:
- type: other
value: "skillstore:get-convex-convex-create-component:audit:6"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
抽取后端逻辑
将可复用的 Convex 逻辑移入一个拥有自有表和应用包装器的隔离组件中。
发布共享组件
创建一个包含导出、生成类型和示例应用验证路径的打包组件。
添加集成
构建一个拥有工作流的第三方集成,同时由应用保留身份验证和环境访问。
试试这些提示
为 [feature] 创建一个本地 Convex 组件。首先确认它需要隔离的表,然后实现 schema、函数、应用包装器和验证步骤。
审查此 Convex 功能,并将可复用的后端逻辑抽取到一个组件中。将身份验证、env 访问和客户端包装器保留在应用中。
为 [workflow] 设计一个打包的 Convex 组件。包括包导出、生成的组件类型、示例应用接线和验证序列。
为 [workflow] 设计一个高级 Convex 组件边界,包含回调、静态配置以及应用侧身份验证或环境接线。包括验证和测试。
最佳实践
- 将身份验证、环境访问和 HTTP 路由挂载保留在应用层。
- 为每个公共组件函数提供显式的参数和返回值验证器。
- 在依赖生成的组件 API 类型之前运行 Convex codegen。
避免
- 为不需要表或后端函数的轻量工具使用组件。
- 在没有应用包装器授权的情况下,直接向客户端暴露组件函数。
- 将应用表 ID 作为组件验证器传递,而不是使用边界字符串。
常见问题
我应该什么时候使用此技能?
它会创建 npm 包吗?
组件函数可以读取 auth 或 env 值吗?
它支持本地组件吗?
它推荐哪些验证?
客户端可以直接调用组件函数吗?
开发者详情
作者
get-convex许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
0519034dad657fb1f7706e0550e962beeda73fdf
维护新鲜度
2026/7/18
使用量
6 次下载 · 68 次浏览
文件结构