api-client-development

Official

Generate typed API clients from OpenAPI specs.

AuthorSalesforceCommerceCloud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables building typed API clients from OpenAPI specifications with proper authentication and OAuth scope handling, reducing boilerplate and ensuring consistent client modules across CLIs and SDKs.

Core Features & Use Cases

  • OpenAPI-based code generation: generate TypeScript clients using openapi-fetch and openapi-typescript.
  • Middleware integration: attach authentication and logging via reusable middleware.
  • OAuth scope encapsulation: encapsulate tenant-scoped OAuth logic within the client factory for SCAPI-like APIs.
  • Use Case: rapidly add a new API client for a DX/SCAPI service and re-use it in CLI commands or SDKs.

Quick Start

Add your OpenAPI spec to specs/, update the client generation script, and create a module that exports a typed client factory ready for integration into your CLI or SDK.

Dependency Matrix

Required Modules

None required

Components

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: api-client-development
Download link: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/archive/main.zip#api-client-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.