nuxt-api-client

Generate Nuxt API client scaffolding with composable CRUD services for PowerX plugins.

357|65|Updated Jul 29, 2022
One-click install
npx skills add https://github.com/ArtisanCloud/PowerX --skill nuxt-api-client
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nuxt-api-client
Source: https://github.com/ArtisanCloud/PowerX/tree/main/.codex/skills/frontend/nuxt/api-client
Command: npx skills add https://github.com/ArtisanCloud/PowerX --skill nuxt-api-client

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill automates creation of Nuxt composable API services and plugin templates, ensuring consistency with PowerX contract definitions and reducing manual boilerplate.

Core Features & Use Cases

  • Runtime Config Generation: Sets up public keys and default API base paths.
  • File scaffolding: Generates api.ts and composable CRUD files using built-in templates.
  • Contract-driven mapping: Aligns generated code with the plugin/crud/frontend/nuxt_api_client ruleset.

Quick Start

Invoke the nuxt-api-client skill with the target plugin ID to scaffold the required Nuxt files.

Frequently Asked Questions about nuxt-api-client

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Nuxt API client for PowerX plugins?▼

You can scaffold a Nuxt API client for PowerX plugins by invoking this skill with a target plugin ID, which automatically generates runtime configuration and composable CRUD service files.

What does contract-driven mapping mean for Nuxt composable API services?▼

Contract-driven mapping for Nuxt composable API services means generated code strictly aligns with the plugin/crud/frontend/nuxt_api_client ruleset and PowerX contract definitions to eliminate manual boilerplate and ensure consistency.

Can I use this scaffolding tool to generate runtime config and API base paths for Nuxt?▼

Yes, you can use this scaffolding tool to generate runtime config for Nuxt, which automatically sets up public keys and default API base paths required for PowerX plugin integration.

Do I need specific template files to generate Nuxt composable CRUD services?▼

You do not need to manually write template files; the skill utilizes built-in templates to generate the api.ts file and composable CRUD files required for your PowerX plugin's web-admin codebase.

What is the best way to automate boilerplate creation for PowerX plugin frontend development?▼

The best way to automate boilerplate creation for PowerX plugin frontend development is to use this skill, which applies the nuxt_api_client ruleset to instantly generate consistent composable API services.

When do I need a Nuxt API client for PowerX plugin contracts?▼

You need a Nuxt API client for PowerX plugin contracts when your front-end development requires composable services in the web-admin codebase and the plugin contract defines specific API endpoints.