关于
This skill streamlines the process of securing Next.js applications by automatically analyzing resource dependencies—such as scripts, styles, and external APIs—to build robust Content Security Policy (CSP) configurations. It provides guided implementation for advanced security patterns like nonce-based strategies, middleware integration for dynamic header injection, and automated violation reporting. By identifying third-party domains and environment-specific requirements, the skill ensures that production environments remain hardened while maintaining developer productivity during local builds.