跳转到主要内容

add-eslint-rule

星标400
分支47
更新时间2026年6月1日 12:21

Walks through the full workflow of adding a new ESLint rule to eslint-plugin-svelte — scaffolding via `pnpm run new`, implementing the rule, writing fixture-based tests, updating generated artifacts via `pnpm run update`, and adding a changeset. Use this when the user asks to add, implement, or create a new lint rule in this repository.

· 实时索引

安装

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

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
nameadd-eslint-rule
descriptionWalks through the full workflow of adding a new ESLint rule to eslint-plugin-svelte — scaffolding via `pnpm run new`, im...

add-eslint-rule

Walks through the full workflow of adding a new ESLint rule to eslint-plugin-svelte — scaffolding via pnpm run new, implementing the rule, writing fixture-based tests, updating generated artifacts via pnpm run update, and adding a changeset. Use this when the user asks to add, implement, or create a new lint rule in this repository.

When to use

Use this skill when the user needs help with tasks related to add eslint rule.

Guidelines

  • Follow repository conventions in sveltejs/eslint-plugin-svelte
  • Prefer minimal, focused changes
  • Validate outputs before finishing