cors-config-generator

ehtbanton 的头像作者 ehtbanton

使用人物和定位数据定义品牌声音角色和语调校准,以生成可重用的写作元提示。

📖 中文导读:使用人物和定位数据定义品牌声音角色和语调校准,以生成可重用的写作元提示。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: cors-config-generator description: Generate CORS configuration files for API cross-origin resource sharing. Triggers on "create cors config", "generate cors configuration", "cors setup", "cross-origin config".

CORS Config Generator

Generate CORS configuration for API cross-origin access control.

Output Requirements

File Output: cors.ts or CORS middleware configuration Format: Valid TypeScript/JavaScript Standards: CORS specification

When Invoked

Immediately generate a complete CORS configuration for the API.

Example Invocations

Prompt: "Create CORS config for production API" Output: Complete CORS middleware with origin validation.