csp-config-generator

Community

Generate CSP directives for Next.js apps.

Authorhopeoverture
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps generate a tailored Content Security Policy for Next.js applications by analyzing app resources, discovering external domains, and assembling CSP directives to prevent XSS while enabling legitimate resources.

Core Features & Use Cases

  • Discover external resources across scripts, styles, images, APIs, and media
  • Extract domains and build CSP directives
  • Recommend nonce-based CSP strategy
  • Output a ready-to-integrate policy for next.config.ts or middleware

Quick Start

Scan your project and integrate the generated CSP into your Next.js configuration.

Dependency Matrix

Required Modules

None required

Components

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: csp-config-generator
Download link: https://github.com/hopeoverture/worldbuilding-app-skills/archive/main.zip#csp-config-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.