帮助你快速创建或接入 Convex,并完成前端初始化与首次本地运行。
该技能材料显示其主要是用于指导用户初始化 Convex 项目,系统检查也标记为 prompt-only 且无密钥、无声明远程端点,整体偏低风险。需注意其文档会引导用户运行 npm/npx 脚手架与开发命令,这些命令本身可能联网、写文件并引入第三方模板,因此更适合在受控环境中人工执行。
材料与系统检查均表明无需预置 API key 或环境变量;README 仅提到用户首次运行 `npx convex dev` 时会进行浏览器登录/OAuth,但未要求把凭证直接交给该技能,凭证暴露面较低。
虽然元数据未声明固定远程端点,但文档明确引导使用 `npm create convex@latest`、`npm install` 和 `npx convex dev`;这些流程通常会访问 npm/Convex 等外部服务,并可能把项目代码同步到 Convex 开发部署。属该类工具的常规联网能力,需知情后使用。
文档建议运行本地命令行程序(npm/npx)进行脚手架、安装依赖和启动开发 watcher;这意味着会在本机执行第三方包与长期运行进程。该能力对开发类技能属常规范围,但不应自动无审查执行。
README 明确说明脚手架会创建项目文件,并在开发流程中写入 `.env.local`、生成 `convex/` 目录和类型文件;数据访问范围主要限于当前项目工作区,未见申请超出声明用途的系统级广泛访问。
正面因素是提供了 GitHub 开源仓库且系统标记为 open-source/prompt-only,可一定程度审计;但仓库许可证未声明、0 star、维护状态未知,且 README 允许使用任意 GitHub repo 作为模板,这会把供应链可信度转移到外部模板来源,需谨慎选择。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "convex-quickstart" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/clawhub/main/.agents/skills/convex-quickstart/SKILL.md 2. 保存为 ~/.claude/skills/convex-quickstart/SKILL.md 3. 装好后重载技能,告诉我可以用了
帮我从零开始创建一个 Convex 项目,使用 npm create convex@latest,并告诉我每一步需要做什么,包括安装、初始化和启动开发环境。
一份从创建到启动的分步指南,包含命令行命令和关键说明。
我已经有一个 React 前端项目,请指导我接入 Convex,包括安装依赖、配置客户端、设置环境变量,并完成首次连接测试。
适用于现有项目的接入步骤,附带示例代码和环境变量配置说明。
请告诉我如何完成第一次 npx convex dev 运行,说明运行前的准备、执行命令后会发生什么,以及常见报错如何排查。
一份首次运行说明,涵盖准备条件、执行流程和常见问题排查建议。
Set up a working Convex project as fast as possible.
convex/ exists - just start
buildingconvex-setup-auth skillnpm create convex@latestconvex and wire up the providernpx convex dev to connect a deployment and start the dev loopUse the official scaffolding tool. It creates a complete project with the frontend framework, Convex backend, and all config wired together.
| Template | Stack |
|---|---|
react-vite-shadcn | React + Vite + Tailwind + shadcn/ui |
nextjs-shadcn | Next.js App Router + Tailwind + shadcn/ui |
react-vite-clerk-shadcn | React + Vite + Clerk auth + shadcn/ui |
nextjs-clerk | Next.js + Clerk auth |
nextjs-convexauth-shadcn | Next.js + Convex Auth + shadcn/ui |
nextjs-lucia-shadcn | Next.js + Lucia auth + shadcn/ui |
bare | Convex backend only, no frontend |
If the user has not specified a preference, default to react-vite-shadcn for
simple apps or nextjs-shadcn for apps that need SSR or API routes.
You can also use any GitHub repo as a template:
npm create convex@latest my-app -- -t owner/repo
npm create convex@latest my-app -- -t owner/repo#branch
Always pass the project name and template flag to avoid interactive prompts:
npm create convex@latest my-app -- -t react-vite-shadcn
cd my-app
npm install
The scaffolding tool creates files but does not run npm install, so you must
run it yourself.
To scaffold in the current directory (if it is empty):
npm create convex@latest . -- -t react-vite-shadcn
npm install
npx convex dev is a long-running watcher process that syncs backend code to a
Convex deployment on every save. It also requires authentication on first run
(browser-based OAuth). Both of these make it unsuitable for an agent to run
directly.
Ask the user to run this themselves:
Tell the user to run npx convex dev in their terminal. On first run it will
prompt them to log in or develop anonymously. Once running, it will:
.env.localconvex/ directory with generated typesThe user should keep npx convex dev running in the background while you work
on code. The watcher will automatically pick up any files you create or edit in
convex/.
Exception - cloud or headless agents: Environments that cannot open a browser for interactive login should use Agent Mode (see below) to run anonymously without user interaction.
The user should also run the frontend dev server in a separate terminal:
npm run dev
Vite apps serve on http://localhost:5173, Next.js on http://localhost:3000.
After scaffolding, the project structure looks like:
my-app/
convex/ # Backend functions and schema
_generated/ # Auto-generated types (check this into git)
schema.ts # Database schema (if template includes one)
src/ # Frontend code (or app/ for Next.js)
package.json
.env.local # CONVEX_URL / VITE_CONVEX_URL / NEXT_PUBLIC_CONVEX_URL
…
帮助维护者高效审查、分诊并交接 ClawHub 的 GitHub 问题与 PR。
审查 Convex 读写与订阅性能瓶颈,定位慢功能与并发冲突问题。
帮助 ClawHub 管理人员执行封禁、解封、角色调整与状态核验。
帮助开发者构建可复用的 Convex 组件,封装独立表结构与对外后端 API。
帮助你为 Convex 应用配置认证、身份映射与访问控制流程。
帮助用户判断应调用哪个 Convex 技能,并分流模糊的应用开发需求
提供 Convex 生产级应用开发模板与模式,涵盖查询、变更、定时任务和迁移。
帮助开发者规划 Convex 模式与数据迁移,支持破坏性变更、回填和零停机发布。
可在 MCP 客户端中创建、预览、发布并分析落地页表现。
帮助你用 React 与 Vite 快速创建并部署 Power Apps 代码应用。
让 AI 代理创建和管理 Convyy 看板、图表与旅程地图。
用于初始化项目时检查并创建社区治理所需的标准仓库文件。