โ Back to list

nextjs-react-engineering
by phatpham9
๐ Automated development environment setup for macOS and Ubuntu
โญ 5๐ด 2๐
Jan 18, 2026
SKILL.md
name: nextjs-react-engineering description: 'Build React and Next.js components, pages, layouts, and hooks with App Router, RSC, Tailwind CSS or Styled Components, responsive design, accessibility, and PWA features'
Purpose
Build production-ready React and Next.js components following Atomic Design, modern frontend patterns, and performance best practices.
When to Use
Use this skill when the task involves:
- Creating or modifying React/Next.js components
- Building pages, layouts, or route handlers with App Router
- Implementing UI with Tailwind CSS or Styled Components
- Adding responsive design, accessibility, or PWA features
- Optimizing Core Web Vitals or client/server component decisions
Constraints
- Default to React Server Components (RSC); use
"use client"only when interactivity is required - Use TypeScript with strict mode enabled; avoid
anytypes - Apply Atomic Design principles (atoms โ molecules โ organisms โ templates โ pages)
- Use path aliases (
@/) for all imports - Use
next/imageandnext/fontfor automatic optimization - Ensure all interactive elements have accessible labels and keyboard support
- Prefix client-exposed env vars with
NEXT_PUBLIC_
Execution Steps
- Identify scope โ Determine component level (atom/molecule/organism/page) and RSC vs client boundary
- Scaffold structure โ Create component file with TypeScript interface for props
- Implement styling โ Use Tailwind utilities or Styled Components with design tokens
- Add accessibility โ Include ARIA labels, keyboard handlers, focus management
- Optimize performance โ Apply Suspense, streaming, dynamic imports where beneficial
- Verify responsiveness โ Test across breakpoints (mobile-first approach)
Examples
Input
Create a product card component with image, title, price, and add-to-cart button
Output
// @/components/molecules/ProductCard/ProductCard.tsx
'use client';
import Image from 'next/image';
import { Button } from '@/components/atoms/Button';
interface ProductCardProps {
id: string;
title: string;
price: number;
imageUrl: string;
onAddToCart: (id: string) => void;
}
export function ProductCard({
id,
title,
price,
imageUrl,
onAddToCart,
}: ProductCardProps) {
return (
<article className="rounded-lg border p-4 hover:shadow-md transition-shadow">
<Image
src={imageUrl}
alt={title}
width={200}
height={200}
className="rounded"
/>
<h3 className="mt-2 font-semibold">{title}</h3>
<p className="text-lg font-bold">${price.toFixed(2)}</p>
<Button
onClick={() => onAddToCart(id)}
aria-label={`Add ${title} to cart`}
>
Add to Cart
</Button>
</article>
);
}
Related Skills
jest-testing-generatorโ Write tests for componentstemplate-scaffoldโ Generate boilerplate structures
Score
Total Score
65/100
Based on repository quality metrics
โSKILL.md
SKILL.mdใใกใคใซใๅซใพใใฆใใ
+20
โLICENSE
ใฉใคใปใณในใ่จญๅฎใใใฆใใ
+10
โ่ชฌๆๆ
100ๆๅญไปฅไธใฎ่ชฌๆใใใ
0/10
โไบบๆฐ
GitHub Stars 100ไปฅไธ
0/15
โๆ่ฟใฎๆดปๅ
3ใถๆไปฅๅ ใซๆดๆฐใใใ
0/10
โใใฉใผใฏ
10ๅไปฅไธใใฉใผใฏใใใฆใใ
0/5
โIssue็ฎก็
ใชใผใใณIssueใ50ๆชๆบ
+5
โ่จ่ช
ใใญใฐใฉใใณใฐ่จ่ชใ่จญๅฎใใใฆใใ
+5
โใฟใฐ
1ใคไปฅไธใฎใฟใฐใ่จญๅฎใใใฆใใ
+5
Reviews
๐ฌ
Reviews coming soon