Skip to content
aj-geddes avatar

Security Headers Configuration

Configuration guide for HTTP security headers covering CSP, HSTS, X-Frame-Options, and MIME-sniffing protection across common web stacks.

CCM score
40 of 100
skills.sh installs
523
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CSP, HSTS, X-Frame-Options, MIME sniffing prevention, and related browser hardening headers for web applications
  • Includes Helmet-based Node.js setup plus reference guides for Express, Nginx, Flask, Apache .htaccess, and a header testing script
  • Enforces a strict CSP that flags 'unsafe-inline' for removal in production and recommends HSTS with preload
  • Designed for teams deploying new web applications, remediating security audits, or meeting compliance requirements

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Security Headers Configuration

Table of Contents

Overview

Implement comprehensive HTTP security headers to protect web applications from XSS, clickjacking, MIME sniffing, and other browser-based attacks.

When to Use

  • New web application deployment
  • Security audit remediation
  • Compliance requirements
  • Browser security hardening
  • API security
  • Static site protection

Quick Start

Minimal working example:

// security-headers.js
const helmet = require("helmet");

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Security, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the security-headers-configuration skill do?

security-headers-configuration configures HTTP security headers such as CSP, HSTS, X-Frame-Options and XSS protection. It helps harden web applications against common browser-based attacks like XSS and clickjacking.

How do I install the security-headers-configuration skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill security-headers-configuration -y in your project. After that, security-headers-configuration lets the agent write Helmet, Nginx, Flask and Apache header setups.

Where does security-headers-configuration sit in the Security category?

security-headers-configuration is listed in the Security category next to azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. It focuses on browser-side header hardening rather than auditing or compliance.

When should I use security-headers-configuration?

Use security-headers-configuration for a new web application deployment, security audit remediation, compliance requirements or static site protection. Its reference guides cover Node.js/Express, Nginx, Python Flask and Apache .htaccess setups.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Security Headers Configuration

More Security