fullstack-dev

Guides full-stack application development with backend architecture and frontend-backend integration patterns.

Updated Jul 9, 2025
One-click install
npx skills add https://github.com/renpereiradx/erp-webapp --skill fullstack-dev-renpereiradx
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fullstack-dev
Source: https://github.com/renpereiradx/erp-webapp/tree/main/.agents/skills/fullstack-dev
Command: npx skills add https://github.com/renpereiradx/erp-webapp --skill fullstack-dev-renpereiradx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building a full-stack application involves dozens of architectural decisions—project structure, error handling, auth, API clients, real-time features—and getting them wrong early leads to costly rewrites. This Skill provides a structured workflow and production-grade patterns so backend services and frontend integrations are built correctly from the start. ## Core Features & Use Cases - Mandatory Step-by-Step Workflow: Enforces requirements gathering, architectural decisions, scaffolding checklists, implementation, and verification before any code is written. - Backend Architecture Patterns: Covers feature-first project structure, three-layer architecture (Controller/Service/Repository), typed error hierarchies, centralized config, structured logging, and database access with migrations and N+1 prevention. - Frontend-Backend Integration: Provides API client patterns (typed fetch, React Query, tRPC, OpenAPI codegen), JWT auth with automatic token refresh, CORS configuration, file uploads, and real-time options (SSE, WebSocket, polling). - Use Case: When asked to build a CRUD app with Express and React, the Skill walks through stack decisions, scaffolds the service with health checks and graceful shutdown, sets up a typed API client with auth token refresh, and verifies the integration with smoke tests. ## Quick Start Ask the assistant to scaffold a full-stack todo app with an Express backend and React frontend following the fullstack-dev workflow.

Frequently Asked Questions about fullstack-dev

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

FAQPage Schema
How do I structure a full-stack app with Express and React?▼

Organize the backend by feature (orders/, users/) rather than by technical layer, with each feature containing its controller, service, and repository. The frontend connects through a typed API client whose base URL comes from an environment variable.

Which API client approach should I use: tRPC, React Query, or OpenAPI codegen?▼

Use tRPC when the same TypeScript team owns both sides for automatic type safety. Use React Query with a typed fetch wrapper for React apps consuming REST APIs. Use OpenAPI codegen for public or multi-consumer APIs.

How do I implement JWT authentication with automatic token refresh?▼

Issue a short-lived access token (15 minutes) held in memory and a refresh token in an httpOnly cookie. On a 401 response, the API client calls the refresh endpoint with credentials included, stores the new access token, and transparently retries the original request.

Should I use SSE, WebSocket, or polling for real-time features?▼

Use SSE for one-way server-to-client updates like notifications and AI streaming. Use WebSocket for bidirectional cases like chat and collaboration. Use polling with React Query refetchInterval for simple status checks with few clients.

When should I not use this full-stack workflow?▼

Skip it for pure frontend UI or CSS work and for database schema design without backend context. The Skill targets projects that combine a backend service with frontend integration, not isolated single-layer tasks.