Skip to main content

frontend-frameworks

Provide framework-specific guidance for React, Vue, Svelte, Solid, Astro, and SSR architecture.

소스 정보

저장소
glayph/Agent
최근 소스 활동
2026년 9월 19일 22:39
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
frontend-frameworks
description
Provide framework-specific guidance for React, Vue, Svelte, Solid, Astro, and SSR architecture.
version
1.0.0
author
Miki
license
MIT
platforms
["linux","macos","windows"]
metadata
{"Miki":{"tags":["react","vue","svelte","nextjs","ssr","spa"],"related_skills":["javascript","css-styling","responsive-design"]}}
# Front-End Frameworks ## Framework decision matrix | Need | Choice | |------|--------| | Full SPA | React, Vue, Solid | | SSR/SSG | Next.js, Nuxt, Astro, SvelteKit | | Static content | Astro (zero JS by default) | | Micro-frontends | Single-spa, Module Federation | | Lightweight reactive | Solid, Preact, Svelte | | Mobile + web | React Native + React | ## React patterns - Components: function + hooks (no classes) - State: `useState` for local, `useReducer` for complex, Zustand/Jotai for global - Side effects: `useEffect` only for synchronization (not lifecycle) - Memoization: `useMemo`/`useCallback` only for expensive computations - Forms: React Hook Form + Zod validation - Data fetching: TanStack Query (React Query) ## Vue patterns - Composition API over Options API - `<script setup>` for components - Pinia for state management - `v-model` for two-way binding - `<KeepAlive>` for cached views ## SSR patterns (framework-agnostic) - Hydrate interactive islands only (islands architecture) - Stream HTML to the client - Preload critical data on the server - Avoid `window` access during SSR — guard with `typeof window` - Use `Suspense` boundaries for streaming ## Performance targets - LCP < 2.5s, TTI < 3.5s, CLS < 0.1 - First load JS bundle < 150KB (gzipped) - Code-split by routes, lazy-load below-fold - Prefetch link `rel="prefetch"` for likely next page ## Testing | Layer | Tool | |-------|------| | Unit | Vitest, Testing Library | | Component | Storybook, Testing Library | | E2E | Playwright, Cypress | | Visual | Percy, Chromatic |
GitHub에서 보기