What problem does it solve? Web applications without proper HTTP security headers are exposed to XSS, clickjacking, MIME sniffing, and man-in-the-middle attacks. This Skill provides production-ready middleware patterns for ASP.NET Core Razor Pages applications to configure CSP, HSTS, X-Frame-Options, and other security headers correctly. ## Core Features & Use Cases - Security Headers Middleware: Custom middleware patterns for X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy with extension-method registration. - Content Security Policy: Full CSP configuration including nonce-based inline script support via Tag Helpers, per-environment options, and violation report endpoints. - HSTS Configuration: Production HSTS setup with preload considerations, plus conditional headers for specific routes and static files. - Use Case: When hardening a Razor Pages app before launch, apply these patterns to add a strict CSP with nonces, enable HSTS with preload, and set up a /api/csp-report endpoint to monitor violations. ## Quick Start Ask the AI to add a Content Security Policy and security headers middleware to my ASP.NET Core Program.cs with nonce support for inline scripts.