用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oimiragieo/agent-studio --skill qwik-expert命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Agent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
Context management — pre-compact persistence, threshold alignment, microcompact/circuit breaker detection
Hook enhancements — updatedInput for bash safety prefixes, suppressOutput for verbose blocks, denial-based routing feedback
正在显示 SKILL.md
基于 SOC 职业分类
| name | qwik-expert |
| description | Qwik framework expert including resumability, lazy loading, and optimization |
| version | 1.1.0 |
| category | Frameworks |
| agents | ["developer","frontend-pro"] |
| tags | ["qwik","resumability","performance","react","frontend"] |
| model | sonnet |
| invoked_by | both |
| user_invocable | true |
| tools | ["Read","Write","Edit","Bash","Grep","Glob"] |
| consolidated_from | 1 skills |
| best_practices | ["Follow domain-specific conventions","Apply patterns consistently","Prioritize type safety and testing"] |
| error_handling | graceful |
| streaming | supported |
| verified | true |
| lastVerifiedAt | "2026-02-22T00:00:00.000Z" |
| source | builtin |
| trust_score | 100 |
| provenance_sha | 018930bc1855ab05 |
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
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
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
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
When reviewing or writing code, apply these guidelines:
This expert skill consolidates 1 individual skills:
$ suffix for event handlers and lazy-loaded functions — without it, Qwik cannot extract them for resumability and forces full hydration.window, document, localStorage) in component body code — use useVisibleTask$() to scope browser-only code and prevent SSR errors.useSignal() for reactive primitive state and useStore() for complex objects — plain variables are not reactive and will not trigger re-renders.import() or lazy-load via $ to preserve Qwik's zero-JS-on-load advantage.| 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$() |
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.