generate-api-client
Orval APIクライアント生成スキル(OpenAPI仕様書から型安全なAPIクライアントを自動生成)
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/generate-api-client/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How generate-api-client Compares
| Feature / Agent | generate-api-client | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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
Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.
fal-generate
Generate images and videos using fal.ai AI models
documentation-generation-doc-generate
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
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
Build and distribute Expo development clients locally or via TestFlight
generate-image
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
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
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
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
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
Generate comprehensive quality report with metrics and verification. Produces final CHAPTER_XX_VERIFICATION.md and quality_metrics.json for deployment approval.
generate-output
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.