convex-schema-validator
✓使用正确的类型、索引配置、可选字段、联合和架构更改的迁移策略来定义和验证数据库架构
SKILL.md
Define and validate database schemas in Convex with proper typing, index configuration, optional fields, unions, and strategies for schema migrations.
| v.string() | string | "hello" | | v.number() | number | 42, 3.14 | | v.boolean() | boolean | true, false | | v.null() | null | null | | v.int64() | bigint | 9007199254740993n | | v.bytes() | ArrayBuffer | Binary data | | v.id("table") | Id | Document reference | | v.array(v) | T[] | [1, 2, 3] | | v.object({}) | { ... } | { name: "..." } |
| v.optional(v) | T \| undefined | Optional field | | v.union(...) | T1 \| T2 | Multiple types | | v.literal(x) | "x" | Exact value | | v.any() | any | Any value | | v.record(k, v) | Record | Dynamic keys |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/waynesutton/convexskills --skill convex-schema-validator- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 convex-schema-validator?
使用正确的类型、索引配置、可选字段、联合和架构更改的迁移策略来定义和验证数据库架构 来源:waynesutton/convexskills。
如何安装 convex-schema-validator?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/waynesutton/convexskills --skill convex-schema-validator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/waynesutton/convexskills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01