implement-frontend

Standardize React/TypeScript frontend implementation with strict typing and mapping layers.

75|6|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/mblode/agent-skills --skill implement-frontend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-frontend
Source: https://github.com/mblode/agent-skills/tree/main/skills/implement-frontend
Command: npx skills add https://github.com/mblode/agent-skills --skill implement-frontend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontend teams often struggle with inconsistent patterns, tangled forms, scattered state, and weak typing; this skill provides a centralized, opinionated approach to structuring React/TypeScript frontends for reliability and maintainability.

Core Features & Use Cases

  • Ownership & Separation: Keep render-only concerns in components; fetch/mapping/business rules in hooks; server state in query cache; UI state in useState.
  • Typing & Proto Mapping: Enforce strict typing, avoid any; central mapper for API models to UI models.
  • Patterns for Forms & Accessibility: Guidelines for forms, keyboard navigation, accessibility, and testing.

Quick Start

Audit your existing React/TypeScript project against these standards to align forms, hooks, and server-state handling with the prescribed patterns.

Frequently Asked Questions about implement-frontend

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

FAQPage Schema
How do I structure React forms with TypeScript to avoid scattered state and weak typing?

Standardize React forms with TypeScript by keeping server state in query cache and UI state in useState. Use React Hook Form with Zod for validation to enforce strict typing and prevent weak type definitions across your frontend.

What's the best way to separate business logic from render-only concerns in Next.js?

Separate business logic from render concerns in Next.js by keeping fetch and mapping rules in hooks, render-only logic in components, and server state in query cache. This separation ensures clear ownership layers and maintainable TypeScript frontends.

How do I map API models to UI models in a React TypeScript project?

Map API models to UI models in React TypeScript projects using a centralized mapper layer. This enforces strict typing without any types, ensuring safe server-state handling and clear data transformation boundaries across your frontend.

Does this frontend standardization approach work with React Hook Form and Zod?

Yes, this frontend standardization approach explicitly supports React Hook Form and Zod tooling. It provides prescribed patterns for forms, state flows, and UI mappings across Next.js stacks using RHF and Zod for strict typing and validation.

How do I enforce accessibility and keyboard navigation in a React TypeScript frontend?

Enforce accessibility and keyboard navigation in React TypeScript frontends by applying standardized patterns for forms and UI components. These guidelines ensure compliance with accessibility requirements while maintaining strict typing and clear mapping layers.

Why does my React TypeScript frontend have inconsistent patterns and tangled state management?

Inconsistent patterns and tangled state in React TypeScript frontends arise from scattered state and weak typing. Audit your project against centralized standards that prescribe clear ownership for hooks, query cache, and useState to resolve maintainability issues.