csp-header-generator
为网络安全生成内容安全策略(CSP)头部配置。在"创建csp头部"、"生成内容安全策略"、"csp配置"、"安全头部"时触发。
📖 中文导读:为网络安全生成内容安全策略(CSP)头部配置。在"创建csp头部"、"生成内容安全策略"、"csp配置"、"安全头部"时触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: csp-header-generator description: Generate Content Security Policy (CSP) header configurations for web security. Triggers on "create csp header", "generate content security policy", "csp config", "security headers".
CSP Header Generator
Generate Content Security Policy configurations for enhanced web security.
Output Requirements
File Output: CSP configuration or middleware code Format: Valid CSP directives Standards: CSP Level 3
When Invoked
Immediately generate a complete CSP configuration for the application type.
Example Invocations
Prompt: "Create CSP headers for React SPA" Output: Complete CSP configuration with appropriate directives.