Skip to main content
在 Manus 中运行任何 Skill
一键导入

llui-add-lint-rule

星标7
分支0
更新时间2026年7月16日 22:46

Follow this exact procedure when adding a NEW compile-time lint rule to the LLui compiler (@llui/compiler, packages/compiler/src/signals/rules.ts). Use it whenever you want the build to reject an unsafe or non-idiomatic LLui authoring pattern — a new signal/view/reducer check that should fail compilation, not merely warn. This is framework-internals work. Critical doctrine it enforces: LLui framework rules are NON-BYPASSABLE compiler ERRORS, never ESLint rules (LLMs and humans ignore warnings), so the rule must be wired to halt the build and ship with BOTH positive and negative tests. Load it before writing the rule; getting the ScriptKind, the root-tracking, or the negative case wrong produces false positives that block valid builds.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly