add-frontend-feature

Scaffold React/TypeScript frontend features with types, API endpoints, hooks, components, and routes.

5|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/agusmdev/fullstack-ai-template --skill add-frontend-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-frontend-feature
Source: https://github.com/agusmdev/fullstack-ai-template/tree/main/template/.pi/skills/add-frontend-feature
Command: npx skills add https://github.com/agusmdev/fullstack-ai-template --skill add-frontend-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Replaces repetitive boilerplate when adding a new frontend feature by providing a structured, end-to-end scaffolding workflow for types, API integration, and UI components.

Core Features & Use Cases

  • End-to-end scaffolding: Generates TypeScript interfaces, API endpoints, query and mutation hooks, components, and routes for a new feature.
  • Consistency and best practices: Enforces a standard project structure (types, lib, hooks, components, routes) and integrates with the existing architecture.
  • Real-world scenarios: Ideal for creating features that connect frontend UI with backend services via REST or GraphQL, with client-side data fetching and error handling.

Quick Start

Create a new frontend feature by following the step-by-step prompts in this guide to scaffold types, endpoints, hooks, components, and routes.

Frequently Asked Questions about add-frontend-feature

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

FAQPage Schema
How do I scaffold a new React feature with TypeScript types and API hooks?

Scaffold a React feature by automating the creation of TypeScript interfaces, API endpoints, query and mutation hooks, UI components, and routes end-to-end. This enforces a consistent project structure and replaces repetitive boilerplate when connecting UI modules to backend services.

What's the best way to add frontend UI modules that connect to backend APIs?

The best way to add frontend UI modules is through end-to-end scaffolding that generates types, API integration, and UI components simultaneously. This structured workflow ensures consistency and best practices by integrating with the existing architecture for data fetching and error handling.

Do I need a specific React architecture to scaffold frontend features automatically?

Yes, automatic frontend feature scaffolding requires a modern React/TypeScript frontend with a 3-layer architecture and support for hooks, routing, and UI components. The scaffolding workflow enforces a standard project structure across types, lib, hooks, components, and routes directories.

Can I use this scaffolding workflow for both REST and GraphQL API integrations?

Yes, this scaffolding workflow supports creating features that connect frontend UI with backend services via REST or GraphQL. It generates the necessary API endpoints, query and mutation hooks, and TypeScript interfaces to handle client-side data fetching and error handling for both protocols.

Why does scaffolding a TypeScript React feature require a 3-layer architecture?

Scaffolding a TypeScript React feature requires a 3-layer architecture to properly separate and generate types, API integration logic, and UI components. This structural prerequisite allows the workflow to automatically inject query and mutation hooks, routes, and interfaces into the correct existing project layers.

When should I not use automated scaffolding for frontend feature development?

You should not use automated frontend feature scaffolding if your project lacks a modern React/TypeScript setup with a 3-layer architecture, hooks, and routing. The workflow is designed to enforce a specific standard project structure, making it unsuitable for legacy codebases or non-standard frontend architectures.