api method stubs and definition metadata, and installs the runtime dependencies the generated files import.
Usage
Examples
Options
The generated module is marked
type: "sdk" in its <name>.yml, is named @<root-package-scope>/<name>, and is kept out of AppModule and SharedModule.
AI Skill
This command ships a matchingsdk:create skill. It guides generating the SDK module from a target module and then completing the work the generator leaves: replacing the <prefix> placeholder in each endpoint, adding a shared endpoint builder, and filling in the api method bodies. The skill covers HTTP methods via @talosjs/fetcher, server-side streaming and Server-Sent Events via native fetch with a body reader, and WebSocket methods via @talosjs/socket-client, including how to forward bearer tokens on authenticated routes.
- Claude
- Codex