stpa-step2-control-structure

Model system control structures with hierarchical Graphviz/DOT diagrams.

130|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/sandgardenhq/sgai --skill stpa-step2-control-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stpa-step2-control-structure
Source: https://github.com/sandgardenhq/sgai/tree/main/cmd/sgai/skel/.sgai/skills/stpa/stpa-step2-control-structure
Command: npx skills add https://github.com/sandgardenhq/sgai --skill stpa-step2-control-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill helps safety engineers and system designers model the control structure of a system, revealing controllers, control actions, and feedback paths that are often missed in traditional diagrams.

Core Features & Use Cases

  • Guided identification of controllers, actions, and feedback through structured questions.
  • Graphviz/DOT template to generate clear hierarchical diagrams.
  • Validation checklist to ensure completeness before moving to STPA Step 3.
  • Use case: Apply during safety analysis of an autonomous vehicle control system to visualize how sensors, controllers, and actuators interact.

Quick Start

Generate the control structure diagram for my system using the STPA Step 2 skill.

Frequently Asked Questions about stpa-step2-control-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a control structure diagram for STPA safety analysis?

A control structure diagram visualizes hierarchical controllers, control actions, and feedback paths, helping safety engineers reveal interactions often missed in traditional diagrams during STPA safety analysis.

What is a hierarchical control-feedback diagram in system safety engineering?

A hierarchical control-feedback diagram maps how controllers issue control actions downward and receive feedback upward, capturing the dynamic command structure of a system for safety engineering tasks like STPA.

Do I need Graphviz to generate STPA control hierarchy diagrams?

Yes, you need Graphviz to render the DOT syntax output, which generates clear hierarchical control structure diagrams showing controllers, control actions, and feedback paths for safety analysis.

How do I identify controllers, control actions, and feedback paths for a safety diagram?

Identify controllers, control actions, and feedback paths through guided structured questions that validate your system's control hierarchy before generating the Graphviz diagram and moving to STPA Step 3.

Can I use this STPA control structure approach for autonomous vehicle safety analysis?

Yes, you can use this control structure approach for autonomous vehicle safety analysis to visualize how sensors, controllers, and actuators interact within the hierarchical control-feedback diagram.

What are the limitations of using Graphviz DOT for control structure diagrams?

Graphviz DOT generates static hierarchical diagrams, meaning it does not simulate dynamic runtime behavior or verify control loop timing, serving only as a visual modeling and validation checklist for STPA.