frontend-dev

Translate OpenAPI contracts into TypeScript types, service clients, and Next.js UI components.

2|1|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/lpding888/aiygw4.0 --skill frontend-dev-lpding888
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev
Source: https://github.com/lpding888/aiygw4.0/tree/main/skills/frontend_dev_skill
Command: npx skills add https://github.com/lpding888/aiygw4.0 --skill frontend-dev-lpding888

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines building modern web interfaces by translating contract-driven API specifications into ready-to-use frontend components and patterns, reducing ambiguity and rework.

Core Features & Use Cases

  • Contract-driven development: Generate TS types from OpenAPI contracts and implement service layers and UI components accordingly.
  • UI consistency: Enforce unified forms, tables, modals using Ant Design and a11y-driven interactions.
  • End-to-end validation: Equip Playwright-based E2E tests for login, data modeling, CRUD flows, and publishing.

Quick Start

Start by giving me an OpenAPI contract (or a task card) and I will scaffold the TypeScript types, services layer, and Next.js UI scaffold ready for integration.

Frequently Asked Questions about frontend-dev

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

FAQPage Schema
How do I generate TypeScript types and UI components from an OpenAPI contract?

To generate TypeScript types from an OpenAPI contract, you provide the contract to scaffold TS types, a services layer, and Next.js 14 App Router UI components ready for integration. This enforces contract-driven development and reduces API ambiguity.

Can I use Ant Design and Zustand for state management in a Next.js 14 App Router project?

Yes, you can use Ant Design and Zustand in a Next.js 14 App Router project to enforce unified UI standards. This approach applies unified forms, tables, and modals while managing state for login flows and content management dashboards.

What is the best way to implement contract-driven frontend development for React?

Contract-driven frontend development for React is best implemented by translating OpenAPI specifications into ready-to-use TypeScript service clients and UI patterns. This streamlines building modern web interfaces and reduces rework.

How do I add Playwright E2E tests for CRUD flows and login forms?

To add Playwright E2E tests for CRUD flows and login forms, you equip Playwright-based end-to-end validation during feature development. This covers login, data modeling, CRUD operations, and publishing workflows for robust UI verification.

Does this approach work for building content management dashboards and dynamic forms?

Yes, this approach works for building content management dashboards and dynamic forms. It applies contract-driven feature development to React-based UI, generating Ant Design components and Zustand state management for robust interfaces.

Why translate OpenAPI contracts into TypeScript service clients for frontend implementation?

Translating OpenAPI contracts into TypeScript service clients reduces ambiguity and rework in frontend implementation. It ensures strict API integration patterns and generates ready-to-use UI scaffolds for Next.js projects.