Documentation
Skir is a declarative language for representing data types, constants, and APIs. Define your schema once in a .skir file and generate idiomatic, type-safe code for TypeScript, Python, Java, C++, Kotlin, Dart, Swift, Go, and Rust.
Quickstart
Set up Skir in your project and learn the basic workflow.
Learn moreProject Examples
Explore real-world repositories and starter projects across languages.
Learn moreLanguage Reference
Complete guide to the Skir schema language syntax and features.
Learn moreSerialization
Learn about JSON and binary serialization formats.
Learn moreSchema Evolution
Guidelines for evolving your schema without breaking compatibility.
Learn moreSkirRPC
Build typesafe APIs with SkirRPC services.
Learn moreExternal Dependencies
Import types from other GitHub repositories.
Learn moreBest Practices
Practical rules for writing future-proof schemas and robust APIs.
Learn moreBuilding Code Generators
Implement custom generators and understand the compiler input/output contract.
Learn moreProtobuf vs Skir
Compare design choices and trade-offs between Protobuf and Skir.
Learn more