api-layer-patterns
OfficialSecurely enforce internal API proxy patterns.
AuthorEsdeveniments
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill codifies a secure three-layer API pattern to prevent direct external API calls from client code, ensuring internal routes, wrappers, and guards control all data flows.
Core Features & Use Cases
- Layered architecture: Client code ⇢ internal API routes ⇢ external wrappers, with a clear separation of concerns.
- Safety and resilience: env guards, HMAC signing, runtime validation, and safe fallbacks across layers.
- Use Case: When adding a new backend resource, implement an internal route that proxies to the external API with server-side signing and caching.
Quick Start
Follow repo templates and guidelines to implement a new API resource using the three-layer pattern (client library → internal route → external wrapper).
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: api-layer-patterns Download link: https://github.com/Esdeveniments/esdeveniments-frontend/archive/main.zip#api-layer-patterns 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 223,000+ vetted skills library on demand.