generate-sdk-types

Generate TypeScript type definitions from Rust tool schemas for the Pierre Fitness Platform SDK.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Async-IO/pierre_mcp_server --skill generate-sdk-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-sdk-types
Source: https://github.com/Async-IO/pierre_mcp_server/tree/main/.claude/skills/generate-sdk-types
Command: npx skills add https://github.com/Async-IO/pierre_mcp_server --skill generate-sdk-types

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that the TypeScript types used in the SDK perfectly match the tool definitions in the Rust backend, preventing type mismatches and ensuring seamless integration between the server and client.

Core Features & Use Cases

  • Automated Type Generation: Generates TypeScript type definitions directly from Rust schemas.
  • Type Safety: Guarantees consistency and prevents drift between backend and frontend code.
  • Use Case: After adding a new fitness activity tool in Rust, run this skill to automatically update the pierre-mcp-client SDK with the new tool's parameters and return types, ensuring developers can use it immediately without manual type definition.

Quick Start

Run the one-command generation script from the project root to update SDK types.

Frequently Asked Questions about generate-sdk-types

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate TypeScript type definitions from Rust schemas automatically?

To generate TypeScript type definitions from Rust schemas, you run a one-command generation script that parses Rust tool schemas and syncs them to the SDK, ensuring type safety.

What's the best way to prevent type drift between a Rust backend and TypeScript SDK?

The best way to prevent type drift between Rust and TypeScript is to automate synchronization by generating TypeScript type definitions directly from Rust tool schemas, ensuring consistency.

Do I need a running Pierre server to sync TypeScript SDK types?

Yes, you need a running Pierre server and the Bun runtime installed to execute the script that generates TypeScript types for the Pierre Fitness Platform's SDK.

Can I use this type generation script without the Bun runtime?

No, this script requires the Bun runtime for execution alongside a running Pierre server to successfully validate consistency and generate the TypeScript SDK types.

Why do I need to sync Rust and TS types for an API client?

You need to sync Rust and TS types to prevent type mismatches, ensure seamless server and client integration, and allow developers to use new tools immediately without manual definitions.