aj-geddes avatar

Incident Response Plan

This gives you a structured framework for handling security incidents from detection through recovery. It includes Python dataclasses for tracking incident severity, status, and types, plus playbooks for common scenarios like data breaches, malware infections, and unauthorized access. The main value is in the predefined workflow states and enums that keep your response organized when things go sideways. You get reference implementations for both a general framework and Node.js specific detection patterns. Honestly most useful if you're building out incident response tooling or need a template to avoid reinventing the process during an actual breach.

skills.sh installs
484
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill incident-response-plan --agent claude-code

Installs into .claude/skills of the current project.

Files

Incident Response Plan

Table of Contents

Overview

Structured approach to detecting, responding to, containing, and recovering from security incidents with comprehensive playbooks and automation.

When to Use

  • Security breach detection
  • Data breach response
  • Malware infection
  • DDoS attacks
  • Insider threats
  • Compliance violations
  • Post-incident analysis

Quick Start

Minimal working example:

# incident_response.py
from dataclasses import dataclass, field
from typing import List, Dict, Optional
from enum import Enum
from datetime import datetime
import json

class IncidentSeverity(Enum):
    CRITICAL = "critical"  # P1 - Business critical
    HIGH = "high"          # P2 - Major impact
    MEDIUM = "medium"      # P3 - Moderate impact
    LOW = "low"            # P4 - Minor impact

class IncidentStatus(Enum):
    DETECTED = "detected"
    INVESTIGATING = "investigating"
    CONTAINED = "contained"
    ERADICATED = "eradicated"
    RECOVERED = "recovered"
    CLOSED = "closed"

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Security, DevOps & CI/CD, AI & Agent Building, Productivity & Planning
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Recommended

More Security
1alirezarezvani avatarship-gatealirezarezvani/claude-skillsPre-production audit that scans a codebase for security, database, deployment, code quality, AI/LLM, dependency, frontend, and observability issues. Intercepts 483skills.sh installs
2parcadei avatarreleaseparcadei/continuous-claude-v3Release preparation workflow - security audit → E2E tests → review → changelog → docs483skills.sh installs
3manutej avatarapi-gateway-patternsmanutej/luxor-claude-marketplaceComprehensive API gateway patterns skill covering Kong, routing, rate limiting, authentication, load balancing, traffic management, and production gateway archi482skills.sh installs
4prowler-cloud avatardjango-drfprowler-cloud/prowlerDjango REST Framework patterns. Trigger: When implementing generic DRF APIs (ViewSets, serializers, routers, permissions, filtersets). For Prowler API specifics482skills.sh installs
5aj-geddes avatardependency-managementaj-geddes/useful-ai-promptsManage project dependencies across languages including npm install, package versioning, dependency conflicts, security scanning, and lock files. Use when dealin481skills.sh installs
6jezweb avatarai-sdk-corejezweb/claude-skillsBuild backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools 479skills.sh installs