pattern-proxy
CommunityControl access with lazy-loading proxies
Software Engineering#caching#logging#access control#lazy loading#nestjs#proxy pattern#design pattern
Authorjohnnystefan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill guides architects to create proxies that control access to services, add cross-cutting behaviors like logging or caching, and delay instantiation until the real object is needed.
Core Features & Use Cases
- Shared Interface Enforcement: Define a common interface so callers remain unaware that requests may go through a proxy.
- Access Control & Lazy Initialization: Use the proxy to enforce guards, lazily instantiate heavy aggregates, and log every request before delegating.
- Use Case: Wrap a repository with a proxy that enforces tenant isolation, caches responses, and logs access without touching the core data service.
Quick Start
Wrap the member domain service in a proxy that guards access, lazily instantiates the real service, and logs each request before delegating.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pattern-proxy Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#pattern-proxy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.