tsp-type-override

Official

Map TypeSpec to Java types precisely.

AuthorAzure
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows you to precisely control how TypeSpec models and fields are translated into Java types, ensuring generated code uses the correct Java classes (like OffsetDateTime or DayOfWeek) instead of generic or incorrect ones.

Core Features & Use Cases

  • Type Mapping: Override default TypeSpec-to-Java type mappings for specific fields or entire types.
  • External Type Integration: Use existing Java classes (e.g., from libraries) directly in generated code.
  • Use Case: When a TypeSpec defines a date as a simple string, you can use this Skill to ensure the generated Java code uses java.time.OffsetDateTime for better type safety and usability.

Quick Start

Use the tsp-type-override skill to map the TypeSpec field 'created_at' to the Java type 'utcDateTime'.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tsp-type-override
Download link: https://github.com/Azure/azure-sdk-for-java/archive/main.zip#tsp-type-override

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.