跳到正文
cccskills
免费在 GitHub 公开

qwik-optimizer-development

Use when modifying or reviewing the Qwik optimizer under packages/optimizer, Rust transform code, WASM/NAPI bindings, optimizer snapshots, or optimizer-facing runtime behavior.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Qwik Optimizer Development

Use this skill for packages/optimizer/** and Rust optimizer work. Keep the repo-wide rules from .ruler/AGENTS.md in force.

Fast Path

  1. Identify whether the change is Rust transform logic, snapshots, WASM bindings, NAPI bindings, or TypeScript optimizer-facing integration.
  2. Read the closest Rust source, fixture, snapshot, and runtime helper that consumes the emitted shape before editing.
  3. Keep transform behavior deterministic: prefer explicit parser/AST cases and stable ordering over source-text heuristics.
  4. Use Rust-focused verification first; use pnpm build.full only when a full optimizer/WASM rebuild is required.
  5. If a runtime/core change is also involved, load qwik-core-development for that slice.

Source Map

  • Rust optimizer core: packages/optimizer/core/src/
  • Rust fixtures: packages/optimizer/core/src/fixtures/
  • Rust snapshots: packages/optimizer/core/src/snapshots/
  • WASM bindings: packages/optimizer/wasm/
  • NAPI bindings: packages/optimizer/napi/
  • Optimizer package entry points: packages/optimizer/src/
  • Vite/Rollup integration: packages/qwik-vite/src/

Verification

Use the smallest command that covers the change:

pnpm test.rust
pnpm test.rust.update
pnpm build.full
pnpm vitest run packages/qwik-vite/src/plugins/plugin.unit.ts

pnpm test.rust maps to make test, which runs Cargo tests for packages/optimizer/core/Cargo.toml. Use pnpm test.rust.update only when snapshot updates are intentional.

Hard Rules

  • Do not hand-edit generated optimizer build output in dist/, lib/, or target/.
  • Do not update snapshots without understanding the transform behavior change.
  • Add or update a transform fixture/snapshot for every optimizer behavior change, including negative cases where the transform must not run.
  • Keep optimizer output and runtime JSX/QRL/loader semantics in sync. If a transform changes an emitted attribute, import, segment, or capture shape, inspect the runtime consumer too.
  • After touching packages/optimizer/core/, do not claim verification without Rust test/build evidence or a recorded blocker.
  • If this skill becomes stale after source inspection, update it before finishing or record why guidance edits were out of scope.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when a user says "add a ty diagnostic", "write this new ty diagnostic", "change a ty error message", "review ty diagnostics", or asks to add, update, or review ty checks, diagnostic messages, subdiagnostics, or concise output behavior.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

Use when adding A2UI rendering to any AG-UI-supported framework or custom AG-UI application, scaffolding an AG-UI app that should render A2UI, adapting an AG-UI integration to emit A2UI surfaces, or wiring the AG-UI A2UI middleware/toolkit with a compatible renderer.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

Evaluate an open source project's AGENTS.md and produce a corpus entry for the /agents-md directory. Use when adding a project to the directory, refreshing an existing entry, or running a batch of candidate repositories.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

Execute Anarlog work immediately while recording issues, decisions, progress, and lessons in Linear. Use for Anarlog repository or Anarlog desktop, web, mobile, and API work, including related worktrees and ANLG issues. Explicit brainstorming stays discussion-first. Do not use for unrelated repositories or meeting-data queries.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

Use only for reviewing completed Biome PRs, branches, commit ranges, diffs, or working trees against business logic and requirements. Excludes broad code-quality and process audits, triage, reproduction, and implementation.

中文简介正在准备中。当前显示原文说明。

modem-dev/ossrules622026年9月21日 更新

查看 modem-dev 的全部技能

报告此技能的问题