qwik-router-development

Solid

Use when modifying or reviewing Qwik Router code under packages/qwik-router, including runtime routing, buildtime route generation, middleware, adapters, SSG, markdown/MDX handling, or router tests.

API & Backend 55 stars 2 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
58
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Qwik Router Development Use this skill for `packages/qwik-router/**` work. Keep the repo-wide rules from `.ruler/AGENTS.md` in force. ## Fast Path 1. Classify the touched router surface before editing: runtime, buildtime, middleware, adapter, SSG, markdown/MDX, or Vite integration. 2. Read the smallest source file plus the closest `*.unit.ts` or `*.spec.ts` file before changing behavior. 3. For middleware, loader, action, or navigation changes, trace handler ordering and shared state from request creation through response/client consumption before editing. 4. For unit/spec coverage, run `pnpm vitest run <path>`. 5. For browser/router behavior, rebuild first with `pnpm build.core.dev`, then use the focused Qwik Router e2e command. 6. If public router API markdown changes are expected, run `pnpm api.update` after tests pass. ## Source Map - Runtime: `packages/qwik-router/src/runtime/src/` - Buildtime route generation: `packages/qwik-router/src/buildtime/` - Vite integration: `packages/qwik-router/src/buildtime/vite/` - Middleware: `packages/qwik-router/src/middleware/` - Adapters: `packages/qwik-router/src/adapters/` - SSG: `packages/qwik-router/src/ssg/` - Router e2e tests: `e2e/qwik-e2e/tests/qwikrouter/` ## Verification Use the closest command that covers the changed surface: ```bash pnpm vitest run packages/qwik-router/src/buildtime/routing/parse-pathname.unit.ts pnpm vitest run packages/qwik-router/src/runtime/src/client-navigate.unit.ts pnpm build.co...

Details

Author
modem-dev
Repository
modem-dev/ossrules
Created
1 weeks ago
Last Updated
5 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category