portal-component

Generate Next.js 16 portal components with TypeScript and Jotai atoms.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/legacy3/wowlab --skill portal-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portal-component
Source: https://github.com/legacy3/wowlab/tree/main/.claude/skills/portal-component
Command: npx skills add https://github.com/legacy3/wowlab --skill portal-component

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you generate Next.js portal components with standard patterns, streamlining page, component, and feature creation.

Core Features & Use Cases

  • Page Structure & Templates: Generate app/portal feature structure including page.tsx, loading.tsx, layout.tsx, and components/feature with index.ts, feature-page.tsx, feature-content.tsx, feature-context.tsx.
  • Template-based Components: Prebuilt templates for pages, components, and exports to accelerate development.
  • Guidance on State: Suggestions for using Jotai atoms in domain folders under atoms/.

Quick Start

Follow the templates to create /app/feature, with page.tsx, loading.tsx, layout.tsx, and corresponding component files.

Frequently Asked Questions about portal-component

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

FAQPage Schema
How do I generate Next.js portal components following standard conventions?

Generate Next.js portal components by using templates for page.tsx, loading.tsx, layout.tsx, and feature components organized under apps/portal. The Skill provides standardized folder structures and TypeScript patterns that follow Next.js 16 app router conventions, ensuring consistent component architecture across your portal application.

What's the best way to structure a new portal feature in Next.js?

Structure portal features by creating a feature folder with page.tsx for routing, loading.tsx for skeleton states, layout.tsx for shared layouts, and a components subdirectory containing feature-page.tsx, feature-content.tsx, and feature-context.tsx. This pattern aligns with Next.js 16 app router best practices and portal conventions.

Can I use Jotai atoms for state management in my portal components?

Yes, Jotai atoms are optional but recommended for portal state management. The Skill provides guidance on organizing atoms in domain-specific folders, allowing you to manage component state consistently within the portal's feature structure and React context patterns.

Do I need TypeScript to use these Next.js portal templates?

Yes, the portal component templates are built with TypeScript support. All generated page, component, and layout files follow TypeScript conventions, providing type safety and alignment with modern Next.js 16 app router development standards.

How do skeleton and loading states work in the portal template structure?

Loading states are handled via loading.tsx files that generate skeleton components matching your feature's UI. These load concurrently with page.tsx under Next.js 16's Suspense boundaries, providing instant visual feedback while your portal feature content fetches data.

What barrel exports are included in the portal component templates?

Barrel exports (index.ts files) are generated to aggregate component exports from feature folders, simplifying imports across your portal application. This pattern reduces import path complexity and centralizes re-export logic following Next.js component best practices.