generate-api-client

Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)

25 stars

Best use case

generate-api-client is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)

Teams using generate-api-client should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/generate-api-client/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/aiskillstore/marketplace/crearize/generate-api-client/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/generate-api-client/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How generate-api-client Compares

Feature / Agentgenerate-api-clientStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Generate API Client Skill - Orval APIクライアント生成スキル

## 役割

OpenAPI仕様書(api-docs.yaml)から型安全なAPIクライアントを自動生成するスキルです。

## 実行フロー

### Phase 1: 仕様書確認
```bash
# OpenAPI仕様書の存在確認
ls backend/src/main/resources/static/api-docs.yaml
```

### Phase 2: Orval実行
```bash
cd frontend

# Orvalで型安全なAPIクライアント生成
pnpm run generate:api
```

### Phase 3: 生成確認
```bash
# 生成されたファイル確認
ls frontend/src/lib/api/generated/
```

### Phase 4: 型チェック
```bash
# TypeScript型チェック
npx tsc --noEmit
```

### Phase 5: 完了報告
```markdown
## Generate API Client 完了報告

### 生成結果
- ✅ APIクライアント生成完了
- ✅ 型定義生成完了
- ✅ TypeScript型チェック成功

### 生成ファイル
- frontend/src/lib/api/generated/api.ts
- frontend/src/lib/api/generated/model.ts

### 次のステップ
生成されたAPIクライアントをimportして使用できます。
```

Related Skills

websocket-client-creator

25
from ComeOnOliver/skillshub

Websocket Client Creator - Auto-activating skill for API Integration. Triggers on: websocket client creator, websocket client creator Part of the API Integration skill category.

oauth-client-setup

25
from ComeOnOliver/skillshub

Oauth Client Setup - Auto-activating skill for API Integration. Triggers on: oauth client setup, oauth client setup Part of the API Integration skill category.

http-client-config

25
from ComeOnOliver/skillshub

Http Client Config - Auto-activating skill for API Integration. Triggers on: http client config, http client config Part of the API Integration skill category.

api-client-generator

25
from ComeOnOliver/skillshub

Api Client Generator - Auto-activating skill for API Integration. Triggers on: api client generator, api client generator Part of the API Integration skill category.

recipe-generate-report-from-sheet

25
from ComeOnOliver/skillshub

Read data from a Google Sheet and create a formatted Google Docs report.

structured-autonomy-generate

25
from ComeOnOliver/skillshub

Structured Autonomy Implementation Generator Prompt

playwright-generate-test

25
from ComeOnOliver/skillshub

Generate a Playwright test based on a scenario using Playwright MCP

generate-custom-instructions-from-codebase

25
from ComeOnOliver/skillshub

Migration and code evolution instructions generator for GitHub Copilot. Analyzes differences between two project versions (branches, commits, or releases) to create precise instructions allowing Copilot to maintain consistency during technology migrations, major refactoring, or framework version upgrades.

comment-code-generate-a-tutorial

25
from ComeOnOliver/skillshub

Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.

apollo-client

25
from ComeOnOliver/skillshub

Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries or mutations with hooks, (3) configuring caching or cache policies, (4) managing local state with reactive variables, (5) troubleshooting Apollo Client errors or performance issues.

apify-generate-output-schema

25
from ComeOnOliver/skillshub

Generate output schemas (dataset_schema.json, output_schema.json, key_value_store_schema.json) for an Apify Actor by analyzing its source code. Use when creating or updating Actor output schemas.

../../../engineering-team/playwright-pro/skills/generate/SKILL.md

25
from ComeOnOliver/skillshub

No description provided.