Generate Content Security Policy (CSP) header configurations for web security. Triggers on "create csp header", "generate content security policy", "csp config", "security headers".
Resources
1Install
npx skillscat add ehtbanton/claudeskillsrepo/csp-header-generator Install via the SkillsCat registry.
SKILL.md
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.