ts-react-nextjs

Architect TypeScript React 19 applications with Next.js 15 using Server Components and App Router.

7|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Jonathan0823/opencode-config --skill ts-react-nextjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-react-nextjs
Source: https://github.com/Jonathan0823/opencode-config/tree/main/skills/ts-react-nextjs
Command: npx skills add https://github.com/Jonathan0823/opencode-config --skill ts-react-nextjs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides structured guidelines to design TypeScript, React 19, and Next.js 15 projects with robust patterns and best practices, helping teams avoid architectural drift.

Core Features & Use Cases

  • TypeScript configuration and strict typing patterns for props, states, and APIs.
  • Server Components by default with a clear client/boundary division and App Router organization.
  • Type-safe routing, data fetching, and code-splitting patterns for scalable frontends.
  • Real-world example: building an admin dashboard with server components and client components to optimize performance and user experience.

Quick Start

Install and initialize a TypeScript React 19 + Next.js 15 project, configure the app router, and implement a sample server component and a client component to verify patterns.

Frequently Asked Questions about ts-react-nextjs

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

FAQPage Schema
How do I structure a Next.js 15 App Router project with React 19 Server Components?

Structure a Next.js 15 App Router project by defaulting to Server Components and establishing clear client boundaries. This enforces server-default patterns and performance-focused architecture across typical frontend workflows.

What is the best way to enforce strict type safety in TypeScript React 19 applications?

Enforce strict type safety in TypeScript React 19 applications by applying strict typing patterns to props, states, and APIs. This prevents architectural drift and ensures type-safe data fetching.

How do I divide client and server component boundaries in Next.js 15?

Divide client and server boundaries in Next.js 15 by organizing the App Router to isolate interactive client components. Keep server components as the default to optimize performance and user experience.

Does this approach support building production-grade admin dashboards with type-safe APIs?

Yes, this approach supports building production-grade admin dashboards by leveraging server and client components alongside type-safe APIs. It ensures scalable frontend patterns and optimized performance.

How do I configure TypeScript and routing for scalable Next.js 15 frontends?

Configure TypeScript and routing for scalable Next.js 15 frontends by implementing type-safe routing and code-splitting patterns. This provides structured guidelines to maintain robust application architecture.