Qwik Router Development
SkillDocs & knowledgeUse 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.
Use Qwik Router Development in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Qwik Router Development and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Qwik Router Development skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by modem-dev/ossrules in public/files/qwik/.ruler/skills/qwik-router-development/SKILL.md and read by Ahel’s review.
Use this skill for packages/qwik-router/** work. Keep the repo-wide rules from .ruler/AGENTS.md
in force.
Fast Path
- Classify the touched router surface before editing: runtime, buildtime, middleware, adapter, SSG, markdown/MDX, or Vite integration.
- Read the smallest source file plus the closest
*.unit.tsor*.spec.tsfile before changing behavior. - For middleware, loader, action, or navigation changes, trace handler ordering and shared state from request creation through response/client consumption before editing.
- For unit/spec coverage, run
pnpm vitest run <path>. - For browser/router behavior, rebuild first with
pnpm build.core.dev, then use the focused Qwik Router e2e command. - If public router API markdown changes are expected, run
pnpm api.updateafter 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:
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.core.dev
pnpm playwright test e2e/qwik-e2e/tests/qwikrouter/nav.e2e.ts --browser=chromium --config e2e/qwik-e2e/playwright.config.ts
Do not use --project chromium with e2e/qwik-e2e/playwright.config.ts; this config expects the
--browser=chromium flag.
Quality Bar
- Keep middleware, loader, and action ordering explicit. Do not add broad fallbacks that hide which module owns a request.
- Add regression tests for the exact route shape or request mode that failed, such as index route, layout loader, page loader, redirect, action, or SPA navigation.
- When changing serialized route state or loader data, update both server output and client consumption in the same change.
- Preserve deprecated Qwik City compatibility only when current source still supports it, and keep compatibility warnings/tests intentional.
- If router work exposes stale guidance here or in
.ruler/AGENTS.md, update the guidance before finishing or record why guidance edits were out of scope.
Stop Conditions
- Stop and inspect the generated API workflow before hand-editing any
*.api.mdfile. - Stop and switch to
qwik-e2e-verificationwhen most of the work is Playwright setup/debugging. - Stop and run
pnpm api.updateif exported router API changed.
Signals
- GitHub stars
- 56
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
qwik-router-development- Source
- github.com/modem-dev/ossrules
Related picks
Skill · davila7
The pick for Reactreact-doctor
Skill · millionco
The pick for Reactsetup-ts-deep-modules
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScripthandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledge