typespec-core
CommunityDefine and organize TypeSpec models efficiently
Authorhafley66
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeSpec provides a language to model structured data, APIs, and contracts; this Skill unit introduces the core concepts of syntax, types, decorators, namespaces, templates, and the standard library to help teams design consistent TypeSpec artifacts.
Core Features & Use Cases
- Define TypeSpec models, scalars, enums, unions, interfaces, and operations
- Use decorators like @doc, @summary, @pattern, @minValue, @maxValue, @key, and @secret
- Organize code with namespaces and imports
- Create reusable templates with type parameters
- Declare functions with extern fn for type transforms and value computation (1.10+)
- Apply visibility modifiers (read, update, create, delete)
- Use standard library types (string, int32, int64, float64, boolean, utcDateTime, uuid)
Quick Start
Create a minimal TypeSpec example that defines a User model with a few decorators and a Paginated template.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: typespec-core Download link: https://github.com/hafley66/claude-research/archive/main.zip#typespec-core Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.