askill
quicktype

quicktypeSafety 95Repository

Generate TypeScript types from JSON files using quicktype CLI. Use when user wants to create types/interfaces from JSON data, API responses, or config files.

72 stars
1.4k downloads
Updated 2/21/2026

Package Files

Loading files...
SKILL.md

Quicktype - JSON to Type Generator

Generate strongly-typed interfaces from JSON files or URLs.

When to Use

  • User asks to generate types from JSON
  • User wants TypeScript interfaces for API responses
  • User needs type definitions for config files
  • User mentions "quicktype" or "json to types"

Instructions

  1. Parse the input to identify:

    • File path or URL
    • Target language (default: TypeScript)
    • Output file (optional)
  2. Run the quicktype script:

python3 ~/.claude/skills/quicktype/scripts/quicktype.py <file> [--lang LANG] [--out FILE]
  1. Display the generated types in a fenced code block

  2. If --out specified, save to that file

Supported Languages

FlagLanguage
tsTypeScript
goGo structs
pyPython dataclass
rsRust structs
swiftSwift Codable
kotlinKotlin data class

Examples

Input: /quicktype api/users.json Output: TypeScript interfaces for the JSON structure

Input: /quicktype config.json --lang go Output: Go struct definitions

Input: /quicktype response.json --out src/types/api.ts Output: Types saved to specified file

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

74/100Analyzed 2/25/2026

Well-structured skill document for generating types from JSON using quicktype. Includes clear trigger conditions, step-by-step instructions, and multi-language support table. Main gaps are vague examples without concrete output, assumption about external Python script, and missing installation/error guidance. Tags don't fully match content (api/llm vs json/typescript). Solid technical reference that could be more actionable with concrete examples.

95
70
75
70
65

Metadata

Licenseunknown
Version-
Updated2/21/2026
Publisherhtlin222

Tags

apillm