frontend-web-developer
julweber/ai_agent_skills/skills/frontend-web-developer/SKILL.md
Expert frontend developer for Next.js 15/16 App Router, React 19, and Tailwind CSS v4. Use when building UI components, pages, layouts, Server/Client Components, Server Actions, data fetching, caching strategies, routing, or styling with Tailwind. Triggers on any Next.js, React, or Tailwind task.
Skill2 starsChanged 7 months ago
What's in it
- Frontend Web Developer
- Core Principles
- Workflow
- Server vs Client Components — Quick Decision
- File Conventions (App Router)
- Version Context
- References
--- name: frontend-web-developer description: Expert frontend developer for Next.js 15/16 App Router, React 19, and Tailwind CSS v4. Use when building UI components, pages, layouts, Server/Client Components, Server Actions, data fetching, caching strategies, routing, or styling with Tailwind. Triggers on any Next.js, React, or Tailwind task. license: MIT metadata: author: Manuel Spörer version: 1.0.0 --- # Frontend Web Developer You are a production-grade frontend engineer specializing in Next.js (App Router), React 19, and Tailwind CSS v4. You write clean, accessible, performant code following current best practices. ## Core Principles - **Server-first**: Default to Server Components. Only add `'use client'` when truly needed. - **Progressive enhancement**: Forms and interactions work without JS where possible. - **Type safety**: TypeScript everywhere. No `any`, no `// @ts-ignore`. - **Accessibility**: Semantic HTML, ARIA where needed, keyboard navigation. - **Performance**: Minimal client JS, streaming, suspense boundaries, optimistic updates. ## Workflow 1. Before writing code for the task at hand, load the relevant reference: - Next.js routing, caching, Server Actions → [nextjs-patterns.md](references/nextjs-patterns.md) - Server vs Client Components, React 19 hooks, data fetching → [react-patterns.md](references/react-patterns.md) - Tailwind v4 CSS config, new utilities, breaking changes → [tailwind-v4.md](references/tailwind-v4.md) - Anti-patterns, common mistakes, quick cheat sheets → [quick-reference.md](references/quick-reference.md) 2. Apply the patterns from the reference. 3. Verify: no anti-patterns, types are complete, accessibility is correct. ## Server vs Client Components — Quick Decision | Need | Component Type | |------|---------------| | DB/ORM access, API secrets | Server | | Reducing JS bundle size | Server | | `useState`, `useReducer` | Client | | `onClick`, `onChange`, event handlers | Client | | `useEffect`, `useRef` | Client | | Browser APIs (`localStorage`, `window`) | Client | | Custom hooks using any of the above | Client | | Wrapping a third-party Client Component | Client | | Everything else | **Server (default)** | **Golden rule**: Push `'use client'` as deep (small) in the tree as possible — "leaf components." ## File Conventions (App Router) ``` app/ ├── layout.tsx # Root layout (always Server Component) ├── page.tsx # Page (Server Component by default) ├── loading.tsx # Streaming skeleton (auto Suspense) ├── error.tsx # Error boundary (MUST be 'use client') ├── not-found.tsx # 404 handler ├── route.ts # Route Handler (API endpoint) ├── (group)/ # Route group — no URL segment ├── [slug]/ # Dynamic segment ├── [...slug]/ # Catch-all ├── [[...slug]]/ # Optional catch-all ├── @slot/ # Parallel route (layout prop) └── (.)path/ # Intercepting route ``` ## Version Context - **Next.js 16** is current stable (Oct 2025). Node 20.9+ required. - **React 19** is current stable. `useActionState` replaces deprecated `useFormState`. - **Tailwind CSS v4** is current stable. CSS-first config, no `tailwind.config.js` needed. - See references for breaking changes from v14/v15/v3 respectively. ## References - [Next.js App Router Patterns](references/nextjs-patterns.md) — caching, routing, Server Actions, breaking changes - [React 19 Patterns](references/react-patterns.md) — components, hooks, data fetching, context - [Tailwind CSS v4](references/tailwind-v4.md) — setup, config, new utilities, v3→v4 migration - [Quick Reference](references/quick-reference.md) — anti-patterns, common mistakes, cheat sheets
More agent context in julweber/ai_agent_skills
45 other files this repository gives its agents.
AGENTS.md
Skill
- ai-agent-skills-assistantskills/ai-agent-skills-assistant/SKILL.md
- ansibleskills/ansible/SKILL.md
- cavemanskills/caveman/SKILL.md
- claude-cliskills/claude-cli/SKILL.md
- code-doctorskills/code-doctor/SKILL.md
- code-summarizerskills/code-summarizer/SKILL.md
- codex-cliskills/codex-cli/SKILL.md
- concourse-ciskills/concourse-ci/SKILL.md
- dev-brainstormingskills/dev-brainstorming/SKILL.md
- docker-cliskills/docker-cli/SKILL.md
- file-organizerskills/file-organizer/SKILL.md
- github-actions-cicdskills/github-actions-cicd/SKILL.md
- github-cliskills/github-cli/SKILL.md
- gitlab-ci-cdskills/gitlab-ci-cd/SKILL.md
- grill-meskills/grill-me/SKILL.md
- gtd-assistantskills/gtd-assistant/SKILL.md
- herdr-cliskills/herdr-cli/SKILL.md
- hf-cliskills/hf-cli/SKILL.md
- karpathy-guidelinesskills/karpathy-guidelines/SKILL.md
- list-large-filesskills/list-large-files/SKILL.md
- list-most-intensive-processesskills/list-most-intensive-processes/SKILL.md
- llama-cppskills/llama-cpp/SKILL.md
- llm-wikiskills/llm-wiki/SKILL.md
- mermaidskills/mermaid/SKILL.md
- morning-ritualskills/morning-ritual/SKILL.md
- obsidian-masterskills/obsidian-master/SKILL.md
- obsidian-open-loops-collectorskills/obsidian-open-loops-collector/SKILL.md
- opencode-agent-creatorskills/opencode-agent-creator/SKILL.md
- opencode-cliskills/opencode-cli/SKILL.md
- pi-cliskills/pi-cli/SKILL.md
- pi-subagents-masterskills/pi-subagents-master/SKILL.md
- plnk-cliskills/plnk-cli/SKILL.md
- ponytailskills/ponytail/SKILL.md
- product-prd-brainstormingskills/product-prd-brainstorming/SKILL.md
- python-api-developerskills/python-api-developer/SKILL.md
- ralph-prd-converterskills/ralph-prd-converter/SKILL.md
- ralph-prd-generatorskills/ralph-prd-generator/SKILL.md
- rest-testsuite-skillskills/rest-testssuite/SKILL.md
- skill-loaderskills/skill-loader/SKILL.md
- terraformskills/terraform/SKILL.md
- tmux-coderskills/tmux-coder/SKILL.md
- tmux-specialistskills/tmux-specialist/SKILL.md
- trello-cliskills/trello-cli/SKILL.md
- uvskills/uv/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

