PatternsDev

58 mods across 1 repository, 258 stars between them.

bundle-splitting

01

PatternsDev/skills

Skill Claude Code

Teaches bundle splitting techniques for web performance. Use when your application has a large JavaScript bundle that affects load times or when you need to reduce FCP/LCP.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 39 tokens

command-pattern

02

PatternsDev/skills

Skill Claude Code

Teaches the command pattern for decoupling task execution from invocation. Use when you need undo/redo functionality, queued operations, or want to decouple the object that invokes an operation from the one that performs it.

not rated 258 +1 6mo ago B Socket: passSnyk: pass 47 tokens

compression

03

PatternsDev/skills

Skill Claude Code

Teaches JavaScript compression techniques including Gzip and Brotli. Use when optimizing network transfer times or configuring server-side compression for production builds.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 30 tokens

dynamic-import

04

PatternsDev/skills

Skill Claude Code

Teaches dynamic import() for on-demand code loading. Use when you need to reduce initial bundle size by lazily loading modules that aren't required at startup.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 34 tokens

factory-pattern

05

PatternsDev/skills

Skill Claude Code

Teaches the factory pattern for flexible object creation. Use when you need to create objects dynamically without using the new keyword or when object creation logic should be centralized.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 35 tokens

flyweight-pattern

06

PatternsDev/skills

Skill Claude Code

Teaches the flyweight pattern for memory optimization. Use when your application creates large numbers of similar objects and memory consumption is a concern.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 31 tokens

PatternsDev/skills

Skill Claude Code

Teaches interaction-based lazy loading for non-critical resources. Use when you have heavy components or libraries that are only needed after user interaction like clicks, hovers, or form input.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 41 tokens

PatternsDev/skills

Skill Claude Code

Teaches visibility-based lazy loading using Intersection Observer. Use when you have below-the-fold components or images that don't need to load until the user scrolls to them.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 38 tokens

PatternsDev/skills

Skill Claude Code

Teaches the islands architecture pattern for partial hydration. Use when building content-heavy sites where most of the page is static and only small regions need interactivity.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 36 tokens

PatternsDev/skills

Skill Claude Code

Provides framework-agnostic JavaScript runtime performance patterns. Use when optimizing hot paths, loops, DOM operations, caching, or data structure choices in performance-critical code.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 38 tokens

loading-sequence

11

PatternsDev/skills

Skill Claude Code

Teaches resource loading sequence optimization for Core Web Vitals. Use when you need to improve FCP, LCP, or FID by reordering how critical resources are discovered and loaded.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 42 tokens

mediator-pattern

12

PatternsDev/skills

Skill Claude Code

Teaches the mediator pattern for centralized component communication. Use when multiple components need to communicate and direct coupling between them creates complexity or tight dependencies.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 32 tokens

mixin-pattern

13

PatternsDev/skills

Skill Claude Code

Teaches the mixin pattern for sharing functionality without inheritance. Use when you need to add reusable behavior to multiple objects or classes that don't share a common ancestor.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 36 tokens

module-pattern

14

PatternsDev/skills

Skill Claude Code

Teaches the module pattern for code organization and encapsulation. Use when structuring JavaScript into reusable, maintainable pieces with clear public and private boundaries.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 34 tokens

observer-pattern

15

PatternsDev/skills

Skill Claude Code

Teaches the observer pattern for event-driven communication. Use when you need decoupled publish/subscribe behavior where multiple parts of your system react to state changes or events.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 37 tokens

prefetch

16

PatternsDev/skills

Skill Claude Code

Teaches resource prefetching strategies for faster navigation. Use when you can predict which resources the user will need next and want to load them during idle time.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 35 tokens

preload

17

PatternsDev/skills

Skill Claude Code

Teaches resource preloading to prioritize critical assets. Use when critical resources like fonts, hero images, or key scripts are discovered late in the loading waterfall.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 34 tokens

prototype-pattern

18

PatternsDev/skills

Skill Claude Code

Teaches the prototype pattern for property sharing via the prototype chain. Use when creating many objects of the same type that should share methods or properties efficiently.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 33 tokens

provider-pattern

19

PatternsDev/skills

Skill Claude Code

Teaches the provider pattern for sharing data across component trees. Use when multiple nested components need access to the same data and prop drilling becomes unwieldy.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 34 tokens

proxy-pattern

20

PatternsDev/skills

Skill Claude Code

Teaches the proxy pattern for intercepting object operations. Use when you need validation, logging, formatting, or access control on property access, assignment, or function invocation.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 37 tokens

prpl

21

PatternsDev/skills

Skill Claude Code

Teaches the PRPL pattern for optimizing initial page load. Use when building Progressive Web Apps or when you need to push critical resources, render the initial route, pre-cache remaining routes, and lazy-load on demand.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 46 tokens

route-based

22

PatternsDev/skills

Skill Claude Code

Teaches route-based code splitting for single-page applications. Use when different routes load distinct feature sets and you want to avoid loading all route code upfront.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 33 tokens

singleton-pattern

23

PatternsDev/skills

Skill Claude Code

Teaches the singleton pattern for managing a single shared instance. Use when exactly one instance of a class or object is needed to coordinate actions across your application.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 34 tokens

static-import

24

PatternsDev/skills

Skill Claude Code

Teaches static ES2015 import syntax for module dependencies. Use when you need to import code that is required at load time and benefits from static analysis and tree shaking.

not rated 258 +1 6mo ago A Socket: passSnyk: pass 37 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: