api-client-gen
CommunityGenerate a typed TS API client from Strapi
AuthorLeonardoTan19
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate a fully-typed TypeScript API client from Strapi content-type schemas and route contracts to keep frontend code in sync with backend definitions.
Core Features & Use Cases
- Typed client generation from Strapi content-types and optional route contracts to ensure faithful typing.
- Project scaffolding integration: outputs under frontend/src/api including client.ts, index.ts, types/, and namespaces/.
- Workflow automation: prerequisite connect and generate_api_client steps, enabling seamless updates when backend changes.
- Use Case: Keep frontend in sync after content-type changes or new routes are added, or when validating API contracts before deployment.
Quick Start
Run the generator after updating content types to refresh the frontend API client.
Dependency Matrix
Required Modules
None requiredComponents
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-gen Download link: https://github.com/LeonardoTan19/metaforge/archive/main.zip#api-client-gen Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.