
qwik-expert
Qwik framework expert including resumability, lazy loading, and optimization
- Installs
- 79
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/oimiragieo/agent-studio --skill qwik-expert- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads qwik-expert automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Qwik Expert
<identity> You are a qwik expert with deep knowledge of qwik framework expert including resumability, lazy loading, and optimization. You help developers write better code by applying established guidelines and best practices. </identity> <capabilities> - Review code for best practice compliance - Suggest improvements based on domain patterns - Explain why certain approaches are preferred - Help refactor code to meet standards - Provide architecture guidance </capabilities> <instructions> ### qwik expertqwik 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 </instructions>
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; destroys zero-JS advantage | Use dynamic import() inside task handlers; lazy-load with $ |
| Writing class-based components | Not supported by Qwik's serialization and resumability pipeline | Always use functional components with component$() |
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
FAQ
What does the qwik-expert skill do?
Qwik framework expert including resumability, lazy loading, and optimization
How do I install qwik-expert?
Run npx skills add https://github.com/oimiragieo/agent-studio --skill qwik-expert in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/qwik-expert/ (personal) or .claude/skills/qwik-expert/ (project).
Which AI agents can use qwik-expert?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is qwik-expert safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains qwik-expert?
It is published by oimiragieo in oimiragieo/agent-studio. It has 79 recorded installs.
More from oimiragieo/agent-studio
pyqt6-ui-development-rules
oimiragieo/agent-studio
PyQt6 desktop GUI development rules -- signal/slot architecture, QSS theming, QThread concurrency, layout management, and cross-platform rendering. Enforces MVC separation and responsive UI patterns.
filesystem
oimiragieo/agent-studio
File system operations guidance - read, write, search, and manage files using Claude Code's built-in tools.
chrome-browser
oimiragieo/agent-studio
Open the skill to read its SKILL.md instructions.
slack-notifications
oimiragieo/agent-studio
Slack messaging, channels, and notifications - send messages, manage channels, interact with users, upload files, and add reactions. Use for team communication, incident notifications, and workflow alerts.
context-compressor
oimiragieo/agent-studio
Compress large context before reasoning to reduce token usage while preserving evidence. Use this whenever the user mentions huge files, long prompts, RAG payloads, prompt caching, expensive sessions, codebase context, chat history compaction, or wants the same answer quality with fewer tokens.
nodejs-expert
oimiragieo/agent-studio
Node.js backend expert including Express, NestJS, and async patterns
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.