Deno Frontend Development (Fresh 2.x)

•
87
•
Official
设计工具

Builds high-performance, type-safe web interfaces in Deno using the modern Fresh 2.x framework, Preact, and Tailwind CSS.

Enhance your AI coding workflows with deep, domain-specific expertise in Deno frontend engineering. This skill instructs Claude Code on the optimal patterns for Fresh 2.x, emphasizing the island architecture for blistering performance, Preact for interactive UI components, and Tailwind CSS for rapid modern styling. It prevents the generation of deprecated Fresh 1.x code structures, guiding the AI to utilize Vite, typed handlers with define helpers, single-context parameters, and robust async server-side rendering setups.

主要功能

0187 GitHub stars
02Modern Fresh 2.x Architecture: Enforces file-based routing, Vite configurations, and single-parameter context handlers.
03Type-Safe Server Actions: Promotes custom state helpers and secure handlers using the recommended 'createDefine' API.
04Tailwind CSS Layouts: Implements modern utility-first CSS styling leveraging Deno's Vite-based plugin system.
05Interactive Island Hydration: Integrates client-side Preact signals and islands for high-fidelity interactive elements.
06Strict Legacy Deprecation: Restricts the usage of obsolete Fresh 1.x manifest files, configuration options, and dollar-sign imports.

使用场景

01Creating lightweight, lightning-fast web applications using Deno and Preact island architecture.
02Migrating legacy Deno Fresh 1.x projects to robust, stable Fresh 2.x standards with clean modern code.
03Building secure, server-rendered web portals with typed parameters, cookie management, and state handlers.