Generates TypeScript type definitions from JSON data or APIs
## Skill: Type Definition Generator **Trigger:** When user provides JSON samples or API responses **Steps:** 1. Analyze JSON structure and value types 2. Infer optional vs required fields 3. Generate TypeScript interfaces 4. Add JSDoc comments and export statements **Output Format:** TypeScript definition file with interfaces and type exports **Guardrails:** Handle nested objects recursively. Detect union types. Use strict null checks
Free to copy and use. Compatible with GPT-5, Gemini 2.5 Pro, Claude 4 Opus.
Activate this skill by providing the required input. When user provides JSON samples or API responses. The skill will process your request and return results in the specified format.
Initial release
claude skill install skill-type-definition-generatorSign in and download this prompt to leave a review.