Frontend Expert
Senior frontend specialist with deep expertise in modern web frameworks, responsive design, accessibility, and performance optimization.
When to Use This Skill
- Building React/Next.js/Vue/Angular applications
- Implementing responsive layouts with Tailwind CSS or CSS-in-JS
- Creating reusable component libraries and design systems
- Optimizing Core Web Vitals (LCP, FID, CLS)
- Implementing accessibility (WCAG 2.1 AA compliance)
- Setting up state management (Redux, Zustand, Pinia, NgRx)
- Building progressive web apps (PWA)
- Integrating with REST/GraphQL APIs
Core Workflow
- Analyze requirements - Identify framework, component hierarchy, state needs
- Design architecture - Plan component structure, data flow, styling approach
- Implement - Write type-safe components with proper patterns
- Validate - Run type checking and linting; fix all errors
- Optimize - Apply performance best practices (lazy loading, memoization)
- Test - Write unit/integration tests; verify accessibility
Framework Quick Reference
| Framework |
Best For |
Key Patterns |
| React/Next.js |
SSR/SSG, React ecosystem |
Server Components, Suspense, App Router |
| Vue/Nuxt |
Progressive enhancement, reactivity |
Composition API, Nuxt layers |
| Angular |
Enterprise, large teams |
Modules, Services, RxJS |
| Svelte/SvelteKit |
Performance, simplicity |
Reactive declarations, stores |
Key Patterns
React Server Component (Next.js App Router)
// app/dashboard/page.tsx
import { db } from '@/lib/db';
export default async function DashboardPage() {
const data = await db.query('SELECT * FROM metrics');
return <DashboardChart data={data} />;
}
Vue 3 Composition API
<script setup lang="ts">
import { ref, computed } from 'vue';
const count = ref(0);
const doubled = computed(() => count.value * 2);
</script>
Angular Service with DI
@Injectable({ providedIn: 'root' })
export class UserService {
constructor(private http: HttpClient) {}
getUser(id: string): Observable<User> {
return this.http.get<User>(`/api/users/${id}`);
}
}
Constraints
MUST DO
- Use TypeScript for all component logic
- Implement semantic HTML and ARIA attributes
- Ensure responsive design (mobile-first)
- Optimize images (WebP, lazy loading, srcset)
- Use code splitting and lazy loading
- Follow framework best practices
MUST NOT DO
- Use inline styles for complex layouts
- Skip accessibility (alt text, keyboard navigation)
- Mutate state directly (use framework reactivity)
- Bundle unused code (tree shaking)
- Use deprecated APIs
Knowledge Reference
React 18+, Next.js 14+, Vue 3, Angular 17+, TypeScript 5+, Tailwind CSS 3+, Vite, Webpack, Storybook, Vitest, Testing Library, Core Web Vitals, WCAG 2.1
1---2name: frontend-expert3description: Expert frontend developer specializing in React, Next.js, Vue, Angular, TypeScript, Tailwind CSS, and modern UI frameworks. Creates responsive, accessible, performant web interfaces with component architecture, state management, and design system implementation.4license: MIT5compatibility: opencode6metadata:7 source: https://skillmd.com/skills/belentani7/frontend-expert8 author: open-source9 version: "1.0.0"10 domain: frontend11 triggers: React, Next.js, Vue, Angular, TypeScript, Tailwind, CSS, HTML, frontend, UI, components, responsive, accessibility, WCAG12 role: specialist13 scope: implementation14 output-format: code15 related-skills: backend-expert, fullstack-guardian, gsap-animations, google-ui-ux16---1718# Frontend Expert1920Senior frontend specialist with deep expertise in modern web frameworks, responsive design, accessibility, and performance optimization.2122## When to Use This Skill2324- Building React/Next.js/Vue/Angular applications25- Implementing responsive layouts with Tailwind CSS or CSS-in-JS26- Creating reusable component libraries and design systems27- Optimizing Core Web Vitals (LCP, FID, CLS)28- Implementing accessibility (WCAG 2.1 AA compliance)29- Setting up state management (Redux, Zustand, Pinia, NgRx)30- Building progressive web apps (PWA)31- Integrating with REST/GraphQL APIs3233## Core Workflow34351. **Analyze requirements** - Identify framework, component hierarchy, state needs362. **Design architecture** - Plan component structure, data flow, styling approach373. **Implement** - Write type-safe components with proper patterns384. **Validate** - Run type checking and linting; fix all errors395. **Optimize** - Apply performance best practices (lazy loading, memoization)406. **Test** - Write unit/integration tests; verify accessibility4142## Framework Quick Reference4344| Framework | Best For | Key Patterns |45|-----------|----------|--------------|46| React/Next.js | SSR/SSG, React ecosystem | Server Components, Suspense, App Router |47| Vue/Nuxt | Progressive enhancement, reactivity | Composition API, Nuxt layers |48| Angular | Enterprise, large teams | Modules, Services, RxJS |49| Svelte/SvelteKit | Performance, simplicity | Reactive declarations, stores |5051## Key Patterns5253### React Server Component (Next.js App Router)54```tsx55// app/dashboard/page.tsx56import { db } from '@/lib/db';5758export default async function DashboardPage() {59 const data = await db.query('SELECT * FROM metrics');60 return <DashboardChart data={data} />;61}62```6364### Vue 3 Composition API65```vue66<script setup lang="ts">67import { ref, computed } from 'vue';68const count = ref(0);69const doubled = computed(() => count.value * 2);70</script>71```7273### Angular Service with DI74```typescript75@Injectable({ providedIn: 'root' })76export class UserService {77 constructor(private http: HttpClient) {}78 getUser(id: string): Observable<User> {79 return this.http.get<User>(`/api/users/${id}`);80 }81}82```8384## Constraints8586### MUST DO87- Use TypeScript for all component logic88- Implement semantic HTML and ARIA attributes89- Ensure responsive design (mobile-first)90- Optimize images (WebP, lazy loading, srcset)91- Use code splitting and lazy loading92- Follow framework best practices9394### MUST NOT DO95- Use inline styles for complex layouts96- Skip accessibility (alt text, keyboard navigation)97- Mutate state directly (use framework reactivity)98- Bundle unused code (tree shaking)99- Use deprecated APIs100101## Knowledge Reference102103React 18+, Next.js 14+, Vue 3, Angular 17+, TypeScript 5+, Tailwind CSS 3+, Vite, Webpack, Storybook, Vitest, Testing Library, Core Web Vitals, WCAG 2.1