bundling-rules

Enforce development standards for @qds.dev/tools build tooling.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kunai-consulting/qwik-design-system --skill bundling-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bundling-rules
Source: https://github.com/kunai-consulting/qwik-design-system/tree/main/.ruler/skills/bundling
Command: npx skills add https://github.com/kunai-consulting/qwik-design-system --skill bundling-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential rules and guidelines for developers working on the @qds.dev/tools package, ensuring consistency, maintainability, and performance in Qwik Design System's build tooling.

Core Features & Use Cases

  • Mandatory Regex Standard: Enforces the use of magic-regexp for type-safe and composable regular expressions.
  • Testing Requirements: Mandates unit tests for every new file with specific naming conventions and coverage expectations.
  • Dependency Management: Guides on keeping rolldown and oxc packages updated and handling potential breaking changes.
  • Plugin Architecture: Defines rules for Vite and Rolldown plugin development, including naming, timing, and performance patterns.

Quick Start

Use the bundling-rules skill to ensure all new regex operations in libs/tools/ utilize the magic-regexp library.

Frequently Asked Questions about bundling-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce development standards for Vite and Rolldown plugin architecture?

To enforce Vite and Rolldown plugin architecture standards, apply rules governing the filter/handler pattern for performance and mandate enforce: "pre" timing to ensure consistent build tooling execution.

What is the standard for regex operations in Qwik Design System build tooling?

The standard for regex operations in Qwik Design System tooling is to use the magic-regexp library, which provides type-safe and composable regular expressions for all new development.

How do I manage rolldown and oxc dependency updates without breaking changes?

Manage rolldown and oxc dependency updates by following specific guidelines for keeping packages current and handling potential breaking changes to maintain Qwik Design System build stability.

Do I need unit tests for every new file added to the Qwik Design System tools package?

Yes, unit tests are mandatory for every new file added to the @qds.dev/tools package, with specific naming conventions and coverage expectations required to ensure maintainability.

Can I use standard regex instead of magic-regexp for new Qwik tooling development?

No, standard regex is not permitted for new development in the Qwik Design System tools package; you must use magic-regexp to ensure type safety and composable regular expressions.

Why does my Vite plugin timing cause build issues in Qwik Design System tooling?

Vite plugin timing causes build issues when enforce: "pre" is not properly configured, which is why the bundling rules mandate specific timing patterns for consistent execution.