跳到正文
Skillpedia
API 与服务器(后端)48k · #4266

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/convex/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4266
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能