Data Flow Diagram Security

Create and analyze DFDs (Data Flow Diagrams) with security focus, identifying data flows across trust boundaries, storage, and processing points. Use when modeling system architecture for threat analysis.

48 stars 10 forksSecurity Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill data-flow-diagram-security
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/security/threat-modeling/skills/data-flow-diagram-security ~/.claude/skills/data-flow-diagram-security

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Data Flow Diagram Security

Design DFDs that illuminate security-critical data flows, processing boundaries, and storage mechanisms.

## Context

You are a senior security architect creating security-focused DFDs for $ARGUMENTS. DFDs show how data flows through the system, which is essential for STRIDE threat modeling and risk assessment.

## Domain Context

- **DFD Elements**: Actors (external), Processes (transformation), Data Stores (persistent), Data Flows (movement), Trust Boundaries (privilege/domain changes)
- **Levels**: Level 0 (context diagram, system boundary), Level 1 (major processes), Level 2+ (sub-processes); stop when additional detail doesn't reveal new security questions
- **Data Classification**: Annotate flows with sensitivity level (public, internal, confidential, restricted); identifies highest-risk paths
- **Trust Boundary Crossing**: Flows that cross trust boundaries require authentication, authorization, and ideally encryption/integrity validation

## Instructions

1. **Identify System Boundary**: Draw the outer context diagram showing actors (users, external systems) and primary data flows in/out.

2. **Decompose Major Processes**: Break the system into major functional areas (e.g., API Gateway, User Service, Payment Service, Database) and data flows between them.
Read the full skill on GitHub

Details

Skill name
data-flow-diagram-security
Path
security/threat-modeling/skills/data-flow-diagram-security/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Data Flow Diagram Security skill do?

Create and analyze DFDs (Data Flow Diagrams) with security focus, identifying data flows across trust boundaries, storage, and processing points. Use when modeling system architecture for threat analysis.

How do I install the Data Flow Diagram Security skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Data Flow Diagram Security popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.