quicktype | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / quicktype

quicktype

maintained by htlin222

star 75 account_tree 4 verified_user MIT License
bolt View GitHub

name: quicktype description: 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.

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

Flag Language
ts TypeScript
go Go structs
py Python dataclass
rs Rust structs
swift Swift Codable
kotlin Kotlin 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

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 75
GitHub Forks 4
Created Mar 2026
Last Updated il y a 3 mois
tools tools ide plugins

Related Skills

writing-skills
chevron_right
codex
chevron_right
smart-illustrator
chevron_right
collaborating-with-codex
chevron_right
code-review-router
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.