Agent skill

Eslint Plugin Custom Rule

by coinbase in coinbase/cds

USE THIS when asked to create a new eslint plugin rule for the eslint-plugin-cds package

Custom licenceAuto-check passedDevelopment

Install Eslint Plugin Custom Rule

skills CLI
$ npx skills add coinbase/cds --skill eslint-plugin-custom-rule -a claude-code

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

GitHub CLI
$ gh skill install coinbase/cds eslint-plugin-custom-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/coinbase/cds.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/eslint-plugin-custom-rule .claude/skills/eslint-plugin-custom-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
eslint-plugin-custom-rule
GitHub stars
506
Token cost
~731 tokens
SKILL.md length
444 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

USE THIS when asked to create a new eslint plugin rule for the eslint-plugin-cds package

  • Works in 5 steps: Run the scaffold-new-rule.mjs script… → Ask the user what the custom rule should… → Once you have all the needed context,… → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers Process and Directory placement
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Eslint Plugin Custom Rule is an agent skill from coinbase/cds. USE THIS when asked to create a new eslint plugin rule for the eslint-plugin-cds package

Its SKILL.md is about 730 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. It works with ESLint. The repository describes itself as: Coinbase Design System.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “/eslint-plugin-custom-rule”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run the scaffold-new-rule.mjs script found at packages/eslint-plugin-cds/scripts/scaffold-new-rule.mjs. The script should be used every…
  2. Ask the user what the custom rule should do. If the user doesn't provide enough context in the prompt, ask for clarification or follow up…
  3. Once you have all the needed context, ask the user to provide at least one valid and one invalid example demonstrating when the custom…
  4. Based on the user's provided context, fill in the rule file generated under the src/rules directory. The main section you should fill out…
  5. Using the context from step 3, write in valid and invalid test cases for the test file generated from the scaffold-new-rule.mjs script…

What it can do on your machine

Read from SKILL.md and the folder at commit 46d9e48. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Eslint Plugin Custom Rule loads about 731 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 444 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 444 words (~731 tokens).

“When asked to create a new custom rule for the package, follow these steps in order:”

— opening of SKILL.md by coinbase, Custom licence
name
eslint-plugin-custom-rule

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/eslint-plugin-custom-rule of coinbase/cds.

Open the folder on GitHubat commit 46d9e48

Compare with similar skills

Eslint Plugin Custom 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.

Eslint Plugin Custom Rule compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Eslint Plugin Custom Rule this skillcoinbase/cds506—~731Automated safety check: PassCustom licence
LobeHub Alint Rule Set Maintenancelobehub/lobehub83k—~1.9kAutomated safety check: PassCustom licence
Eslint Migrate Optionsbiomejs/biome26k—~1.4kAutomated safety check: PassApache-2.0
Ultraciteagustinusnathaniel/nextarter-tailwind1252 repos~1.2kAutomated safety check: PassMIT
Code Qualityredis/RedisInsight8.9k—~1.2kAutomated safety check: PassCustom licence
Boundaries Architectjavierbrea/eslint-plugin-boundaries997—~4.2kAutomated safety check: PassMIT

Similar skills

  • Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.

    83k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when biome migrate eslint must preserve configurable ESLint rule options through source-option models, Biome conversions, typed rule variants, and migration fixtures.

    26k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Ultracite

    agustinusnathaniel/nextarter-tailwind

    Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects.

    125 GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • Code Quality

    redis/RedisInsight

    Official

    Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…

    8.9k GitHub stars~1.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Boundaries Architect

    javierbrea/eslint-plugin-boundaries

    Act as a software architect: analyze a repository's folder structure and cross-file import dependencies, detect its architectural pattern, design element/file boundaries with the user, and configure…

    997 GitHub stars~4.2k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Port Rule

    web-infra-dev/rslint

    Port a new ESLint core or plugin rule to rslint, including explicitly requested batches.

    460 GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from coinbase/cds

All 11 skills in this repo
  • A skill your agent uses when a CDS change in cds-web, cds-common, cds-mobile, web-visualization, or mobile-visualization needs a jscodeshift migration in packages/migrator to update callers or…

    506 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Deprecate Cds API

    coinbase/cds

    Deprecates a CDS component, hook, or other exported symbol with consistent JSDoc, version tags, and docsite metadata across every public export path (web, mobile, common, visualization), not only…

    506 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • USE THIS when migrating a CDS React Native component to native iOS, or when writing or reviewing SwiftUI in packages/cds-ios or apps/ios-gallery.

    506 GitHub stars~3k tokensUpdated 2 days ago
    Auto-check passed
  • USE THIS when writing or reviewing Jetpack Compose / Kotlin code in packages/cds-android or apps/android-app - @Composable APIs, Modifier parameters, CompositionLocal, state hoisting, or naming.

    506 GitHub stars~805 tokensUpdated 2 days ago
    Auto-check passed
  • Cds Design To Code

    coinbase/cds

    Turn Figma designs into CDS React (cds-web) or React Native (cds-mobile) code.

    506 GitHub stars~4.9k tokensUpdated 2 days ago
    Auto-check passed
  • Cds Docs

    coinbase/cds

    Retrieve Coinbase Design System (CDS) documentation: setup, installation, theming, tokens, and per-component APIs/examples.

    506 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Eslint Plugin Custom Rule

What does Eslint Plugin Custom Rule do?

USE THIS when asked to create a new eslint plugin rule for the eslint-plugin-cds package. Eslint Plugin Custom Rule is an agent skill from coinbase/cds.

When should I use Eslint Plugin Custom Rule?

Eslint Plugin Custom Rule fits situations like: tasks that involve Linting and formatting.

How do I install Eslint Plugin Custom Rule in Claude Code?

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

How do I install Eslint Plugin Custom Rule in Codex?

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

Can I use Eslint Plugin Custom 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 coinbase/cds --skill eslint-plugin-custom-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/eslint-plugin-custom-rule, .gemini/skills/eslint-plugin-custom-rule, .github/skills/eslint-plugin-custom-rule and .opencode/skills/eslint-plugin-custom-rule in your project.

What does Eslint Plugin Custom Rule need to run?

SKILL.md names no scripts, command-line tools or credentials: Eslint Plugin Custom Rule is instructions for the agent only.

Does Eslint Plugin Custom Rule access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Eslint Plugin Custom 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 Eslint Plugin Custom Rule use?

Eslint Plugin Custom Rule has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Eslint Plugin Custom Rule use?

About 731 tokens (SKILL.md is roughly 2.9k 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 Eslint Plugin Custom Rule?

Skills that share tags, products or a category with Eslint Plugin Custom Rule: LobeHub Alint Rule Set Maintenance (lobehub/lobehub, 83k stars), Eslint Migrate Options (biomejs/biome, 26k stars), Ultracite (agustinusnathaniel/nextarter-tailwind, 125 stars) and Code Quality (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Eslint Plugin Custom Rule?

coinbase (a GitHub organization) maintains it in coinbase/cds, which has 506 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

Source: coinbase/cds on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.