Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By clirimajetiv0.3.0MITIn 1 marketplace
Turn a codebase's own conventions into custom ESLint rules with RuleTester tests. Framework-agnostic, asks automatic or manual first.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
eslint, lint, custom-rules, code-quality, clean-code, solid, skills
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An agent skill that turns your codebase's own conventions into custom ESLint rules, each with RuleTester tests.
Every codebase has conventions it mostly follows but never enforces.
Components fetch through hooks, pure modules take now as a parameter, IDs come from one helper.
They live in review comments and in the heads of whoever was around when they were decided.
This skill finds them, asks you which ones to enforce and how, and writes one rule per convention. The majority pattern becomes the only pattern.
It works with any framework (React, Vue, Svelte, Angular, plain TS/JS) and any folder layout. Folder names live in your ESLint config or in rule options, so the same rule fits every app.
Claude Code
claude plugin marketplace add clirimajeti/eslint-pattern-rules
claude plugin install eslint-pattern-rules@eslint-pattern-rules
Codex, Copilot, Cursor and others
npx skills add clirimajeti/eslint-pattern-rules
Run npx skills update to update.
Manual
Copy skills/eslint-pattern-rules/ into your agent's skills folder, for example ~/.claude/skills/eslint-pattern-rules/.
The skill is model-invoked, so there is no command to remember. Ask in your own words, or name it:
api/ into an ESLint rule."await with .then() chains. Enforce it."The rule lands in eslint-rules/, already registered in your ESLint config.
The convention is enforced from the next lint run on.
Lint rules are the cheapest code review you will ever get. They run on every save, never get tired, and never argue. But writing a good custom rule is fiddly, so most teams never do, and the conventions slowly erode. I kept running into the same four problems when I asked agents to help.
"Don't live with broken windows."
David Thomas & Andrew Hunt, The Pragmatic Programmer
The Problem: A convention that is only enforced by people is enforced inconsistently. One violation slips through, gets copied, and soon there are two ways to do the same thing. Agents make this worse, because they learn from whatever the code already does, violations included.
The Fix: Turn the convention into a rule. The skill reads your ADRs and your code, counts the good and bad usages of each pattern, and proposes the ones the codebase already mostly follows. Under roughly 80% agreement it is a team decision, not a discovery, and the skill says so instead of picking a side.
"It is not enough for code to work."
Robert C. Martin, Clean Code
The Problem: Built-in and plugin rules can ban innerHTML or restrict an import path.
They can't know that sanitize() is your safe helper, that features/*/api is off limits to components, or that @/ is an alias.
So teams either ban too much or leave the gap open.
The Fix: Rules that encode "only through our helper" and "only across our boundaries". Before writing anything, the skill checks whether a core or installed rule already does the job, and recommends that config instead. A custom rule is only written when nothing else fits.
A React app has an ADR saying components fetch through hooks, never through api/ directly.
Most components follow it, a couple don't.
no-restricted-imports with a hard-coded path, which misses the moment someone imports through the @/ alias.gen- rule that reads the alias from tsconfig paths, takes the folder names as options, and reports exactly the offenders.
The same rule then fits your other apps with a different folder layout.The Problem: Ask an agent for a lint rule and it will often bump ESLint, add a plugin, rewrite your config, and touch half your source files along the way. Now a small change has become a dependency upgrade nobody asked for.
The Fix: The skill has a hard footprint.
It writes exactly two files per rule, eslint-rules/gen-<name>.js and eslint-rules/gen-<name>.test.js.
The gen- prefix keeps generated rules apart from hand-written ones.
In your ESLint config it adds only the entry that enables the rule, scoped to the files it applies to.
It leaves alone:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
eslint-pattern-rules@codemyrules is listed by clirimajeti/codemyrules — review the source before installing
npx claudepluginhub clirimajeti/codemyrules --plugin eslint-pattern-rules