帮助开发者构建可复用的 Convex 组件,封装独立表结构与对外后端 API。
该技能材料显示其为开源的纯提示型组件生成指南,不要求密钥、未声明任何远程端点,也未体现独立的数据外发能力。整体风险较低,但因仓库许可、维护状态和社区采用度信息较弱,供应链维度仍需留意。
材料明确标注无需密钥或环境变量,README 仅提到在设计组件时可能由应用传入 auth、env vars 等数据,但技能本身未声明收集、存储或传输凭证。
未声明任何远程端点,且系统检查项为 prompt-only;文档虽建议运行 `npx convex dev` 进行开发验证,但材料未显示该技能自身会向第三方主机发送用户数据。
作为纯提示型技能,材料主要提供组件设计与代码组织步骤,没有显示其自带本机执行、启动进程或调用系统能力;README 中的命令属于对用户/开发流程的建议,不构成技能自身执行权限证据。
材料描述的是如何创建 Convex 组件及其表、函数与目录结构;未声明该技能可直接读取、写入或遍历本地文件、仓库内容或外部数据资源,也未见过度授权请求。
正面因素是 GitHub 开源且系统标记为 open-source,可一定程度审计;但许可证未声明、维护状态未知、社区采用仅 0 star,可信度与持续维护信号较弱,使用前应自行复核仓库内容与更新情况。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "convex-create-component" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/clawhub/main/.agents/skills/convex-create-component/SKILL.md 2. 保存为 ~/.claude/skills/convex-create-component/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为 Convex 生成一个可复用的用户偏好组件,包含独立的 preferences 表、读取与更新偏好的查询和变更接口,并提供清晰的组件边界说明。
输出一个可集成的 Convex 组件方案,包含表定义、API 接口和边界设计说明。
帮我设计一个 Convex 组件,用于封装邮件服务集成。需要独立存储发送记录,向应用暴露发送邮件和查询状态的 API,并说明如何与主应用解耦。
得到一个可复用的集成组件设计,含隔离数据表、对外接口和解耦建议。
请把现有 Convex 后端中的通知功能重构为独立组件,定义组件内表、应用可调用的 API,以及组件职责边界和迁移步骤。
输出通知组件的重构方案,包括结构划分、接口设计和迁移实施建议。
Create reusable Convex components with clear boundaries and a small app-facing API.
convex/convex.config.ts, schema.ts, and
function files../_generated/server imports,
not the app's generated files.app.use(...). If the app does not
already have convex/convex.config.ts, create it.components.<name> using
ctx.runQuery, ctx.runMutation, or ctx.runAction.npx convex dev and fix codegen, type, or boundary issues before
finishing.Ask the user, then pick one path:
| Goal | Shape | Reference |
|---|---|---|
| Component for this app only | Local | references/local-components.md |
| Publish or share across apps | Packaged | references/packaged-components.md |
| User explicitly needs local + shared library code | Hybrid | references/hybrid-components.md |
| Not sure | Default to local | references/local-components.md |
Read exactly one reference file before proceeding.
Unless the user explicitly wants an npm package, default to a local component:
convex/components/<componentName>/defineComponent(...) in its own convex.config.tsconvex/convex.config.ts with app.use(...)npx convex dev generate the component's own _generated/ filesA minimal local component with a table and two functions, plus the app wiring.
// convex/components/notifications/convex.config.ts
import { defineComponent } from "convex/server";
export default defineComponent("notifications");
// convex/components/notifications/schema.ts
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
export default defineSchema({
notifications: defineTable({
userId: v.string(),
message: v.string(),
read: v.boolean(),
}).index("by_user", ["userId"]),
});
// convex/components/notifications/lib.ts
import { v } from "convex/values";
import { mutation, query } from "./_generated/server.js";
export const send = mutation({
args: { userId: v.string(), message: v.string() },
…
帮助你为 Convex 应用配置认证、身份映射与访问控制流程。
帮助用户判断应调用哪个 Convex 技能,并分流模糊的应用开发需求
帮助开发者规划 Convex 模式与数据迁移,支持破坏性变更、回填和零停机发布。
帮助你快速创建或接入 Convex,并完成前端初始化与首次本地运行。
帮助维护者高效审查、分诊并交接 ClawHub 的 GitHub 问题与 PR。
审查 Convex 读写与订阅性能瓶颈,定位慢功能与并发冲突问题。
提供 Convex 生产级应用开发模板与模式,涵盖查询、变更、定时任务和迁移。
帮助用户设计并生成高质量、可生产的前端界面与网页组件代码
帮助你在使用组件浏览器的项目中高效处理 UI 变更、截图与视觉测试。
帮助用户构建基于 React 与 Tailwind 的复杂多组件网页交互原型
可在 MCP 客户端中创建、预览、发布并分析落地页表现。
帮助生成新粗野主义风格的 React 界面组件代码与原型。