04-web-and-network/web-development/SKILL.md
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
npx skillsauth add gaku52/claude-code-skills web-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
This skill covers modern web development fundamentals:
| Framework | Use Case | Pros | Cons | |-----------|----------|------|------| | Next.js | Full-stack web apps | SSR/SSG built-in, SEO optimized, App Router | Higher learning curve | | React (Vite) | SPA, admin dashboards | Simple, flexible | SEO requires extra work | | Remix | Full-stack | Nested routing, great UX | Smaller ecosystem | | Vue (Nuxt) | Full-stack | Easier to learn | Smaller ecosystem than React | | Astro | Content sites | Extremely fast, partial hydration | Not suited for complex apps |
Is SEO critical?
├─ Yes → Need server-side rendering
│ ├─ Prefer React → Next.js
│ └─ Prefer Vue → Nuxt.js
└─ No → SPA is fine
├─ Admin panel / internal tool → React + Vite
└─ Content-focused site → Astro
project/
├── app/
│ ├── (marketing)/
│ │ ├── layout.tsx
│ │ ├── page.tsx # /
│ │ └── about/page.tsx # /about
│ ├── dashboard/
│ │ ├── layout.tsx
│ │ └── page.tsx # /dashboard
│ ├── api/
│ │ └── users/route.ts # /api/users
│ ├── layout.tsx
│ └── globals.css
├── components/
│ ├── ui/ # shadcn/ui etc.
│ └── features/
├── lib/
│ ├── utils.ts
│ ├── api.ts
│ └── db.ts
├── hooks/
├── types/
└── public/
project/
├── src/
│ ├── pages/
│ ├── components/
│ │ ├── Header.tsx
│ │ └── ui/
│ ├── hooks/
│ ├── lib/
│ ├── store/
│ ├── types/
│ ├── App.tsx
│ └── main.tsx
└── public/
{
"devDependencies": {
"eslint": "^8.0.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
}
.prettierrc
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
Git Hooks (Husky)
pnpm add -D husky lint-staged
{
"lint-staged": {
"*.{ts,tsx}": ["eslint --fix", "prettier --write"]
}
}
pnpm create next-app@latest my-app --typescript --tailwind --app
cd my-app
pnpm add zustand zod react-hook-form
pnpm dlx shadcn-ui@latest init
pnpm create vite@latest my-app --template react-ts
cd my-app
pnpm install
pnpm add react-router-dom zustand
pnpm add -D tailwindcss postcss autoprefixer
// store/userStore.ts
import { create } from 'zustand'
interface UserStore {
user: User | null
setUser: (user: User) => void
logout: () => void
}
export const useUserStore = create<UserStore>((set) => ({
user: null,
setUser: (user) => set({ user }),
logout: () => set({ user: null }),
}))
import { useUserStore } from '@/store/userStore'
export function UserProfile() {
const { user, logout } = useUserStore()
if (!user) return <div>Not logged in</div>
return (
<div>
<p>{user.name}</p>
<button onClick={logout}>Logout</button>
</div>
)
}
// ❌ Unnecessary micro-components
function UserName({ name }: { name: string }) { return <span>{name}</span> }
function UserEmail({ email }: { email: string }) { return <span>{email}</span> }
// ✅ Keep it simple
function UserProfile({ user }: { user: User }) {
return <div><span>{user.name}</span><span>{user.email}</span></div>
}
// ❌ Passing props through many layers
function App() {
const [user, setUser] = useState<User | null>(null)
return <Dashboard user={user} setUser={setUser} />
}
// ✅ Use Zustand instead
const useUserStore = create<UserStore>((set) => ({
user: null,
setUser: (user) => set({ user }),
}))
// ❌ Client-side fetch with useEffect
function UserList() {
const [users, setUsers] = useState<User[]>([])
useEffect(() => {
fetch('/api/users').then(res => res.json()).then(setUsers)
}, [])
}
// ✅ Server Component (Next.js App Router)
async function UserList() {
const users = await fetch('/api/users').then(res => res.json())
return <ul>{users.map(u => <li key={u.id}>{u.name}</li>)}</ul>
}
Last updated: 2026-05-24
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p
development
# Database Design > A comprehensive collection of practical guides for database design. Covers normalization, schema design, query optimization, performance tuning, and migration strategies -- everything needed to build efficient, scalable databases. ## Target Audience - Developers who want to design reliable, performant database schemas - Engineers working on query optimization and performance tuning - Teams managing database migrations and schema evolution ## Prerequisites - Basic SQL kno