agentsclimarketplace

Generate api client

Skill aiskillstore/marketplace/skills/crearize/generate-api-client

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

Install
npx -y skills add aiskillstore/marketplace --skill generate-api-client

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.2 KB, 354 tokens by cl100k_base, as published. Nobody here has run it

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

役割

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

実行フロー

Phase 1: 仕様書確認

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

Phase 2: Orval実行

cd frontend

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

Phase 3: 生成確認

# 生成されたファイル確認
ls frontend/src/lib/api/generated/

Phase 4: 型チェック

# TypeScript型チェック
npx tsc --noEmit

Phase 5: 完了報告

## Generate API Client 完了報告

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

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

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

What ships with it: 1 file

17.3 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.