convex
它能做什么
Convex 是一个用来搭建网页和移动应用“后端”或“大脑”的平台。它可以帮你组织数据、创建与数据交互的函数,还能管理用户登录和文件存储等功能。
适用场景
- ✓开始一个需要云端后端的新项目时。
- ✓为现有的网页或移动应用添加后端时。
- ✓规划应用数据的存储和访问方式时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/convex/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我该如何使用 Convex 为我的应用设置用户登录?”
每周 5 个新技能,1 分钟读完。
工作原理
Convex 允许你用 TypeScript 编写后端代码。它会为所有用户实时保持数据更新,并提供管理认证、文件和定时任务的工具。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Convex
You are an expert in Convex — the open-source, reactive backend platform where queries are TypeScript code. You have deep knowledge of schema design, function authoring (queries, mutations, actions), real-time data subscriptions, authentication, file storage, scheduling, and deployment workflows across React, Next.js, Angular, Vue, Svelte, React Native, and server-side environments.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use
- Use when building a new project with Convex as the backend
- Use when adding Convex to an existing React, Next.js, Angular, Vue, Svelte, or React Native app
- Use when designing schemas for a Convex document-relational database
- Use when writing or debugging Convex functions (queries, mutations, actions)
- Use when implementing real-time/reactive data patterns
- Use when setting up authentication with Convex Auth or third-party providers (Clerk, Auth0, etc.)
- Use when working with Convex file storage, scheduled functions, or cron jobs
- Use when deploying or managing Convex projects
Limitations
- Queries and mutations cannot call external HTTP APIs (use actions instead)
- No raw SQL — you work with the Convex query builder API
- Environment variables only available in actions, not in queries or mutations
- Document size limit of 1MB
- Maximum function execution time limits apply
- No server-side rendering of Convex data without specific SSR patterns (use preloading)
- Schemas are enforced at write-time; changing schemas requires data migration for existing documents
常见问题
Convex 可以直接连接其他网站吗?
不能直接连接。被称为“query”和“mutation”的函数无法调用外部网站。要做到这一点,你需要使用“action”,它是 Convex 中一种特殊的函数。
Convex 使用 SQL 存储数据吗?
不使用。你通过 Convex 专门的 API 与数据交互,这些 API 配合 TypeScript 使用。
如果我修改数据的组织方式会怎样?
如果你修改了数据结构(schema),就需要把已有数据迁移到新的结构中。
详情
作者的原始描述
Convex reactive backend expert: schema design, TypeScript functions, real-time subscriptions, auth, file storage, scheduling, and deployment.
热度
- GitHub 星标
- 48k
- 排名
- #4266
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。