frontend

Implement React, Next.js, Astro, and Svelte 5 frontend architecture with TypeScript.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/nsvk13/skills --skill frontend-nsvk13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend
Source: https://github.com/nsvk13/skills/tree/main/frontend
Command: npx skills add https://github.com/nsvk13/skills --skill frontend-nsvk13

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Frontend development often fails at the hardest parts: turning UI ideas into production-grade components, wiring data/state correctly, and keeping performance and accessibility from degrading.

Core Features & Use Cases

  • Modern framework implementation: React (hooks, context, Suspense), Next.js (App Router, RSC, Server Actions, ISR, middleware), Astro (islands, content collections), and Svelte 5 (runes, snippets, SvelteKit).
  • Practical performance & UX: Core Web Vitals, bundle optimization, lazy loading/code splitting, virtualization, and avoiding unnecessary re-renders with memoization where it actually matters.
  • Correct integration & safety: TypeScript-first patterns, robust data fetching with TanStack Query, production UI patterns for forms (React Hook Form), and Telegram Mini Apps integration (including backend initData verification).
  • Accessibility-first components: Semantics, aria, and keyboard navigation considered as a non-optional part of implementation.

Quick Start

Ask for a production-ready component or feature (e.g., “Create a typed Next.js App Router page + form using Server Actions and React Hook Form, with loading/error states and accessible markup”).

Frequently Asked Questions about frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Next.js App Router pages with Server Actions and React Hook Form?

To implement Next.js Server Actions with React Hook Form, you create a typed App Router page that submits form data directly to the server, handling loading and error states. This approach uses TypeScript-first patterns to ensure robust data mutations and accessible markup.

How do I structure Svelte 5 runes and snippets for SvelteKit routing?

Svelte 5 runes and snippets structure SvelteKit routing by managing component state and reactivity natively. You use runes for reactive declarations and snippets for reusable markup, resolving implementation bottlenecks while maintaining performance and accessibility.

What is the best way to handle data fetching and mutations in React using TanStack Query?

Handling data fetching and mutations in React with TanStack Query involves wrapping your components with query providers and defining mutation hooks. This pattern resolves state synchronization issues, ensuring production-grade UI performance and correct cache boundaries.

Does this approach support Telegram Mini App UI integration and backend initData verification?

Yes, this approach supports Telegram Mini App UI integration including backend initData verification. It handles the specific UI integration and safety boundaries required for Telegram, ensuring secure data transmission and correct component rendering.

How do I optimize Core Web Vitals and bundle size in a React and Next.js architecture?

Optimizing Core Web Vitals and bundle size in React and Next.js requires lazy loading, code splitting, and avoiding unnecessary re-renders with memoization. You use Next.js RSC and caching strategies to ensure performance-aware solutions.

Can I build accessible components with Astro islands and content collections?

Yes, you can build accessible components with Astro islands and content collections. This method considers semantics, aria, and keyboard navigation as non-optional, combining static content delivery with interactive React or Svelte islands for optimal performance.