Glue

Official Glue IDL guide: model once, generate TS/Python/Rust/Go/OpenAPI/Protobuf.

Autor: guywaldman · guywaldman/glue

Testowano · Działa ★ 9.6/10

Glue — Official Glue IDL guide: model once, generate TS/Python/Rust/Go/OpenAPI/Protobuf.

Co robi ten skill

Guides an agent through writing, reviewing, and validating Glue IDL (.glue) files and .gluerc config, then generating code for TypeScript, Python, Rust, Go, OpenAPI, JSON Schema, or Protobuf from one source of truth. Documents exact syntax (models, enums, type aliases, endpoints, @field metadata, imports), a full worked example, and a review checklist, plus honestly-stated current limitations (no generics, no intersection types). Triggers when designing, writing, reviewing, or generating code from Glue files.

Raport z testu

Glue is an obscure, newly-versioned (1.12.1) IDL a base model has essentially no training exposure to — an unguided baseline invented plausible-looking but wrong syntax (`interface`, `:id` path params, a bare `number` type), while following the skill produced a file matching the documented grammar exactly (`model`, `{id}` placeholders, `responses: {}` blocks, `///` doc comments).

Testowano: 2026-07-15 · Claude Code 2.x (agent harness)

Instalacja

git clone https://github.com/guywaldman/glue
mkdir -p ~/.claude/skills
cp -r glue/skills/glue ~/.claude/skills/glue

Komendy i przykładowe prompty

  • /glueOfficial Glue IDL guide: model once, generate TS/Python/Rust/Go/OpenAPI/Protobuf.

Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):

  • What's the Glue syntax to model a User type and a CreateOrder endpoint?
  • Review my .gluerc.yaml config for multi-target codegen setup
  • Convert this OpenAPI schema into a Glue IDL file with type aliases