A solid collection of 17 performance-focused rules for JavaScript and TypeScript that Claude will apply when you're writing or reviewing code. The guidelines cover the usual suspects like preferring Set/Map over array includes, caching expensive lookups, and batching DOM operations, plus some opinionated style choices like function declarations over arrows and named exports only. Each rule includes severity ratings and practical before/after examples. It's designed to trigger automatically when you're working with loops, data structures, or DOM manipulation. Not groundbreaking advice, but having these patterns codified means you won't bikeshed the same optimization questions on every code review.
npx skills add https://github.com/sergiodxa/agent-skills --skill frontend-js-best-practices