什么是 arktype?
使用 ArkType、ArkEnv 和 ArkRegex 进行 TypeScript 类型验证。用于模式、环境变量和类型安全的正则表达式。 来源:thegreataxios/agent-skills。
使用 ArkType、ArkEnv 和 ArkRegex 进行 TypeScript 类型验证。用于模式、环境变量和类型安全的正则表达式。
通过命令行快速安装 arktype AI 技能到你的开发环境
来源:thegreataxios/agent-skills。
ArkType is a TypeScript-first validation library with powerful runtime type checking, scopes, generics, and pattern matching. Use this skill when defining schemas, validating data, or working with type-safe APIs.
| String | Concise definitions | type({ name: "string", age: "number >= 18" }) | | Fluent | Chaining methods | type.string.atLeastLength(8).email() | | Tuple | Complex/nested | type(["string", ["number", "number"]]) | | Args | Operators | type("string", "|", "boolean") |
| .validate(data) | { data: T } | { errors: ArkErrors } | | .assert(data) | Validated data or throws | | Type as function | Validated data or type.errors instance |
使用 ArkType、ArkEnv 和 ArkRegex 进行 TypeScript 类型验证。用于模式、环境变量和类型安全的正则表达式。 来源:thegreataxios/agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/thegreataxios/agent-skills --skill arktype使用 ArkType、ArkEnv 和 ArkRegex 进行 TypeScript 类型验证。用于模式、环境变量和类型安全的正则表达式。 来源:thegreataxios/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thegreataxios/agent-skills --skill arktype 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/thegreataxios/agent-skills