qwik-expert
БесплатноЗапускает вложенные скриптыНе проверенQwik framework expert including resumability, lazy loading, and optimization
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Qwik Expert
qwik and tailwind best practices
When reviewing or writing code, apply these guidelines:
- Use $ suffix for lazy-loaded functions
- Utilize useSignal() for reactive state
- Implement Tailwind CSS classes for styling
- Use @apply directive in CSS files for reusable styles
- Implement responsive design using Tailwind's responsive classes
- Utilize Tailwind's configuration file for customization
- Leverage TypeScript for type safety
- Use Vite's fast HMR for development
qwik city routing
When reviewing or writing code, apply these guidelines:
- Utilize Qwik City for routing when applicable
qwik folder structure
When reviewing or writing code, apply these guidelines:
Recommended folder structure:
src/ components/ routes/ global.css root.tsx entry.ssr.tsx public/ tailwind.config.js postcss.config.js vite.config.ts tsconfig.json
qwik functional components preference
When reviewing or writing code, apply these guidelines:
- Always prefer functional components in Qwik files.
qwik js best practices
When reviewing or writing code, apply these guidelines:
- Use $ suffix for lazy-loaded functions
- Utilize useSignal() for reactive state
- Implement useStore() for complex state objects
- Use useResource$() for data fetching
- Implement useTask$() for side effects
- Utilize useVisibleTask$() for browser-only code
qwik js error handling optimization
When reviewing or writing code, apply these guidelines:
- Implement proper error boundaries
- Utilize Qwik City for routing when applicable
- Use Qwik's built-in optimization features
- Implement lazy-loading for improved performance
qwik js folder structure
When reviewing or writing code, apply these guidelines:
Use the following folder structure:
src/ components/ routes/ global.css root.tsx entry.ssr.tsx public/ vite.config.ts tsconfig.json
qwik js general preferences
When reviewing or writing code, apply these guidelines:
- Always prefer functional components in Qwik files
- Use TypeScript for type safety
- Leverage Qwik's resumability model for optimal performance
- Minimize client-side JavaScript via lazy loading
Consolidated Skills
This expert skill consolidates 1 individual skills:
- qwik-expert
Iron Laws
- ALWAYS use the
$suffix for event handlers and lazy-loaded functions — without it, Qwik cannot extract them for resumability and forces full hydration. - NEVER access browser APIs (
window,document,localStorage) in component body code — useuseVisibleTask$()to scope browser-only code and prevent SSR errors. - ALWAYS use
useSignal()for reactive primitive state anduseStore()for complex objects — plain variables are not reactive and will not trigger re-renders. - NEVER import large client-side libraries at the top level — use dynamic
import()or lazy-load via$to preserve Qwik's zero-JS-on-load advantage. - ALWAYS prefer functional components — Qwik's resumability model is designed exclusively for functional component paradigms; class components have no first-class support.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
Using event handlers without $ suffix |
Handler cannot be lazy-extracted; forces hydration and defeats resumability | Always use onClick$, onInput$, useTask$() etc. with $ suffix |
Accessing window/document in component body |
Throws during SSR where browser globals don't exist | Wrap browser-only code in useVisibleTask$() which runs client-side only |
| Using plain variables for reactive state | Variable changes don't trigger UI updates; components become stale | Use useSignal() for primitives; useStore() for objects |
| Top-level importing of large client libraries | Bundles library into initial JS payload; dest |
Установить qwik-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobВложенные файлы
FAQ
Что делает скилл qwik-expert?
Qwik framework expert including resumability, lazy loading, and optimization
Как установить скилл qwik-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qwik-expert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic