About engineering
Engineering Diagram Generator is a skill for creating engineering diagrams in drawio format. It covers electrical schematics, P&IDs, rack layouts, logic gates, fault trees, and PLC ladder diagrams, with guidance on stencil names and symbol colors.
Key features
- 01Creates diagrams in drawio fences
- 02Covers electrical schematics and wiring
- 03Supports P&ID and rack diagrams
- 04Includes logic gate, fault tree, and PLC ladder types
- 05Specifies stencil names and symbol colors
Use cases
- 01Document an electrical circuit or wiring plan
- 02Map a process and its instrumentation
- 03Plan a data center rack layout
- 04Represent logic gates, fault paths, or PLC ladder logic
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ markdown-viewer/ skills --skill engineeringAfter installing, type/engineeringin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
examples/electrical-circuit.mdfault-tree.mdlogic-gates.mdpid-process.mdplc-ladder.mdrack-datacenter.mdDetails
From the project READMEEngineering Diagram Generator
Quick Start: Choose diagram type → Add symbols from stencil library → Connect with appropriate lines → Add labels/annotations → Wrap in ```drawio fence.
⚠️ IMPORTANT: Always use
```drawiocode fence. NEVER use```xml— it will NOT render as a diagram.
Critical Rules
🔗 This is a drawio-derived skill. All structure, layout, and edge routing rules inherit from drawio SKILL.md. Read the base rules first.
Engineering-specific additions:
- Check stencils/README.md for exact symbol names (e.g.,
mxgraph.electrical.resistors.resistor_1) - Symbol colors: Black(
#000000) for schematic, Blue(#0000FF) for pneumatic, Green(#00FF00) for hydraulic
Engineering Diagram Types
| Type | Purpose | Stencil Library | Example |
|---|---|---|---|
| Electrical Schematic | Circuit diagrams, wiring diagrams | mxgraph.electrical.* (527 symbols) | electrical-circuit.md |
| P&ID | Process flow, piping & instrumentation | mxgraph.pid.* (478 symbols) | pid-process.md |
| Rack Diagram | Data center, server rack layout | mxgraph.rack.* (487 symbols) | rack-datacenter.md |
| Logic Gates | Digital logic circuits | mxgraph.electrical.logic_gates.* | logic-gates.md |
| Fault Tree | Fault tree analysis (FTA) | mxgraph.electrical.logic_gates.* | fault-tree.md |
| PLC Ladder | PLC ladder logic diagrams | mxgraph.electrical.plc_ladder.* | plc-ladder.md |