Home
cd ../playbooks
Operations & ComplianceIntermediate

PCI DSS Advisor

Scope your cardholder data environment, pick the right SAQ, work through the 12 PCI DSS v4.0.1 requirements, plan segmentation and testing, and prepare for a QSA assessment.

10 minutes
By SushegaadSource
#PCI-DSS#payments#cardholder-data#SAQ#QSA#compliance

If you touch payment cards, PCI DSS v4.0.1 applies — and the fastest way to fail is to scope your cardholder data environment wrong or pick the wrong SAQ. The new v4 requirements are now mandatory, not future-dated.

Who it's for: merchants and service providers handling card data, engineering teams scoping a cardholder data environment, compliance officers choosing an SAQ, teams preparing for a QSA or ASV scan, anyone adapting to PCI DSS v4.0

Example

"Scope our cardholder data environment and tell me which SAQ applies" → A CDE scoping analysis, the correct SAQ type, a requirement-by-requirement gap report, and a segmentation and testing plan

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add pci-dss-advisor
# PCI DSS Compliance Skill

You are an expert PCI DSS compliance advisor and QSA-trained consultant assisting **security, compliance, and engineering teams** that handle payment card data. You have deep knowledge of **PCI DSS v4.0.1** (June 2024 — current) and **PCI DSS v4.0** (March 2022), and can help with CDE scoping, gap assessments, SAQ selection, control implementation guidance, QSA audit preparation, and remediation planning.


## How to Respond

Always clarify PCI DSS version (v4.0.1 is current; v4.0 also valid; v3.2.1 retired March 31, 2024). Default to **v4.0.1** if unspecified.

Match your output to the task type:

| Task | Output Format |

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Turns Claude Code into a PCI DSS compliance advisor covering v4.0.1 (current) and v4.0. It scopes the cardholder data environment (CDE), selects the right SAQ type (A, A-EP, B, B-IP, C, C-VT, P2PE, D), works through all 12 PCI DSS requirements, addresses network segmentation, penetration testing, tokenisation, and PAN encryption, explains merchant and service-provider levels, covers the v4.0 changes, and prepares teams for QSA assessments, ASV scans, ROC, and AOC.


The Problem

PCI scope is where most teams go wrong: pull too much into the CDE and the burden explodes; scope it wrong and you fail. Choosing the correct SAQ, meeting the 12 requirements, and adapting to the now-mandatory v4.0 changes (including new authentication and testing requirements) is a lot of detail — and a QSA will find the gaps you missed.


Quick Start

Step 1: Create Your Workspace

mkdir -p ~/Documents/PCI-DSS

Step 2: Download the Template

mv ~/Downloads/CLAUDE.md ~/Documents/PCI-DSS/

Step 3: Add Context (Optional)

Describe how card data flows through your systems, your payment integrations, and your network architecture.

Step 4: Run Claude Code

cd ~/Documents/PCI-DSS
claude

Step 5: Start

Say: "Scope our cardholder data environment and tell me which SAQ applies."


Example Commands

"Scope our cardholder data environment"
"Which SAQ type applies to us?"
"Run a gap analysis across the 12 PCI DSS requirements"
"What changed in PCI DSS v4.0 that we need to act on?"
"How should we segment the network to reduce CDE scope?"
"What penetration testing and ASV scanning do we need?"
"Prepare us for a QSA assessment — what evidence will they want?"
"Explain our merchant level and reporting obligations"

What You Get

Output Contents
CDE Scoping What's in and out of scope, with rationale
SAQ Selection The correct questionnaire for your setup
Requirement Gap Report Findings across all 12 requirements
Segmentation Plan How to shrink and protect the CDE
Assessment Prep Evidence and readiness for QSA/ASV

Tips

  • Minimize the CDE — the less card data you store and touch, the simpler compliance gets.
  • Get the SAQ right — it determines which requirements apply.
  • Treat v4.0 changes as live — several are now mandatory, not future-dated.

Important Disclaimer

This is a compliance support tool, not a QSA assessment. Validation may require a Qualified Security Assessor or approved scanning vendor. Have qualified professionals review outputs before relying on them.

$Related Playbooks

Operations & Compliance

Process Documentation Builder

Document business processes with flowcharts, RACI matrices, and standard operating procedures

10 minutes
Intermediate
Operations & Compliance

Process Optimizer

Analyze and improve business processes for efficiency, quality, and cost reduction

10 minutes
Intermediate
Operations & Compliance

Audit Preparation Documentation

Prepare for internal and external audits with evidence collection, control documentation, and readiness assessments.

15 minutes
Intermediate
Operations & Compliance

Change Management Documentation

Create change management plans with stakeholder analysis, communication strategies, training plans, and resistance management.

15 minutes
Intermediate
Operations & Compliance

Incident Analysis & Root Cause Report

Create thorough incident reports with root cause analysis, timeline reconstruction, and corrective action plans.

10 minutes
Intermediate
Operations & Compliance

IT Service Catalog Development

Build IT service catalogs with service definitions, SLAs, request workflows, and self-service documentation for IT organizations.

10 minutes
Intermediate
Operations & Compliance

Policy & Procedure Documentation

Create comprehensive policy documents and procedure manuals with version control, approval workflows, and compliance mapping.

10 minutes
Beginner
Operations & Compliance

Quality Control Checklists & Standards

Create quality control checklists, inspection criteria, and standards documentation for any process or deliverable.

10 minutes
Beginner
Operations & Compliance

Security Assessment Documentation

Document security assessments with threat modeling, vulnerability findings, risk ratings, and remediation recommendations.

10 minutes
Intermediate
Operations & Compliance

Service Level Agreement Developer

Create comprehensive SLAs with metrics, measurement methods, escalation procedures, and penalty/reward structures.

15 minutes
Intermediate
Operations & Compliance

SOP & Process Documentation Generator

Create clear, step-by-step Standard Operating Procedures with decision trees, screenshots guidance, and training materials.

10 minutes
Beginner
Operations & Compliance

Vendor & Technology Evaluation Matrix

Create structured evaluation matrices for vendor and technology selection with weighted scoring and recommendation reports.

15 minutes
Intermediate

Browse all Operations & Compliance playbooks →