golem-add-cors-ts
CommunityEasily manage CORS settings for TypeScript HTTP endpoints.
Authorjustcoon
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies configuring Cross-Origin Resource Sharing (CORS) for TypeScript-based HTTP endpoints, enabling secure cross-origin requests without complex setup.
Core Features & Use Cases
- Mount-Level CORS Configuration: Allow setting CORS policies globally on agent mount points to enable cross-origin requests for all endpoints under a specific route.
- Endpoint-Level CORS Overrides: Add custom CORS origins for individual endpoints, unioned with mount-level rules to provide fine-grained access control.
- Wildcard Support: Use '*' to permit all origins, simplifying scenarios requiring open access.
- Preflight Handling: Automatic management of OPTIONS preflight requests to ensure proper CORS headers without manual intervention.
- Use Case: Suppose you are deploying an API backend with multiple frontend apps from different domains; this Skill helps you configure precise CORS policies dynamically.
Quick Start
To enable CORS for your TypeScript HTTP endpoints, specify the desired CORS origins in the agent or endpoint decorators, and the system will handle CORS preflight requests automatically.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: golem-add-cors-ts Download link: https://github.com/justcoon/golem-shopping-ts/archive/main.zip#golem-add-cors-ts 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.