[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76TMAR2D5G9BKZWGEFJKWT2":3,"skill-same:01M76TMAR2D5G9BKZWGEFJKWT2":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M76TMAR2D5G9BKZWGEFJKWT2","react-2026",null,"Provides a comprehensive guide to the modern React 2026 stack. Use when starting a new React project or modernizing an existing one with current frameworks, build tools, routing, state management, or AI integration.","SatangThevalue\u002Fai-skills","SatangThevalue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17944930?v=4","01M756VHQQ58XSM5PDS03W79VY","Sa-Tang","01M756VHRNYXRY7HM230S4YHVV",0,"MIT","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-2026\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: react-2026\ndescription: Provides a comprehensive guide to the modern React 2026 stack. Use when starting a new React project or modernizing an existing one with current frameworks, build tools, routing, state management, or AI integration.\ncontext: fork\nallowed-tools: Read, Grep, Glob\npaths:\n  - \"**\u002F*.tsx\"\n  - \"**\u002F*.jsx\"\nlicense: MIT\nmetadata:\n  author: patterns.dev\n  version: \"1.1\"\nrelated_skills:\n  - \"hooks-pattern\"\n  - \"hoc-pattern\"\n---\n\n# React Stack Patterns\n\n## Table of Contents\n\n- [When to Use](#when-to-use)\n- [Instructions](#instructions)\n- [Details](#details)\n- [Source](#source)\n\nReact has come a long way since its early days of simple component libraries. By late 2025, the React ecosystem is **rich but complex**, offering multiple ways to choose your stack for building apps. Modern React developers face choices at every layer of the stack - from **build tools** and **frameworks** to **routers** and other libraries. The official React documentation (now at **react.dev**) encourages using higher-level frameworks for new projects. In fact, **Create React App (CRA)** - once the go-to bootstrap tool - was deprecated in early 2025, signaling a shift in how we start React apps.\n\nInstead of stitching together your own tooling from scratch, the recommendation is to either **use a React framework** (like Next.js or Remix) or, if you have special requirements, start from a modern **build tool** like Vite or Parcel. In this opinionated guide, we'll explore the 2025 React landscape: the **toolchain and stack** we suggest for mid-to-senior developers, covering build tools (Vite, Turbopack, Webpack), routing solutions (React Router vs. TanStack Router), popular frameworks (Next.js, Remix, etc.), key libraries for state and data management, and even how **AI is influencing React development**.\n\n## When to Use\n\n- Use this as a reference when choosing your React stack (framework, build tools, routing, state management)\n- This is helpful when starting a new React project and evaluating modern ecosystem options\n\n## Instructions\n\n- For full-stack apps needing SSR\u002FSEO: use Next.js or Remix as the framework\n- For SPAs, internal tools, and dashboards: use Vite + React Router or TanStack Router\n- Use Vite as the build tool for any custom (non-framework) React setup\n- Consider TanStack Router for type-safe routing in custom stacks; use framework-provided routing otherwise\n- Use TanStack Query (React Query) for server state and Zustand or Redux for complex global state\n- Use React 19 APIs (ref as prop, use(), Actions) where supported\n- Embrace AI-assisted development tools but always validate generated code\n\n## Details\n\n**Target Audience:** This guide is written for intermediate to senior React developers who know the basics and want to make informed choices about their stack in 2025.\n\n### Official Guidance and Evolving Best Practices\n\nReact's core team has updated its guidance in line with community trends. The new React docs emphasize *\"don't reinvent the wheel\"* when starting a project. **Create React App** served us well to quickly spin up React SPAs, but it struggled to scale to production needs (e.g. lacking built-in routing or SSR). With CRA now deprecated, developers are nudged either toward **full-featured frameworks** or assembling their own stack using lighter tools. The rule of thumb given by React core: **if your app needs routing, you will benefit from a framework**. Modern frameworks tightly integrate routing with data fetching, code-splitting, and more, so you don't end up writing a mini-framework yourself.\n\nWhy this shift? Over the last few years, React has introduced powerful features like **hooks**, **concurrent rendering**, and **Server Components**. But leveraging many of these in an optimal way often requires sophisticated tooling. Frameworks like Next.js have become the vehicle for React's newest capabilities (e.g. streaming SSR, server-side data loading, etc.). **React Server Components (RSC)** landed as a production-ready feature in Next.js 13's App Router, enabling a *hybrid rendering model* (server-driven UI with zero JS cost for server-rendered components). Early reports showed **bundle size reductions over 20%** when using RSC, since logic that runs on the server doesn't ship to the client. React 19 is also stabilizing **Server Actions** (invoked with a `'use server'` directive) which let you define form submissions or other mutations to run on the server - further blurring the line between front and back end.\n\nThat said, not every project needs a heavyweight framework. The React team acknowledges there *are cases for going lean*: small widgets, adding React to an existing site, or learning by building from scratch. If you choose the custom route, you can still follow React's updated \"Build from Scratch\" guides using modern tools like Vite or **RSBuild**.\n\n### Build Tools in 2025: Vite, Turbopack, and Beyond\n\nThe **build toolchain** is what transforms your React code (JSX, CSS, etc.) into something that runs in the browser. In 2025, the developer experience has greatly improved:\n\n* **Vite** has become the de facto choice for non-framework React projects. Vite provides a super-fast dev server (powered by ESBuild) and uses Rollup for production bundling. Its popularity has surged, and by 2025 its React integration is the second most widely used build setup after Next.js. The appeal: **instant server start** and near-instant module hot reloads. If you're migrating off CRA, the React team explicitly suggests **Vite** as a top choice.\n\n* **Turbopack** - the new Rust-based bundler introduced by Vercel - is an upcoming star positioned as the spiritual successor to Webpack, focused on **incremental compilation** for ultrafast reloads. It's integrated within Next.js, so if you use Next, you'll likely benefit from it. Outside of Next, Turbopack isn't yet a generic tool.\n\n* **Webpack** - the long-time workhorse - is still with us, but mostly in legacy mode. For new projects, you'd rarely choose Webpack directly in 2025 unless you have very specific needs. **Webpack for legacy, Vite (or framework default) for greenfield**.\n\n* **Rspack \u002F RSBuild** - part of a new breed of **Rust-powered bundlers**. **Rspack** is a high-performance bundler largely compatible with Webpack's ecosystem. **RSBuild** is a zero-config build tool built on Rspack, offering an easy setup for frameworks including React.\n\nIn summary, **our pick for most cases is Vite** - it's quick to start, fast to run, and well-supported.\n\n### Frameworks and Starting Points\n\nChoosing a **starting point** for a React project in 2025 often means choosing a **framework**.\n\n**Next.js (Full-Stack React Framework):** Next.js, maintained by Vercel, has become *the* go-to solution for production React apps. It provides out-of-the-box support for **file-based routing**, **SSR**, **SSG**, **image optimization**, API routes, and **React Server Components**. Next's strength is in its **strong defaults and conventions**. Our **top recommendation for building a new React app** when you want a complete solution.\n\n**Remix (and React Router v7):** Remix emphasizes web fundamentals and progressive enhancement. Created by the React Router team, Remix introduced an integrated approach to **routing + data loading + mutations**. React Router v7 adopted many of Remix's patterns. A solid choice especially for apps where you want fine-grained control over server-vs-client work.\n\n**\"No Framework\" Custom Setup (Vite + library stack):** If you decide a full framework is not needed, start with **Vite** and add pieces: e.g. **React Router or TanStack Router for routing, React Query for data fetching**. You might choose this for something like an internal tool where SSR\u002FSEO are irrelevant.\n\n**Other Notables:** **Astro** has gained attention for content sites (zero JS by default, mix frameworks). **RedwoodJS** offers an opinionated \"React + GraphQL + Prisma + SSR\" stack. **Expo** with the **Expo Router** brings React Native and web together.\n\n**Our opinionated advice:** Match the tool to the job:\n- **Next.js** for public-facing apps that need SSR, SEO, or server components\n- **Remix** for apps that emphasize progressive enhancement and web fundamentals\n- **Vite + React Router\u002FTanStack Router** for SPAs, dashboards, internal tools, and any app where SSR isn't a requirement\n\n**Custom Vite SSR (without a meta-framework):** If you need SSR but don't want a full framework, Vite has built-in SSR support. Tools like **Vike** (formerly vite-plugin-ssr) provide a thin layer on top of Vite for file-based routing with SSR, giving you framework-like DX while keeping full control.\n\n```typescript\n\u002F\u002F server.ts — minimal custom Vite SSR setup\nimport express from 'express'\nimport { createServer as createViteServer } from 'vite'\n\nconst app = express()\nconst vite = await createViteServer({ server: { middlewareMode: true } })\napp.use(vite.middlewares)\n\napp.use('*', async (req, res) => {\n  const template = await vite.transformIndexHtml(req.originalUrl, indexHtml)\n  const { render } = await vite.ssrLoadModule('\u002Fsrc\u002Fentry-server.tsx')\n  const appHtml = await render(req.originalUrl)\n  res.send(template.replace('\u003C!--app-->', appHtml))\n})\n```\n\nThis is a good fit when you need SSR for SEO or performance but your app's routing and data loading are simple enough that a framework adds more complexity than value.\n\nMany successful React apps in 2025 run on Vite without a meta-framework. The key is choosing the right tool for your constraints, not defaulting to the most feature-rich option.\n\n### Routing Solutions: React Router vs. TanStack Router\n\n**Framework-provided Routing:** If you use Next.js or Remix, routing is largely solved by the framework. These frameworks tie routing with data fetching closely, which avoids common pitfalls like loading waterfalls.\n\n**React Router:** Battle-tested and widely used. React Router v6 introduced a simplified API with hooks and nested routes. By v6.4+, it added **async data and suspense support**. Still a top choice if you're not using a framework.\n\n**TanStack Router:** A newer entrant with first-class **TypeScript** support, built-in **data loaders with caching**, and a rich API for **search params**. It's trying to give you the power of a Remix\u002FNext router but decoupled from a specific framework.\n\nThe **biggest differences**: **Type Safety** and **Developer Experience**. TanStack Router is built \"TS-first\". React Router is more minimal. Both can do nested routes and data loading.\n\n**Our recommendation:** For custom stacks, give **TanStack Router** a serious look for its modern feature set. React Router is still perfectly valid, especially if your team is already familiar with it.\n\n```jsx\nimport { createRootRoute, createRoute, createRouter, RouterProvider } from '@tanstack\u002Freact-router';\n\nconst rootRoute = createRootRoute();\nconst indexRoute = createRoute({\n  getParentRoute: () => rootRoute,\n  path: '\u002F',\n  component: () => \u003Cdiv>Hello, world!\u003C\u002Fdiv>,\n});\n\nconst routeTree = rootRoute.addChildren([indexRoute]);\nconst router = createRouter({ routeTree });\n\nexport default function App() {\n  return \u003CRouterProvider router={router} \u002F>;\n}\n```\n\n### State Management and Data Fetching Libraries\n\n**Local and Global State with Hooks:** For local state, `useState` and `useReducer` suffice. React's Context API works for lightweight global state but be careful — context updates re-render all consumers.\n\n**Redux (and modern Redux Toolkit):** Very much alive in 2025, though concentrated in large applications. **Redux Toolkit (RTK)** significantly reduces boilerplate. **When should you reach for Redux?** If your app has very complex state transitions or you need features like undo\u002Fredo, caching, devtools.\n\n**Zustand, Jotai, and lightweight state libraries:** For simpler global store needs. Zustand provides a minimalistic, hook-based global state store with **no boilerplate**.\n\n**TanStack Query:** The leader for managing **server state**. Provides hooks like `useQuery` and `useMutation` to declaratively fetch and cache data.\n\n```tsx\nimport { useQuery } from '@tanstack\u002Freact-query';\n\nfunction TodoList() {\n  const { data: todos, error, isLoading } = useQuery({\n    queryKey: ['todos'],\n    queryFn: fetchTodos,\n  });\n  if (isLoading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  return \u003Cul>{todos.map(t => \u003Cli key={t.id}>{t.title}\u003C\u002Fli>)}\u003C\u002Ful>;\n}\n```\n\n**React Query and friends remain relevant** even in the age of RSC — they might be used more for *mutations and real-time updates* while initial loads shift to server-side.\n\n**Form State:** **React Hook Form** has established itself as a great library. Coupled with **Zod** for schemas, you can validate inputs declaratively.\n\n**Key Libraries:** MUI, Chakra UI, Radix UI, Headless UI for components. **@tanstack\u002Freact-virtual** for list virtualization. **Vitest + React Testing Library** for testing in Vite projects, **Jest + React Testing Library** for other setups, **Cypress** or **Playwright** for E2E.\n\n### Tailwind CSS v4 Integration\nReact 2026 stack defaults to Tailwind CSS v4, which introduces significant changes:\n- Eliminates `tailwind.config.ts`.\n- Uses `@tailwindcss\u002Fpostcss` instead of the legacy `tailwindcss` PostCSS plugin.\n- Relies on CSS variables via `@theme` directive in the main stylesheet (e.g., `@import \"tailwindcss\"; @theme { --color-background: #000; }`).\n- Mixing v3 config syntax in a v4 environment causes build errors like `Cannot apply unknown utility class` or missing `@reference`.\n\n### Testing with Vitest\n\nFor Vite projects, **Vitest** is the natural testing companion — it shares Vite's config, transforms, and plugin pipeline, so there's no separate test bundler to configure or keep in sync.\n\n```typescript\n\u002F\u002F vite.config.ts — Vitest uses this directly\n\u002F\u002F\u002F \u003Creference types=\"vitest\u002Fconfig\" \u002F>\nimport { defineConfig } from 'vite'\nimport react from '@vitejs\u002Fplugin-react'\n\nexport default defineConfig({\n  plugins: [react()],\n  test: {\n    environment: 'jsdom',\n    globals: true,\n    setupFiles: '.\u002Fsrc\u002Ftest\u002Fsetup.ts',\n    css: true,\n  },\n})\n```\n\n```typescript\n\u002F\u002F src\u002Ftest\u002Fsetup.ts\nimport '@testing-library\u002Fjest-dom\u002Fvitest'\n```\n\n```tsx\n\u002F\u002F src\u002Fcomponents\u002FButton.test.tsx\nimport { render, screen } from '@testing-library\u002Freact'\nimport userEvent from '@testing-library\u002Fuser-event'\nimport { Button } from '.\u002FButton'\n\ntest('calls onClick when clicked', async () => {\n  const onClick = vi.fn()\n  render(\u003CButton onClick={onClick}>Save\u003C\u002FButton>)\n  await userEvent.click(screen.getByRole('button', { name: 'Save' }))\n  expect(onClick).toHaveBeenCalledOnce()\n})\n```\n\nVitest gives you: instant watch mode (shared with Vite's transform cache), native ESM support, Jest-compatible API (`describe`, `it`, `expect`, `vi.fn()`), in-source testing, and built-in code coverage with `v8` or `istanbul`.\n\n### React 19 and Modern APIs\n\nReact 19 brings several significant API changes that simplify common patterns:\n\n**ref as a regular prop:** No more `forwardRef` — pass `ref` directly as a prop:\n\n```tsx\n\u002F\u002F React 19 — ref is just a prop\nfunction Input({ ref, ...props }: InputProps & { ref?: React.Ref\u003CHTMLInputElement> }) {\n  return \u003Cinput ref={ref} {...props} \u002F>\n}\n```\n\n**`use()` API:** Can read promises or context, and unlike Hooks it can be called conditionally:\n\n```tsx\nimport { use } from 'react'\n\nfunction UserPanel({ show }: { show: boolean }) {\n  if (!show) return null\n  const user = use(UserContext)\n  return \u003Cdiv>{user.name}\u003C\u002Fdiv>\n}\n```\n\n**Actions and useActionState:** Simplify form handling with server and client actions:\n\n```tsx\nfunction ContactForm() {\n  const [state, formAction, isPending] = useActionState(submitContact, null)\n  return (\n    \u003Cform action={formAction}>\n      \u003Cinput name=\"email\" type=\"email\" required \u002F>\n      \u003Cbutton disabled={isPending}>Submit\u003C\u002Fbutton>\n      {state?.error && \u003Cp>{state.error}\u003C\u002Fp>}\n    \u003C\u002Fform>\n  )\n}\n```\n\n**`useOptimistic`:** Instant UI feedback during async operations:\n\n```tsx\nfunction TodoList({ todos }: { todos: Todo[] }) {\n  const [optimisticTodos, addOptimistic] = useOptimistic(todos)\n\n  async function addTodo(text: string) {\n    addOptimistic([...optimisticTodos, { id: 'temp', text, pending: true }])\n    await saveTodo(text)\n  }\n\n  return \u003Cul>{optimisticTodos.map(t => \u003Cli key={t.id}>{t.text}\u003C\u002Fli>)}\u003C\u002Ful>\n}\n```\n\n**React Compiler:** An opt-in compiler that auto-memoizes components and expressions, eliminating the need for manual `useMemo`, `useCallback`, and `React.memo` in most cases. For Vite projects, add it as a Babel plugin:\n\n```typescript\n\u002F\u002F vite.config.ts\nimport react from '@vitejs\u002Fplugin-react'\n\nexport default defineConfig({\n  plugins: [\n    react({\n      babel: {\n        plugins: ['babel-plugin-react-compiler'],\n      },\n    }),\n  ],\n})\n```\n\nRequires React 19. Can be adopted incrementally per-file with a `'use memo'` directive.\n\n### Vite-Specific Best Practices\n\nWhen using Vite + React (without a meta-framework), follow these essentials:\n\n- **Barrel file imports** are the #1 bundle size issue — import directly from source files, not barrel `index.ts` files. Use `vite-plugin-barrel` if you need ergonomic syntax.\n- **Manual chunk splitting** — split vendor code by stability (react, router, query, UI library) for better caching.\n- **Route-level code splitting** — use `React.lazy()` for each route, wrapped in `\u003CSuspense>`.\n- **Dependency pre-bundling** — add slow-to-resolve deps to `optimizeDeps.include` for faster dev server.\n- **Bundle analysis** — run `npx vite-bundle-visualizer` after every major dependency change.\n\nSee the **vite-bundle-optimization** skill for complete Vite configuration patterns.\n\n### React + AI: The New Frontier of \"Vibe Coding\"\n\n**AI-Assisted Development:** Tools like Copilot, ChatGPT, or Cursor can generate components, suggest hooks, and configure build tools. The term **\"vibe coding\"** describes a workflow where developers collaborate with AI assistants. Senior developers get more out of it because they know what to ask and how to verify the output.\n\nTips for \"vibe coding\" effectively:\n- Use AI for boilerplate and configuration\n- Generate component templates\n- Leverage AI for tests and types\n- Stay in control — always review AI-generated code\n\n**AI in React Apps (AI-powered UI):** React developers are increasingly asked to build UIs that incorporate AI features. Key considerations include prompt management, streaming responses, error handling, and AI-specific UI elements. The Vercel AI SDK provides hooks like `useChat` that abstract streaming and caching.\n\n**Our take:** Embrace AI as a tool in your React development workflow. Use your expertise to guide the AI: you define the architecture, let the AI fill in the boilerplate, then you refine the results.\n\n### Conclusion\n\nReact in 2026 offers an abundance of choices:\n\n* **Build tool:** Start with Vite for most cases (or Turbopack if inside Next.js).\n* **Framework or not:** Lean towards using a React framework (Next.js being the frontrunner) for any sizeable app.\n* **Routing:** If on Next\u002FRemix, use what's built-in. If building your own stack, consider TanStack Router for type safety or React Router for reliability.\n* **State and data libraries:** Use React Query for server data, Zustand or Redux for complex global state.\n* **Embrace new React features:** Hooks are standard. Use React 19 APIs (`use()`, Actions, `useOptimistic`). Understand **Server Components**. Try the React Compiler for auto-memoization.\n* **Performance:** Use `useTransition` for non-urgent updates, derived state over stored state, `useSyncExternalStore` for external subscriptions. See the **react-render-optimization** and **react-data-fetching** skills.\n* **AI in your workflow:** Enhance productivity with AI coding assistants, but always validate output.\n\n### Deployment & Containerization Pitfalls\n- **Next.js Docker Builds:** Next.js production builds (`npm run build`) can consume massive disk space and memory. In constrained environments like a VPS, this often triggers `no space left on device` errors. Clean up unused Docker objects (`docker system prune -af --volumes`) to clear space before building.\n- **Port Collisions:** When running Next.js in Docker, map a free port (e.g., `3001:3000`) if the host's port 3000 is occupied by another service. Always check if the port is free with `curl` or by checking logs before committing to it.\n- **Middleware Deprecation:** Next.js 15+ routing configurations may trigger a warning: `The \"middleware\" file convention is deprecated. Please use \"proxy\" instead`. If encountering this, adhere to the framework's deprecation guidance.\n- **JSX compilation errors (`Unexpected token`):** Be very careful when using tools like `sed` to patch Next.js \u002F React TSX files. Unescaped characters (like `\u003C` or `>`) or incorrectly formatted HTML fragments (e.g. `\u003C\u002Fmain>copy;` instead of `&copy;`) will immediately break the build and throw an \"Unexpected token\" error. When making substantial changes to a component, rewrite the file completely rather than attempting fragile inline sed replacements.\n\n- **Drizzle ORM vs Docker init.sql:** When managing schemas with `drizzle-kit push`, ensure your Postgres container doesn't use an `init.sql` script to pre-seed data. Drizzle will conflict with pre-existing data (prompting to truncate interactively, which breaks headless pipelines). Separate schema pushes from data seeding scripts.\n\nReact is more powerful than ever. By choosing the right stack, you'll be well-equipped to build robust, scalable applications. Happy coding, and may your components re-render only when necessary!\n\n## Source\n\n- [patterns.dev\u002Freact\u002Freact-2026](https:\u002F\u002Fpatterns.dev\u002Freact\u002Freact-2026)\n- `references\u002Fmodern_saas_ui.md`: Guidelines for building modern, emotionally engaging SaaS UIs with Tailwind and micro-interactions.\n","# React Stack Patterns\n\n## Table of Contents\n\n- [When to Use](#when-to-use)\n- [Instructions](#instructions)\n- [Details](#details)\n- [Source](#source)\n\nReact has come a long way since its early days of simple component libraries. By late 2025, the React ecosystem is **rich but complex**, offering multiple ways to choose your stack for building apps. Modern React developers face choices at every layer of the stack - from **build tools** and **frameworks** to **routers** and other libraries. The official React documentation (now at **react.dev**) encourages using higher-level frameworks for new projects. In fact, **Create React App (CRA)** - once the go-to bootstrap tool - was deprecated in early 2025, signaling a shift in how we start React apps.\n\nInstead of stitching together your own tooling from scratch, the recommendation is to either **use a React framework** (like Next.js or Remix) or, if you have special requirements, start from a modern **build tool** like Vite or Parcel. In this opinionated guide, we'll explore the 2025 React landscape: the **toolchain and stack** we suggest for mid-to-senior developers, covering build tools (Vite, Turbopack, Webpack), routing solutions (React Router vs. TanStack Router), popular frameworks (Next.js, Remix, etc.), key libraries for state and data management, and even how **AI is influencing React development**.\n\n## When to Use\n\n- Use this as a reference when choosing your React stack (framework, build tools, routing, state management)\n- This is helpful when starting a new React project and evaluating modern ecosystem options\n\n## Instructions\n\n- For full-stack apps needing SSR\u002FSEO: use Next.js or Remix as the framework\n- For SPAs, internal tools, and dashboards: use Vite + React Router or TanStack Router\n- Use Vite as the build tool for any custom (non-framework) React setup\n- Consider TanStack Router for type-safe routing in custom stacks; use framework-provided routing otherwise\n- Use TanStack Query (React Query) for server state and Zustand or Redux for complex global state\n- Use React 19 APIs (ref as prop, use(), Actions) where supported\n- Embrace AI-assisted development tools but always validate generated code\n\n## Details\n\n**Target Audience:** This guide is written for intermediate to senior React developers who know the basics and want to make informed choices about their stack in 2025.\n\n### Official Guidance and Evolving Best Practices\n\nReact's core team has updated its guidance in line with community trends. The new React docs emphasize *\"don't reinvent the wheel\"* when starting a project. **Create React App** served us well to quickly spin up React SPAs, but it struggled to scale to production needs (e.g. lacking built-in routing or SSR). With CRA now deprecated, developers are nudged either toward **full-featured frameworks** or assembling their own stack using lighter tools. The rule of thumb given by React core: **if your app needs routing, you will benefit from a framework**. Modern frameworks tightly integrate routing with data fetching, code-splitting, and more, so you don't end up writing a mini-framework yourself.\n\nWhy this shift? Over the last few years, React has introduced powerful features like **hooks**, **concurrent rendering**, and **Server Components**. But leveraging many of these in an optimal way often requires sophisticated tooling. Frameworks like Next.js have become the vehicle for React's newest capabilities (e.g. streaming SSR, server-side data loading, etc.). **React Server Components (RSC)** landed as a production-ready feature in Next.js 13's App Router, enabling a *hybrid rendering model* (server-driven UI with zero JS cost for server-rendered components). Early reports showed **bundle size reductions over 20%** when using RSC, since logic that runs on the server doesn't ship to the client. React 19 is also stabilizing **Server Actions** (invoked with a `'use server'` directive) which let you define form submissions or other mutations to run on the server - further blurring the line between front and back end.\n\nThat said, not every project needs a heavyweight framework. The React team acknowledges there *are cases for going lean*: small widgets, adding React to an existing site, or learning by building from scratch. If you choose the custom route, you can still follow React's updated \"Build from Scratch\" guides using modern tools like Vite or **RSBuild**.\n\n### Build Tools in 2025: Vite, Turbopack, and Beyond\n\nThe **build toolchain** is what transforms your React code (JSX, CSS, etc.) into something that runs in the browser. In 2025, the developer experience has greatly improved:\n\n* **Vite** has become the de facto choice for non-framework React projects. Vite provides a super-fast dev server (powered by ESBuild) and uses Rollup for production bundling. Its popularity has surged, and by 2025 its React integration is the second most widely used build setup after Next.js. The appeal: **instant server start** and near-instant module hot reloads. If you're migrating off CRA, the React team explicitly suggests **Vite** as a top choice.\n\n* **Turbopack** - the new Rust-based bundler introduced by Vercel - is an upcoming star positioned as the spiritual successor to Webpack, focused on **incremental compilation** for ultrafast reloads. It's integrated within Next.js, so if you use Next, you'll likely benefit from it. Outside of Next, Turbopack isn't yet a generic tool.\n\n* **Webpack** - the long-time workhorse - is still with us, but mostly in legacy mode. For new projects, you'd rarely choose Webpack directly in 2025 unless you have very specific needs. **Webpack for legacy, Vite (or framework default) for greenfield**.\n\n* **Rspack \u002F RSBuild** - part of a new breed of **Rust-powered bundlers**. **Rspack** is a high-performance bundler largely compatible with Webpack's ecosystem. **RSBuild** is a zero-config build tool built on Rspack, offering an easy setup for frameworks including React.\n\nIn summary, **our pick for most cases is Vite** - it's quick to start, fast to run, and well-supported.\n\n### Frameworks and Starting Points\n\nChoosing a **starting point** for a React project in 2025 often means choosing a **framework**.\n\n**Next.js (Full-Stack React Framework):** Next.js, maintained by Vercel, has become *the* go-to solution for production React apps. It provides out-of-the-box support for **file-based routing**, **SSR**, **SSG**, **image optimization**, API routes, and **React Server Components**. Next's strength is in its **strong defaults and conventions**. Our **top recommendation for building a new React app** when you want a complete solution.\n\n**Remix (and React Router v7):** Remix emphasizes web fundamentals and progressive enhancement. Created by the React Router team, Remix introduced an integrated approach to **routing + data loading + mutations**. React Router v7 adopted many of Remix's patterns. A solid choice especially for apps where you want fine-grained control over server-vs-client work.\n\n**\"No Framework\" Custom Setup (Vite + library stack):** If you decide a full framework is not needed, start with **Vite** and add pieces: e.g. **React Router or TanStack Router for routing, React Query for data fetching**. You might choose this for something like an internal tool where SSR\u002FSEO are irrelevant.\n\n**Other Notables:** **Astro** has gained attention for content sites (zero JS by default, mix frameworks). **RedwoodJS** offers an opinionated \"React + GraphQL + Prisma + SSR\" stack. **Expo** with the **Expo Router** brings React Native and web together.\n\n**Our opinionated advice:** Match the tool to the job:\n- **Next.js** for public-facing apps that need SSR, SEO, or server components\n- **Remix** for apps that emphasize progressive enhancement and web fundamentals\n- **Vite + React Router\u002FTanStack Router** for SPAs, dashboards, internal tools, and any app where SSR isn't a requirement\n\n**Custom Vite SSR (without a meta-framework):** If you need SSR but don't want a full framework, Vite has built-in SSR support. Tools like **Vike** (formerly vite-plugin-ssr) provide a thin layer on top of Vite for file-based routing with SSR, giving you framework-like DX while keeping full control.\n\n```typescript\n\u002F\u002F server.ts — minimal custom Vite SSR setup\nimport express from 'express'\nimport { createServer as createViteServer } from 'vite'\n\nconst app = express()\nconst vite = await createViteServer({ server: { middlewareMode: true } })\napp.use(vite.middlewares)\n\napp.use('*', async (req, res) => {\n  const template = await vite.transformIndexHtml(req.originalUrl, indexHtml)\n  const { render } = await vite.ssrLoadModule('\u002Fsrc\u002Fentry-server.tsx')\n  const appHtml = await render(req.originalUrl)\n  res.send(template.replace('\u003C!--app-->', appHtml))\n})\n```\n\nThis is a good fit when you need SSR for SEO or performance but your app's routing and data loading are simple enough that a framework adds more complexity than value.\n\nMany successful React apps in 2025 run on Vite without a meta-framework. The key is choosing the right tool for your constraints, not defaulting to the most feature-rich option.\n\n### Routing Solutions: React Router vs. TanStack Router\n\n**Framework-provided Routing:** If you use Next.js or Remix, routing is largely solved by the framework. These frameworks tie routing with data fetching closely, which avoids common pitfalls like loading waterfalls.\n\n**React Router:** Battle-tested and widely used. React Router v6 introduced a simplified API with hooks and nested routes. By v6.4+, it added **async data and suspense support**. Still a top choice if you're not using a framework.\n\n**TanStack Router:** A newer entrant with first-class **TypeScript** support, built-in **data loaders with caching**, and a rich API for **search params**. It's trying to give you the power of a Remix\u002FNext router but decoupled from a specific framework.\n\nThe **biggest differences**: **Type Safety** and **Developer Experience**. TanStack Router is built \"TS-first\". React Router is more minimal. Both can do nested routes and data loading.\n\n**Our recommendation:** For custom stacks, give **TanStack Router** a serious look for its modern feature set. React Router is still perfectly valid, especially if your team is already familiar with it.\n\n```jsx\nimport { createRootRoute, createRoute, createRouter, RouterProvider } from '@tanstack\u002Freact-router';\n\nconst rootRoute = createRootRoute();\nconst indexRoute = createRoute({\n  getParentRoute: () => rootRoute,\n  path: '\u002F',\n  component: () => \u003Cdiv>Hello, world!\u003C\u002Fdiv>,\n});\n\nconst routeTree = rootRoute.addChildren([indexRoute]);\nconst router = createRouter({ routeTree });\n\nexport default function App() {\n  return \u003CRouterProvider router={router} \u002F>;\n}\n```\n\n### State Management and Data Fetching Libraries\n\n**Local and Global State with Hooks:** For local state, `useState` and `useReducer` suffice. React's Context API works for lightweight global state but be careful — context updates re-render all consumers.\n\n**Redux (and modern Redux Toolkit):** Very much alive in 2025, though concentrated in large applications. **Redux Toolkit (RTK)** significantly reduces boilerplate. **When should you reach for Redux?** If your app has very complex state transitions or you need features like undo\u002Fredo, caching, devtools.\n\n**Zustand, Jotai, and lightweight state libraries:** For simpler global store needs. Zustand provides a minimalistic, hook-based global state store with **no boilerplate**.\n\n**TanStack Query:** The leader for managing **server state**. Provides hooks like `useQuery` and `useMutation` to declaratively fetch and cache data.\n\n```tsx\nimport { useQuery } from '@tanstack\u002Freact-query';\n\nfunction TodoList() {\n  const { data: todos, error, isLoading } = useQuery({\n    queryKey: ['todos'],\n    queryFn: fetchTodos,\n  });\n  if (isLoading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error.message}\u003C\u002Fdiv>;\n  return \u003Cul>{todos.map(t => \u003Cli key={t.id}>{t.title}\u003C\u002Fli>)}\u003C\u002Ful>;\n}\n```\n\n**React Query and friends remain relevant** even in the age of RSC — they might be used more for *mutations and real-time updates* while initial loads shift to server-side.\n\n**Form State:** **React Hook Form** has established itself as a great library. Coupled with **Zod** for schemas, you can validate inputs declaratively.\n\n**Key Libraries:** MUI, Chakra UI, Radix UI, Headless UI for components. **@tanstack\u002Freact-virtual** for list virtualization. **Vitest + React Testing Library** for testing in Vite projects, **Jest + React Testing Library** for other setups, **Cypress** or **Playwright** for E2E.\n\n### Tailwind CSS v4 Integration\nReact 2026 stack defaults to Tailwind CSS v4, which introduces significant changes:\n- Eliminates `tailwind.config.ts`.\n- Uses `@tailwindcss\u002Fpostcss` instead of the legacy `tailwindcss` PostCSS plugin.\n- Relies on CSS variables via `@theme` directive in the main stylesheet (e.g., `@import \"tailwindcss\"; @theme { --color-background: #000; }`).\n- Mixing v3 config syntax in a v4 environment causes build errors like `Cannot apply unknown utility class` or missing `@reference`.\n\n### Testing with Vitest\n\nFor Vite projects, **Vitest** is the natural testing companion — it shares Vite's config, transforms, and plugin pipeline, so there's no separate test bundler to configure or keep in sync.\n\n```typescript\n\u002F\u002F vite.config.ts — Vitest uses this directly\n\u002F\u002F\u002F \u003Creference types=\"vitest\u002Fconfig\" \u002F>\nimport { defineConfig } from 'vite'\nimport react from '@vitejs\u002Fplugin-react'\n\nexport default defineConfig({\n  plugins: [react()],\n  test: {\n    environment: 'jsdom',\n    globals: true,\n    setupFiles: '.\u002Fsrc\u002Ftest\u002Fsetup.ts',\n    css: true,\n  },\n})\n```\n\n```typescript\n\u002F\u002F src\u002Ftest\u002Fsetup.ts\nimport '@testing-library\u002Fjest-dom\u002Fvitest'\n```\n\n```tsx\n\u002F\u002F src\u002Fcomponents\u002FButton.test.tsx\nimport { render, screen } from '@testing-library\u002Freact'\nimport userEvent from '@testing-library\u002Fuser-event'\nimport { Button } from '.\u002FButton'\n\ntest('calls onClick when clicked', async () => {\n  const onClick = vi.fn()\n  render(\u003CButton onClick={onClick}>Save\u003C\u002FButton>)\n  await userEvent.click(screen.getByRole('button', { name: 'Save' }))\n  expect(onClick).toHaveBeenCalledOnce()\n})\n```\n\nVitest gives you: instant watch mode (shared with Vite's transform cache), native ESM support, Jest-compatible API (`describe`, `it`, `expect`, `vi.fn()`), in-source testing, and built-in code coverage with `v8` or `istanbul`.\n\n### React 19 and Modern APIs\n\nReact 19 brings several significant API changes that simplify common patterns:\n\n**ref as a regular prop:** No more `forwardRef` — pass `ref` directly as a prop:\n\n```tsx\n\u002F\u002F React 19 — ref is just a prop\nfunction Input({ ref, ...props }: InputProps & { ref?: React.Ref\u003CHTMLInputElement> }) {\n  return \u003Cinput ref={ref} {...props} \u002F>\n}\n```\n\n**`use()` API:** Can read promises or context, and unlike Hooks it can be called conditionally:\n\n```tsx\nimport { use } from 'react'\n\nfunction UserPanel({ show }: { show: boolean }) {\n  if (!show) return null\n  const user = use(UserContext)\n  return \u003Cdiv>{user.name}\u003C\u002Fdiv>\n}\n```\n\n**Actions and useActionState:** Simplify form handling with server and client actions:\n\n```tsx\nfunction ContactForm() {\n  const [state, formAction, isPending] = useActionState(submitContact, null)\n  return (\n    \u003Cform action={formAction}>\n      \u003Cinput name=\"email\" type=\"email\" required \u002F>\n      \u003Cbutton disabled={isPending}>Submit\u003C\u002Fbutton>\n      {state?.error && \u003Cp>{state.error}\u003C\u002Fp>}\n    \u003C\u002Fform>\n  )\n}\n```\n\n**`useOptimistic`:** Instant UI feedback during async operations:\n\n```tsx\nfunction TodoList({ todos }: { todos: Todo[] }) {\n  const [optimisticTodos, addOptimistic] = useOptimistic(todos)\n\n  async function addTodo(text: string) {\n    addOptimistic([...optimisticTodos, { id: 'temp', text, pending: true }])\n    await saveTodo(text)\n  }\n\n  return \u003Cul>{optimisticTodos.map(t => \u003Cli key={t.id}>{t.text}\u003C\u002Fli>)}\u003C\u002Ful>\n}\n```\n\n**React Compiler:** An opt-in compiler that auto-memoizes components and expressions, eliminating the need for manual `useMemo`, `useCallback`, and `React.memo` in most cases. For Vite projects, add it as a Babel plugin:\n\n```typescript\n\u002F\u002F vite.config.ts\nimport react from '@vitejs\u002Fplugin-react'\n\nexport default defineConfig({\n  plugins: [\n    react({\n      babel: {\n        plugins: ['babel-plugin-react-compiler'],\n      },\n    }),\n  ],\n})\n```\n\nRequires React 19. Can be adopted incrementally per-file with a `'use memo'` directive.\n\n### Vite-Specific Best Practices\n\nWhen using Vite + React (without a meta-framework), follow these essentials:\n\n- **Barrel file imports** are the #1 bundle size issue — import directly from source files, not barrel `index.ts` files. Use `vite-plugin-barrel` if you need ergonomic syntax.\n- **Manual chunk splitting** — split vendor code by stability (react, router, query, UI library) for better caching.\n- **Route-level code splitting** — use `React.lazy()` for each route, wrapped in `\u003CSuspense>`.\n- **Dependency pre-bundling** — add slow-to-resolve deps to `optimizeDeps.include` for faster dev server.\n- **Bundle analysis** — run `npx vite-bundle-visualizer` after every major dependency change.\n\nSee the **vite-bundle-optimization** skill for complete Vite configuration patterns.\n\n### React + AI: The New Frontier of \"Vibe Coding\"\n\n**AI-Assisted Development:** Tools like Copilot, ChatGPT, or Cursor can generate components, suggest hooks, and configure build tools. The term **\"vibe coding\"** describes a workflow where developers collaborate with AI assistants. Senior developers get more out of it because they know what to ask and how to verify the output.\n\nTips for \"vibe coding\" effectively:\n- Use AI for boilerplate and configuration\n- Generate component templates\n- Leverage AI for tests and types\n- Stay in control — always review AI-generated code\n\n**AI in React Apps (AI-powered UI):** React developers are increasingly asked to build UIs that incorporate AI features. Key considerations include prompt management, streaming responses, error handling, and AI-specific UI elements. The Vercel AI SDK provides hooks like `useChat` that abstract streaming and caching.\n\n**Our take:** Embrace AI as a tool in your React development workflow. Use your expertise to guide the AI: you define the architecture, let the AI fill in the boilerplate, then you refine the results.\n\n### Conclusion\n\nReact in 2026 offers an abundance of choices:\n\n* **Build tool:** Start with Vite for most cases (or Turbopack if inside Next.js).\n* **Framework or not:** Lean towards using a React framework (Next.js being the frontrunner) for any sizeable app.\n* **Routing:** If on Next\u002FRemix, use what's built-in. If building your own stack, consider TanStack Router for type safety or React Router for reliability.\n* **State and data libraries:** Use React Query for server data, Zustand or Redux for complex global state.\n* **Embrace new React features:** Hooks are standard. Use React 19 APIs (`use()`, Actions, `useOptimistic`). Understand **Server Components**. Try the React Compiler for auto-memoization.\n* **Performance:** Use `useTransition` for non-urgent updates, derived state over stored state, `useSyncExternalStore` for external subscriptions. See the **react-render-optimization** and **react-data-fetching** skills.\n* **AI in your workflow:** Enhance productivity with AI coding assistants, but always validate output.\n\n### Deployment & Containerization Pitfalls\n- **Next.js Docker Builds:** Next.js production builds (`npm run build`) can consume massive disk space and memory. In constrained environments like a VPS, this often triggers `no space left on device` errors. Clean up unused Docker objects (`docker system prune -af --volumes`) to clear space before building.\n- **Port Collisions:** When running Next.js in Docker, map a free port (e.g., `3001:3000`) if the host's port 3000 is occupied by another service. Always check if the port is free with `curl` or by checking logs before committing to it.\n- **Middleware Deprecation:** Next.js 15+ routing configurations may trigger a warning: `The \"middleware\" file convention is deprecated. Please use \"proxy\" instead`. If encountering this, adhere to the framework's deprecation guidance.\n- **JSX compilation errors (`Unexpected token`):** Be very careful when using tools like `sed` to patch Next.js \u002F React TSX files. Unescaped characters (like `\u003C` or `>`) or incorrectly formatted HTML fragments (e.g. `\u003C\u002Fmain>copy;` instead of `&copy;`) will immediately break the build and throw an \"Unexpected token\" error. When making substantial changes to a component, rewrite the file completely rather than attempting fragile inline sed replacements.\n\n- **Drizzle ORM vs Docker init.sql:** When managing schemas with `drizzle-kit push`, ensure your Postgres container doesn't use an `init.sql` script to pre-seed data. Drizzle will conflict with pre-existing data (prompting to truncate interactively, which breaks headless pipelines). Separate schema pushes from data seeding scripts.\n\nReact is more powerful than ever. By choosing the right stack, you'll be well-equipped to build robust, scalable applications. Happy coding, and may your components re-render only when necessary!\n\n## Source\n\n- [patterns.dev\u002Freact\u002Freact-2026](https:\u002F\u002Fpatterns.dev\u002Freact\u002Freact-2026)\n- `references\u002Fmodern_saas_ui.md`: Guidelines for building modern, emotionally engaging SaaS UIs with Tailwind and micro-interactions.\n",{"name":5,"paths":24,"context":27,"license":15,"metadata":28,"description":7,"allowed-tools":31,"related_skills":32},[25,26],"**\u002F*.tsx","**\u002F*.jsx","fork",{"author":29,"version":30},"patterns.dev","1.1","Read, Grep, Glob",[33,34],"hooks-pattern","hoc-pattern","main","236825fbf4e5956a8cd2b0bf843494f0a5dfaf04","skills\u002Fsoftware-development\u002Freact-2026","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills","https:\u002F\u002Fgithub.com\u002FSatangThevalue","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fsatangthevalue\u002F","Hi, I'm Sa-Tang. 🖐️🖐️🖐️\r\nThanks for following.\r\nสวัสดีครับ สตังค์ครับผม\r\nขอบคุณหรับการติดตามครับ","2026-10-10 12:10:40",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add SatangThevalue\u002Fai-skills --skill react-2026",{"tool":49,"command":50},"bunx","bunx skills add SatangThevalue\u002Fai-skills --skill react-2026",{"tool":52,"command":53},"pnpm","pnpm dlx skills add SatangThevalue\u002Fai-skills --skill react-2026","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-2026\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fmodern_saas_ui.md","REFERENCE","参考文档",1709,"https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-2026\u002Freferences\u002Fmodern_saas_ui.md",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M76TQY0W54NCMRVE9HB8MMTA","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M76TNN9AYY91KD4DT415K1FF","subagent-driven-development","Execute plans via delegate_task subagents (2-stage review).","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M76TME6SXP9SYJZCXX5FFZHR","react-composition-2026","Teaches modern React composition patterns for 2025\u002F2026. Use when designing component APIs, building shared UI libraries, or refactoring prop-heavy components.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Freact-composition-2026\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M76TM2FA8ZFZR1S6ZM34WFFK","plan","Plan mode: write markdown plan to .hermes\u002Fplans\u002F, no exec.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fplan\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M76TJVNAWDZ7DYQK3ZS0X09J","hermes-s6-container-supervision","Modify, debug, or extend the s6-overlay supervision tree inside the Hermes Agent Docker image — adding new services, debugging profile gateways, understanding the Architecture B main-program pattern.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fhermes-s6-container-supervision\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M76TJMN92BFXDPAFHN8YDMKF","hermes-agent-skill-authoring","Author in-repo SKILL.md: frontmatter, validator, structure.","https:\u002F\u002Fgithub.com\u002FSatangThevalue\u002Fai-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fhermes-agent-skill-authoring\u002FSKILL.md",[],[]]