Agent skill

Add Plugin Rule

by eslint-config in eslint-config/airbnb-extended

Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file.

MITAuto-check passedDevelopment

Install Add Plugin Rule

skills CLI
$ npx skills add eslint-config/airbnb-extended --skill add-plugin-rule -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eslint-config/airbnb-extended add-plugin-rule --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eslint-config/airbnb-extended.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-plugin-rule .claude/skills/add-plugin-rule && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-plugin-rule
GitHub stars
130
Token cost
~646 tokens
SKILL.md length
251 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file.

  • Works in 5 steps: Find the rule → Learn what the rule does → Pick the file → …
  • Pnpm config:build fails in the prebuild check
  • SKILL.md covers 1. Find the rule, 2. Learn what the rule does, 3. Pick the file and 4. Add the rule, plus 1 more section
  • Calls pnpm; reaches nextjs.org

What it does

Add Plugin Rule is an agent skill from eslint-config/airbnb-extended. Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file. Use when pnpm build or pnpm config:build fails in the prebuild check, or after upgrading an ESLint plugin.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting and Agent instruction files. It works with ESLint, pnpm and TypeScript. The repository describes itself as: A powerful ESLint configuration extending the popular Airbnb style guide, with added support for TypeScript. The licence is MIT.

When your agent uses it

  • Pnpm config:build fails in the prebuild check
  • After upgrading an ESLint plugin

Example prompts

  • “<Plugin Updated with <rule”
  • “/add-plugin-rule”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Find the rule
  2. Learn what the rule does
  3. Pick the file
  4. Add the rule
  5. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit e855b33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • nextjs.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Plugin Rule loads about 646 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 251 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~646

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from eslint-config/airbnb-extended at commit e855b33, republished under its MIT licence (© eslint-config). 251 words, ~646 tokens.

Download SKILL.mdSave it as .claude/skills/add-plugin-rule/SKILL.md (or your agent's skills folder).
name
add-plugin-rule
description
Fix the "<Plugin> Updated with <rule>" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file. Use when `pnpm build` or `pnpm config:build` fails in the prebuild check, or after upgrading an ESLint plugin.

Add a new plugin rule

packages/eslint-config-airbnb-extended/script/checkUpdates.ts runs before every build. It fails when a bundled plugin adds or removes a rule that our rules/ files don't list.

1. Find the rule

Run the check on its own:

bash
pnpm --filter eslint-config-airbnb-extended check:updates

The error names the plugin and rule, e.g. Next Plugin Updated with no-location-assign-relative-destination. It stops at the first plugin that fails, so run it again after each fix.

2. Learn what the rule does

Read the rule's docs and source in node_modules (e.g. meta.docs.description, meta.docs.url, meta.deprecated). Don't guess.

3. Pick the file

Look in script/checkUpdates.ts to see which rule objects are checked for that plugin. Then:

Rule statePut it in
ActiveThe matching active set, e.g. nextBaseRules in rules/next/nextBase.ts
Deprecated by the pluginThe deprecated* set in the same file (e.g. deprecatedReactBaseRules), set to 'off'
Experimental (stylistic)The experimental* set, if the file has one

Only touch rules/ for the Extended config. Never change legacy/, which mirrors the original Airbnb configs one-to-one.

4. Add the rule

Match the existing style: one-line comment, docs link, then the rule. Keep the order of nearby rules.

ts
// Prevent usage of <head> element.
// https://nextjs.org/docs/messages/no-head-element
'@next/next/no-head-element': 'warn',

Choosing the level:

  • Follow the plugin's own recommended config when it has one.
  • Use 'off' when the rule needs type info we don't enable, or clearly clashes with Airbnb style.
  • If unsure, use the plugin's recommended level and say so in the PR description. The maintainer decides.

5. Verify

bash
pnpm config:build
pnpm script:lint --filter=eslint-config-airbnb-extended

If a new rule changes behavior users will see, mention it in the PR and check whether docs/ needs an update.

© eslint-config, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/add-plugin-rule of eslint-config/airbnb-extended.

Open the folder on GitHubat commit e855b33

Compare with similar skills

Add Plugin Rule next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Plugin Rule compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Plugin Rule this skilleslint-config/airbnb-extended130—~646Automated safety check: PassMIT
Antfuoyjt/uniapp-vue3-template627—~1.3kAutomated safety check: PassMIT
AntfuJetBrains/skills3664 repos~1kAutomated safety check: PassNone
Monorepoavibebuilder/claude-prime120—~1.2kAutomated safety check: PassMIT
Typescript Styletjx666/vscode-mcp105—~961Automated safety check: PassCustom licence
Vscode MCP Architecturetjx666/vscode-mcp105—~1.5kAutomated safety check: PassCustom licence

Similar skills

  • Antfu

    oyjt/uniapp-vue3-template

    Anthony Fu's {Opinionated} preferences and best practices for web development

    627 GitHub stars~1.3k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Antfu

    JetBrains/skills

    Official

    Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.

    366 GitHub starsUsed in 4 repos~1k tokens
    DevelopmentAuto-check passed
  • Monorepo

    avibebuilder/claude-prime

    MUST use for ANY query mentioning packages, monorepo, workspace, catalog, turbo, turborepo, or pnpm in a multi-package context.

    120 GitHub stars~1.2k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Typescript Style

    tjx666/vscode-mcp

    TypeScript code style and repo conventions for VSCode MCP — inference vs explicit types, ESM import suffixes, zod schema contracts, async VSCode/Node APIs, JSON-safe IPC results, JSDoc for public…

    105 GitHub stars~961 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Vscode MCP Architecture

    tjx666/vscode-mcp

    VSCode MCP Bridge project architecture — current monorepo layout, IPC/EventDispatcher flow, per-workspace socket discovery, MCP/CLI adapters, tool filtering, and VSCode extension services.

    105 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Optimize

    openplayerjs/openplayerjs

    Find and safely apply ONE worthwhile code optimization (reuse, simplification, efficiency, or a dead-weight cleanup) somewhere in packages//src, with new regression tests proving behavior is…

    649 GitHub stars~1.9k tokensUpdated 4 days ago
    DevelopmentAuto-check passed

More from eslint-config/airbnb-extended

  • Sync Docs

    eslint-config/airbnb-extended

    Check that the VitePress docs in docs/ match the real exports, rules and CLI options in the code, then fix any drift.

    130 GitHub stars~878 tokensUpdated today
    Auto-check passed
  • Write Changelog

    eslint-config/airbnb-extended

    Write the next CHANGELOG.md section from the commits and diffs since the last release.

    130 GitHub stars~1k tokensUpdated today
    Auto-check passed

Questions about Add Plugin Rule

What does Add Plugin Rule do?

Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file. Add Plugin Rule is an agent skill from eslint-config/airbnb-extended.ts by adding a new or deprecated plugin rule to the right rules/ file.

When should I use Add Plugin Rule?

Add Plugin Rule fits situations like: pnpm config:build fails in the prebuild check; after upgrading an ESLint plugin.

How do I install Add Plugin Rule in Claude Code?

Run `npx skills add eslint-config/airbnb-extended --skill add-plugin-rule -a claude-code`. Or copy the skill folder (.claude/skills/add-plugin-rule in eslint-config/airbnb-extended) into .claude/skills/add-plugin-rule in your project. Claude Code loads it when a task matches its description.

How do I install Add Plugin Rule in Codex?

Run `npx skills add eslint-config/airbnb-extended --skill add-plugin-rule -a codex`. Or copy the skill folder (.claude/skills/add-plugin-rule in eslint-config/airbnb-extended) into .agents/skills/add-plugin-rule in your project. Codex loads it when a task matches its description.

Can I use Add Plugin Rule in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eslint-config/airbnb-extended --skill add-plugin-rule -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-plugin-rule, .gemini/skills/add-plugin-rule, .github/skills/add-plugin-rule and .opencode/skills/add-plugin-rule in your project.

What does Add Plugin Rule need to run?

Going by SKILL.md and its folder, Add Plugin Rule needs the command-line tools its instructions call (pnpm).

Does Add Plugin Rule access the network?

SKILL.md names 1 domain. In commands or code: nextjs.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Add Plugin Rule safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Plugin Rule use?

Add Plugin Rule is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Plugin Rule use?

About 646 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Plugin Rule?

Skills that share tags, products or a category with Add Plugin Rule: Antfu (oyjt/uniapp-vue3-template, 627 stars), Antfu (JetBrains/skills, 366 stars), Monorepo (avibebuilder/claude-prime, 120 stars) and Typescript Style (tjx666/vscode-mcp, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Plugin Rule?

eslint-config (a GitHub organization) maintains it in eslint-config/airbnb-extended, which has 130 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.

Source: eslint-config/airbnb-extended on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.