模式到类型化代码生成器

数据 社区

技能解读

当前原文的自动摘译,尚未人工审校。

安装

使用与您的环境匹配的上游安装或设置路径: npm install -g Quicktype $ npm install Quicktype-core npm install npm install --ignore-scripts # 安装依赖项

来源

代理技能交换来源:agentskillexchange/skills — 由 TomeVault 分发。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
数据
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@tomevault-io · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
需简单配置
是否需要外部接口密钥
不需要
兼容的系统
macOS · Linux · Windows
运行环境要求
Node.js · Python
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# quicktype JSON Schema to Typed Code Generator

Generate strongly-typed models and serializers from JSON, JSON Schema, TypeScript, and GraphQL queries in 20+ programming languages. quicktype turns sample data into production-ready type definitions for Swift, C#, Go, Python, Rust, Java, Kotlin, and more.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install -g quicktype
- $ npm install quicktype-core
- npm install
- npm install --ignore-scripts # Install dependencies

Requirements and caveats from upstream:
- | [Dart](https://app.quicktype.io/#l=dart) | [Python](https://app.quicktype.io/#l=python) | [C#](https://app.quicktype.io/#l=cs) | [Go](https://app.quicktype.io/#l=go) | [C++](https://app.quicktype.io/#l=cpp) |
- You can use quicktype as a JavaScript function within node or browsers. First add the quicktype-core package:
- const { lines: pythonPerson } = await quicktypeJSONSchema("python", "Person", jsonSchemaString);

Basic usage or getting-started notes:
- There are many ways to use quicktype. [app.quicktype.io](https://app.quicktype.io) is the most powerful and complete UI. The web app also works offline and doesn't send your sample data over the Internet, so paste away!
- For the best CLI, we recommend installing quicktype globally via npm:
- bash

- Source: https://github.com/glideapps/quicktype
- Extracted from upstream docs: https://raw.githubusercontent.com/glideapps/quicktype/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/quicktype-json-schema-code-generator/)

---
> Source: [agentskillexchange/skills](https://github.com/agentskillexchange/skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。