This teaches you how to use JavaScript's Proxy object to intercept and control operations on objects like property access, assignment, and function calls. It's from patterns.dev and covers the fundamentals with the person object example, showing how to add validation, logging, and access control through get and set traps. The guide includes practical advice on using Reflect for cleaner code and is honest about the tradeoffs: proxies add overhead and shouldn't be used in performance critical paths. Good for learning when you actually need this pattern versus just using regular getters and setters. The validation examples are straightforward and the "when NOT to use" section is refreshingly direct about avoiding overengineering.
npx skills add https://github.com/patternsdev/skills --skill proxy-pattern