Skip to content
Back to skills

Data Flow Diagram

ASecurity

Use when performing data flow diagram — guides the creation of comprehensive data flow diagrams (DFDs) that map how data moves through a system, identifying sources, destinations, transformations, and storage points. This template supports privacy reviews, security assessments, and compliance documentation by producing clear data lineage artifacts.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
securityrustgorailssecuritydocumentation

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add cloudthinker-ai/CloudSkills --skill data-flow-diagram --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Flow Diagram?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Flow Diagram
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cloudthinker-ai-data-flow-diagram/badge)](https://www.skillsdirectory.com/skills/cloudthinker-ai-data-flow-diagram)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-flow-diagram
enabled: true
description: |
  Use when performing data flow diagram — guides the creation of comprehensive
  data flow diagrams (DFDs) that map how data moves through a system,
  identifying sources, destinations, transformations, and storage points. This
  template supports privacy reviews, security assessments, and compliance
  documentation by producing clear data lineage artifacts.
required_connections:
  - prefix: wiki
    label: "Documentation Platform"
config_fields:
  - key: system_name
    label: "System Name"
    required: true
    placeholder: "e.g., Customer Data Platform"
  - key: data_classification
    label: "Highest Data Classification"
    required: true
    placeholder: "e.g., PII, Confidential, Public"
features:
  - DATA_FLOW
  - DOCUMENTATION
  - ARCHITECTURE
---

# Data Flow Diagram

## Phase 1: Scope Definition

Define the boundaries of the data flow analysis.

- [ ] System or subsystem under analysis: ___
- [ ] Data classification levels in scope: ___
- [ ] Regulatory requirements (GDPR, HIPAA, SOC2, etc.): ___
- [ ] Diagram level: Context (L0) / System (L1) / Process (L2)

## Phase 2: Entity Inventory

Catalog all entities that interact with data.

**External Entities (sources and sinks):**

| Entity | Type | Data Provided | Data Received | Trust Level |
|--------|------|---------------|---------------|-------------|
|        | User/System/Third-party | | | Trusted/Untrusted |

**Processes (data transformations):**

| Process | Description | Input Data | Output Data | Technology |
|---------|------------|------------|-------------|------------|
|         |            |            |             |            |

**Data Stores:**

| Store | Type | Data Held | Classification | Encryption | Retention | Backup |
|-------|------|-----------|----------------|------------|-----------|--------|
|       | DB/Cache/File/Queue | | | At-rest Y/N | | Y/N |

## Phase 3: Data Flow Mapping

Map every data flow between entities.

| Flow ID | Source | Destination | Data Elements | Classification | Protocol | Encrypted | Auth Required |
|---------|--------|-------------|---------------|----------------|----------|-----------|---------------|
| F1      |        |             |               |                |          | Y/N       | Y/N           |

**Data Element Catalog:**

| Element | Classification | PII | Sensitive | Format | Validation |
|---------|---------------|-----|-----------|--------|------------|
|         | Public/Internal/Confidential/Restricted | Y/N | Y/N | | |

## Phase 4: Trust Boundary Analysis

- [ ] Identify all trust boundaries in the system
- [ ] Map which data flows cross trust boundaries
- [ ] Verify encryption for all cross-boundary flows
- [ ] Verify authentication for all cross-boundary flows
- [ ] Identify data that crosses organizational boundaries

**Trust Boundary Crossings:**

| Boundary | Flows Crossing | Security Controls | Gaps |
|----------|---------------|-------------------|------|
|          |               |                   |      |

## Phase 5: Compliance Mapping

| Requirement | Relevant Data Flows | Current Controls | Compliant | Gap |
|-------------|-------------------|------------------|-----------|-----|
| Data minimization | | | Y/N | |
| Encryption in transit | | | Y/N | |
| Encryption at rest | | | Y/N | |
| Access logging | | | Y/N | |
| Data retention | | | Y/N | |
| Right to deletion | | | Y/N | |
| Cross-border transfer | | | Y/N | |

## Counter-Rationalizations

| Shortcut | Counter | Why |
|----------|---------|-----|
| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |
| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |
| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |
| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |
| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |

## Output Format

### Summary

- **System:** ___
- **Data flows documented:** ___
- **Trust boundaries identified:** ___
- **PII data flows:** ___
- **Compliance gaps found:** ___

### Artifacts

- [ ] Context diagram (L0)
- [ ] System diagram (L1)
- [ ] Process diagrams (L2) for sensitive flows
- [ ] Data element catalog
- [ ] Trust boundary map

### Action Items

- [ ] Remediate identified compliance gaps
- [ ] Add encryption to unprotected cross-boundary flows
- [ ] Add authentication to unauthenticated flows
- [ ] Review data retention policies for all stores
- [ ] Update DFD when system architecture changes
- [ ] Share with privacy and security teams for review

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…