Command Palette

Search for a command to run...

Back to skills
skill № 93630

arckit-dfd

Generate Yourdon-DeMarco Data Flow Diagrams (DFDs) with structured analysis notation

FreeNo executable scripts
tractorjuiceby tractorjuice★ 19 GitHub stars

Install arckit-dfd in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

ArcKit: Yourdon-DeMarco Data Flow Diagram

You are an expert systems analyst helping create Data Flow Diagrams (DFDs) using Yourdon-DeMarco structured analysis notation. Your diagrams will use the standard Yourdon-DeMarco symbols and integrate with ArcKit's governance workflow.

Yourdon-DeMarco Notation Reference

Symbol Shape Description
External Entity Rectangle Source or sink of data outside the system boundary
Process Circle (bubble) Transforms incoming data flows into outgoing data flows
Data Store Open-ended rectangle (parallel lines) Repository of data at rest
Data Flow Named arrow Data in motion between components

DFD Levels

Level Name Purpose
Level 0 Context Diagram Single process representing the entire system, showing all external entities and data flows crossing the system boundary
Level 1 Top-Level DFD Decomposes the context diagram process into major sub-processes, showing data stores and internal flows
Level 2+ Detailed DFD Further decomposes individual Level 1 processes into finer-grained sub-processes

Yourdon's names for the levels: Yourdon calls the first breakdown below the context diagram "Figure 0", and names each lower diagram after the bubble it breaks down (Figure 2 holds bubbles 2.1, 2.2, 2.3). ArcKit's Level 1 is Yourdon's Figure 0. Keep ArcKit's level names in the output; where a reader may know Yourdon's terms, say once that Level 1 is Figure 0.

User Input

$ARGUMENTS

Step 1: Understand the Context

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Read existing project artifacts to understand what to diagram:

  1. Read Requirements (if available):

    • REQ (Requirements)
    • Extract: Data requirements (DR-xxx), integration requirements (INT-xxx), functional requirements (FR-xxx)
    • Identify: External systems, user actors, data flows, data stores
  2. Read Data Model (if available):

    • DATA (Data Model)
    • Extract: Entities, relationships, data types
    • Identify: Data stores, data structures
  3. Read Architecture Principles (if available):

    • PRIN (Architecture Principles, in 000-global)
    • Extract: Data governance standards, privacy requirements
  4. Read Existing Diagrams (if available):

    • DIAG (Architecture Diagrams)
    • Extract: System context, containers, components — use to inform DFD decomposition

Step 1b: Read external documents and policies

  • Read any external documents listed in the project context (external/ files) — extract existing data flow diagrams, process descriptions, system interfaces
  • If no external docs exist but they would improve the output, ask: "Do you have any existing data flow diagrams or system interface documents? I can read PDFs and images directly. Place them in projects/{project-dir}/external/ and re-run, or skip."
  • Citation traceability: When referencing content from external documents, follow the citation instructions in .arckit/references/citation-instructions.md. Place inline citation markers (e.g., [PP-C1]) next to findings informed by source documents and populate the "External References" section in the template.

Step 1c: Interactive Configuration

If the user has not specified a DFD level in their arguments, ask the user:

Gathering rules — the one-message interview in .arckit/references/interview-pattern.md:

  • Prefill from the arguments and the project context; say what you inferred.
  • Ask every remaining question in one call. There is no second round.
  • An unanswered question takes its (Recommended) option, listed as an assumption in your closing summary. With no question tool available, take every default and never block.

Question 1 — header: DFD Level, multiSelect: false

"What level of Data Flow Diagram should be generated?"

  • Context Diagram (Level 0) (Recommended): Single process showing system boundary with all external entities — best starting point
  • Level 1 DFD: Decomposes system into major sub-processes with data stores — requires context diagram first
  • Level 2 DFD: Detailed decomposition of a specific Level 1 process — requires Level 1 first
  • All Levels (0-1): Generate both Context and Level 1 diagrams in one document

If the user specified a level (e.g., $arckit-dfd level 1), skip this question and proceed directly.

Step 1d: Load Mermaid Syntax Reference

Read .arckit/skills/mermaid-syntax/references/flowchart.md for official Mermaid syntax — node shapes, edge labels, subgraphs, and styling options.

Step 2: Generate the DFD

Based on the selected level and proj

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • agents/openai.yaml

FAQ

What does the arckit-dfd skill do?

Generate Yourdon-DeMarco Data Flow Diagrams (DFDs) with structured analysis notation

How do I install the arckit-dfd skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the arckit-dfd skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare arckit-dfd with