generate-api-client

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

240 stars

Best use case

generate-api-client is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)

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

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "generate-api-client" skill to help with this workflow task. Context: Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/generate-api-client/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/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

unit-testing-test-generate

242
from aiskillstore/marketplace

Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.

fal-generate

242
from aiskillstore/marketplace

Generate images and videos using fal.ai AI models

documentation-generation-doc-generate

242
from aiskillstore/marketplace

You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.

code-documentation-doc-generate

242
from aiskillstore/marketplace

You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.

expo-dev-client

242
from aiskillstore/marketplace

Build and distribute Expo development clients locally or via TestFlight

generate-image

242
from aiskillstore/marketplace

Generate or edit images using AI models (FLUX, Gemini). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that isn't a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.

datacommons-client

242
from aiskillstore/marketplace

Work with Data Commons, a platform providing programmatic access to public statistical data from global sources. Use this skill when working with demographic data, economic indicators, health statistics, environmental data, or any public datasets available through Data Commons. Applicable for querying population statistics, GDP figures, unemployment rates, disease prevalence, geographic entity resolution, and exploring relationships between statistical entities.

pre-client

242
from aiskillstore/marketplace

Pre-sales intelligence system. Ingests incoming emails, analyzes sender context, clusters related conversations, detects business opportunities, builds relationship timelines, and surfaces high-potential prospects for outreach.

generate-sparkle-appcast

242
from aiskillstore/marketplace

Generate Mos Sparkle appcast.xml from the latest build zip and recent git changes (since a given commit), then sync to docs/ for publishing.

api-client

242
from aiskillstore/marketplace

Use when setting up API clients - TanStack Query, Axios, JWT token management, error handling, or response parsing. NOT when plain fetch calls, non-API data handling, or unrelated UI logic. Triggers: "API client", "data fetching", "JWT token", "error handling", "paginated list", "TanStack Query".

quality-report-generate

242
from aiskillstore/marketplace

Generate comprehensive quality report with metrics and verification. Produces final CHAPTER_XX_VERIFICATION.md and quality_metrics.json for deployment approval.

generate-output

242
from aiskillstore/marketplace

Create the deliverable (code, documentation, tests, content) following the user's standards and best practices. Use after validation passes to actually build the work product.