a6-plugin-cors
CommunityConfigure CORS for APISIX routes.
Authormoonming
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill simplifies the configuration of Cross-Origin Resource Sharing (CORS) for Apache APISIX routes, enabling secure and controlled access to your APIs from different web domains.
Core Features & Use Cases
- Flexible Origin Matching: Supports exact origins, wildcards (
*,**), and regular expressions for granular control. - Credential Handling: Allows configuration for credentialed requests (cookies, auth headers).
- Preflight Request Optimization: Manages
OPTIONSrequests and caching (max_age). - Use Case: Securely expose your APISIX-served API to a frontend application hosted on a different domain, ensuring only authorized origins can access it.
Quick Start
Configure the CORS plugin on a route to allow all origins and methods for public access.
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: a6-plugin-cors Download link: https://github.com/moonming/a6/archive/main.zip#a6-plugin-cors 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.