Skip to main content

qwik-core-development

Use when modifying or reviewing Qwik core package code under packages/qwik, especially reactive primitives, signals, VNodes, cursor behavior, QRLs, optimizer-facing runtime behavior, or Qwik core tests.

소스 정보

저장소
QwikDev/qwik
최근 소스 활동
2026년 10월 22일 17:06
감지된 SKILL.md 언어
영어
스타
22,065
포크
1,416

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
qwik-core-development
description
Use when modifying or reviewing Qwik core package code under packages/qwik, especially reactive primitives, signals, VNodes, cursor behavior, QRLs, optimizer-facing runtime behavior, or Qwik core tests.
# Qwik Core Development Use this skill for `packages/qwik/**` work. Keep the normal repo-wide instructions from `.ruler/AGENTS.md` in force. ## Fast Path 1. Identify the touched subsystem before editing: reactive primitives, VNode/client diffing, cursor, QRL/serialization, SSR, hooks, or tests. 2. Read the smallest relevant source and tests before making changes. 3. Find the invariant that must stay true across SSR, resume, client render, and serialization when the touched code crosses those boundaries. 4. After implementation changes, immediately run the closest focused Vitest file with `pnpm vitest run <path>`. Do not use `pnpm test.unit`. 5. If touching Rust optimizer code, load `qwik-optimizer-development` instead of treating the change as TypeScript-only. ## When to Load Detailed Notes Read `references/core-notes.md` only when the task involves: - async signals, computed signals, polling, or signal invalidation; - QRL creation, `$` transform behavior, or serialization issues; - VNode, cursor, or DOM diff behavior; - Qwik core tests that use `$()`, `retryOnPromise`, or private runtime state; - an unfamiliar pattern in `packages/qwik/src/core`. Do not load the reference for simple docs, package metadata, formatting, or unrelated monorepo work. ## Core Reminders - Prefer existing Qwik runtime patterns over new abstractions. - Keep state ownership explicit. For serialized or streamed data, update emit and consume paths together and add a round-trip or regression test. - Preserve compatibility deliberately. If deprecated input remains accepted, test both deprecated and current behavior. - Use `$`-suffixed functions and `$()` in tests when a QRL boundary is expected. - Avoid manual QRL construction unless nearby code already does it for the same reason. - Keep tests focused and close to the behavior that changed; add e2e coverage only when browser, streaming, navigation, or integration timing is the behavior under test. - If the change affects public API, run `pnpm api.update` after the focused tests pass. - If this skill or `references/core-notes.md` is stale after your source inspection, update it before finishing or record why guidance edits were out of scope.
GitHub에서 보기