
Drawio Diagrams Enhanced
- 16 installs
- 21 repo stars
- Updated July 31, 2026
- jim60105/copilot-prompt
Create and edit professional draw.io diagrams (flowcharts, swimlanes, WBS, RACI, BPMN, UML, org charts) via the next-ai-draw-io MCP server with live preview.
About
Generates mxGraphModel XML for draw.io diagrams through the next-ai-draw-io MCP server, supporting real-time browser preview and edits. A developer uses it to build flowcharts, UML, BPMN, or project-management diagrams.
- Uses start_session, create_new_diagram, and edit_diagram MCP tools
- Constrains layout coordinates and edge exit/entry points to avoid overlaps
Drawio Diagrams Enhanced by the numbers
- 16 all-time installs (skills.sh)
- Ranked #1,053 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jim60105/copilot-prompt --skill drawio-diagrams-enhancedAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 16 |
|---|---|
| repo stars | ★ 21 |
| Last updated | July 31, 2026 |
| Repository | jim60105/copilot-prompt ↗ |
What it does
Create and edit professional draw.io diagrams (flowcharts, swimlanes, WBS, RACI, BPMN, UML, org charts) via the next-ai-draw-io MCP server with live preview.
Files
Enhanced Draw.io Diagram Creation with MCP Integration
Create professional diagrams using the next-ai-draw-io MCP server. Generate mxGraphModel XML for real-time browser preview and editing.
MCP Workflow
1. Start Session
Call start_session tool first to open browser with real-time preview.
2. Create New Diagram
Use create_new_diagram tool with mxGraphModel XML (not full mxfile wrapper):
<mxGraphModel>
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- shapes here -->
</root>
</mxGraphModel>Critical constraints:
- Keep elements within x=0-800, y=0-600
- Start from x=40, y=40 with tight spacing
- Use unique IDs starting from "2"
- Set parent="1" for top-level shapes
- Specify exitX/exitY/entryX/entryY for edges to avoid overlaps
3. Edit Existing Diagram
For modifications, call get_diagram first to see current structure, then use edit_diagram with operations array.
4. Get Current State
Use get_diagram to retrieve current XML including user's manual edits.
Core Capabilities
1. Standard Diagram Types
- Flowcharts: Basic flowcharts, decision trees, process flows
- Cross-Functional Flowcharts (CFF): Swimlane diagrams showing processes across departments/roles
- BPMN Diagrams: Business Process Model and Notation diagrams
- UML Diagrams: Class diagrams, sequence diagrams, use case diagrams
- Network Diagrams: Infrastructure, cloud architecture, system design
- Org Charts: Organizational hierarchies and team structures
- Mind Maps: Conceptual mapping and brainstorming
- Entity Relationship Diagrams: Database schemas
2. PMP/PMBOK Project Management Diagrams
- Work Breakdown Structure (WBS): Hierarchical decomposition of project deliverables
- Project Network Diagrams: PERT charts, CPM, activity dependencies
- Gantt Charts: Timeline-based project schedules
- RACI Matrices: Responsibility assignment matrices
- Risk Register Diagrams: Risk matrices, heat maps, probability-impact grids
- Stakeholder Maps: Power-interest grids, influence diagrams
- Resource Histograms: Resource allocation and capacity planning
- Communication Plans: Information flow diagrams
- Process Group Diagrams: Initiating, Planning, Executing, Monitoring & Controlling, Closing
- Knowledge Area Maps: Integration, Scope, Schedule, Cost, Quality, Resource, Communications, Risk, Procurement, Stakeholder Management
3. Visual Asset Libraries Available
Agents can reference and incorporate shapes from extensive custom libraries:
Icon & Symbol Libraries:
- Material Design Icons
- Font Awesome icons
- OSA (Open Security Architecture) Icons
- UN-OCHA Humanitarian Icons
- Flat Color Icons
- Chart & Infographic Icons
- Windows 10 Icons
- Gesture & Fingerprint Icons
Technology & Infrastructure:
- Kubernetes Icons
- Cloud Provider Icons (AWS, Azure, GCP, DigitalOcean)
- Network Device Libraries (Cisco, Arista, Fortinet, Commvault)
- DevOps & CI/CD Pipeline Shapes
Business & General Purpose:
- Wireframe Components
- Avatars & People Icons
- Form Elements
- Bioicons (Life Sciences)
- Genogram Symbols
- Templates & Building Blocks
How to Use Custom Libraries: When generating diagrams that would benefit from specific icons, Agents can note which libraries to enable:
To use this diagram optimally, open it with these custom libraries:
https://app.diagrams.net/?clibs=Uhttps://jgraph.github.io/drawio-libs/libs/templates.xmlXML Format for MCP
For MCP tools, output only mxGraphModel (not full mxfile):
<mxGraphModel>
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- shapes here -->
</root>
</mxGraphModel>For standalone files, use full mxfile wrapper:
<mxfile host="app.diagrams.net">
<diagram id="diagram-1" name="Page-1">
<mxGraphModel dx="1434" dy="759" grid="1" gridSize="10">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- shapes here -->
</root>
</mxGraphModel>
</diagram>
</mxfile>Core Concepts
1. Cells (mxCell)
Everything in draw.io is a cell - shapes, connectors, containers, and even the root elements.
Basic Shape Cell:
<mxCell id="2" value="Process Step" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="100" y="100" width="120" height="60" as="geometry"/>
</mxCell>Connector Cell:
<mxCell id="3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>2. ID Management
- Each cell must have a unique ID
- Use sequential integers: "2", "3", "4", etc.
- IDs "0" and "1" are reserved for the root cells
- When referencing shapes in connectors, use the same IDs
3. Geometry (mxGeometry)
x,y: Position (top-left corner)width,height: Dimensionsrelative="1": For connectors (relative positioning)
4. Styling
Styles are semicolon-separated key-value pairs:
- Shape type:
rounded=1,ellipse,rhombus - Colors:
fillColor=#dae8fc,strokeColor=#6c8ebf,fontColor=#000000 - Text:
fontSize=12,fontStyle=1(bold=1, italic=2, underline=4) - Alignment:
align=center,verticalAlign=middle - Spacing:
spacingLeft=10,spacingTop=5
PMP/PMBOK Specific Shapes & Styles
Work Breakdown Structure (WBS)
WBS uses hierarchical tree structure with boxes connected by lines.
WBS Package Box:
shape=rectangle;rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontStyle=1;fontSize=10;WBS Levels:
- Level 0 (Project): Large box, 200x80, bold, dark green
- Level 1 (Deliverables): Medium box, 160x60, medium green
- Level 2 (Sub-deliverables): Small box, 140x50, light green
- Level 3 (Work Packages): Smallest box, 120x40, lightest green
Project Network Diagram (PERT/CPM)
Activity Node (AON - Activity on Node):
shape=rectangle;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontStyle=0;Node Structure (divided into sections):
┌─────────────────┐
│ Early Start ES │ Duration
├─────────────────┤
│ Activity Name │
├─────────────────┤
│ Late Start LS │ Late Finish LF
└─────────────────┘Critical Path Highlighting:
fillColor=#f8cecc;strokeColor=#b85450;strokeWidth=3;RACI Matrix
Matrix Container:
swimlane;html=1;startSize=40;fillColor=#f5f5f5;strokeColor=#666666;fontStyle=1;RACI Cells:
- R (Responsible):
fillColor=#d5e8d4;strokeColor=#82b366; - A (Accountable):
fillColor=#dae8fc;strokeColor=#6c8ebf; - C (Consulted):
fillColor=#fff2cc;strokeColor=#d6b656; - I (Informed):
fillColor=#e1d5e7;strokeColor=#9673a6;
Gantt Chart Elements
Timeline Bar:
rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;Milestone Diamond:
rhombus;whiteSpace=wrap;html=1;fillColor=#fa6800;strokeColor=#C73500;fontColor=#000000;Dependency Arrow:
edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=block;endFill=1;strokeWidth=2;Risk Matrix (Probability-Impact Grid)
Risk Matrix Structure:
5x5 grid with:
- X-axis: Impact (Very Low, Low, Medium, High, Very High)
- Y-axis: Probability (Very Low, Low, Medium, High, Very High)Risk Level Colors:
- Low Risk:
fillColor=#d5e8d4;strokeColor=#82b366;(Green) - Medium Risk:
fillColor=#fff2cc;strokeColor=#d6b656;(Yellow) - High Risk:
fillColor=#ffe6cc;strokeColor=#d79b00;(Orange) - Critical Risk:
fillColor=#f8cecc;strokeColor=#b85450;(Red)
Stakeholder Power-Interest Grid
Quadrant Structure:
┌─────────────────┬─────────────────┐
│ Manage │ Partner │
│ Closely │ Closely │
│ (High Power, │ (High Power, │
│ High Interest) │ High Interest) │
├─────────────────┼─────────────────┤
│ Keep │ Keep │
│ Satisfied │ Informed │
│ (High Power, │ (Low Power, │
│ Low Interest) │ High Interest) │
└─────────────────┴─────────────────┘Common Shape Styles
Flowchart Shapes
Process (Rectangle):
rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;Decision (Diamond):
rhombus;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;Start/End (Rounded Rectangle):
ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;Document:
shape=document;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;Data (Parallelogram):
shape=parallelogram;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;Swimlane Shapes
Swimlane Container:
swimlane;html=1;startSize=20;fillColor=#f5f5f5;strokeColor=#666666;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;Vertical Swimlane:
swimlane;html=1;startSize=20;fillColor=#f5f5f5;strokeColor=#666666;horizontal=0;fontStyle=1;Creating PMP/PMBOK Diagrams
Work Breakdown Structure (WBS) Example
<mxfile host="app.diagrams.net">
<diagram id="WBS-1" name="Project WBS">
<mxGraphModel dx="1434" dy="759" grid="1" gridSize="10" guides="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- Level 0: Project -->
<mxCell id="2" value="Project Name" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;fontStyle=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="280" y="40" width="200" height="80" as="geometry"/>
</mxCell>
<!-- Level 1: Major Deliverables -->
<mxCell id="3" value="Deliverable 1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="40" y="160" width="160" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" value="Deliverable 2" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="240" y="160" width="160" height="60" as="geometry"/>
</mxCell>
<mxCell id="5" value="Deliverable 3" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="440" y="160" width="160" height="60" as="geometry"/>
</mxCell>
<!-- Connectors -->
<mxCell id="6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="5">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>RACI Matrix Example
<mxfile host="app.diagrams.net">
<diagram id="RACI-1" name="RACI Matrix">
<mxGraphModel dx="1434" dy="759" grid="1" gridSize="10" guides="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- Matrix Container -->
<mxCell id="2" value="RACI Matrix" style="swimlane;html=1;startSize=40;fillColor=#f5f5f5;strokeColor=#666666;fontStyle=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="720" height="400" as="geometry"/>
</mxCell>
<!-- Header Row -->
<mxCell id="3" value="Activities / Tasks" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;" vertex="1" parent="2">
<mxGeometry x="10" y="50" width="180" height="40" as="geometry"/>
</mxCell>
<mxCell id="4" value="Role A" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;" vertex="1" parent="2">
<mxGeometry x="200" y="50" width="120" height="40" as="geometry"/>
</mxCell>
<mxCell id="5" value="Role B" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;" vertex="1" parent="2">
<mxGeometry x="330" y="50" width="120" height="40" as="geometry"/>
</mxCell>
<!-- Task Rows with RACI Assignments -->
<mxCell id="6" value="Task 1: Define Requirements" style="rounded=0;whiteSpace=wrap;html=1;align=left;spacingLeft=10;" vertex="1" parent="2">
<mxGeometry x="10" y="100" width="180" height="50" as="geometry"/>
</mxCell>
<mxCell id="7" value="R" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontStyle=1;fontSize=16;" vertex="1" parent="2">
<mxGeometry x="200" y="100" width="120" height="50" as="geometry"/>
</mxCell>
<mxCell id="8" value="A" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;fontSize=16;" vertex="1" parent="2">
<mxGeometry x="330" y="100" width="120" height="50" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>Stakeholder Power-Interest Grid Example
<mxfile host="app.diagrams.net">
<diagram id="Stakeholder-1" name="Stakeholder Map">
<mxGraphModel dx="1434" dy="759" grid="1" gridSize="10" guides="1">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- Grid Background -->
<!-- High Power, High Interest -->
<mxCell id="2" value="Manage Closely<br><b>(Key Players)</b>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;verticalAlign=top;fontSize=12;fontStyle=0;" vertex="1" parent="1">
<mxGeometry x="400" y="80" width="320" height="280" as="geometry"/>
</mxCell>
<!-- High Power, Low Interest -->
<mxCell id="3" value="Keep Satisfied<br><b>(Keep Informed)</b>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;verticalAlign=top;fontSize=12;fontStyle=0;" vertex="1" parent="1">
<mxGeometry x="400" y="360" width="320" height="280" as="geometry"/>
</mxCell>
<!-- Low Power, High Interest -->
<mxCell id="4" value="Keep Informed<br><b>(Show Consideration)</b>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;verticalAlign=top;fontSize=12;fontStyle=0;" vertex="1" parent="1">
<mxGeometry x="80" y="80" width="320" height="280" as="geometry"/>
</mxCell>
<!-- Low Power, Low Interest -->
<mxCell id="5" value="Monitor<br><b>(Minimal Effort)</b>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;verticalAlign=top;fontSize=12;fontStyle=0;" vertex="1" parent="1">
<mxGeometry x="80" y="360" width="320" height="280" as="geometry"/>
</mxCell>
<!-- Axis Labels -->
<mxCell id="6" value="Interest" style="text;html=1;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;rotation=90;" vertex="1" parent="1">
<mxGeometry x="20" y="320" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="7" value="Power / Influence" style="text;html=1;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="350" y="660" width="200" height="40" as="geometry"/>
</mxCell>
<!-- Sample Stakeholders -->
<mxCell id="8" value="CEO" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="520" y="150" width="80" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>Color Schemes
Professional Blue Theme (Default)
- Primary:
fillColor=#dae8fc;strokeColor=#6c8ebf; - Secondary:
fillColor=#b1ddf0;strokeColor=#10739e; - Accent:
fillColor=#f8cecc;strokeColor=#b85450;
Green/Natural Theme
- Primary:
fillColor=#d5e8d4;strokeColor=#82b366; - Secondary:
fillColor=#fff2cc;strokeColor=#d6b656; - Accent:
fillColor=#e1d5e7;strokeColor=#9673a6;
Corporate/Neutral Theme
- Primary:
fillColor=#f5f5f5;strokeColor=#666666; - Secondary:
fillColor=#e1d5e7;strokeColor=#9673a6; - Highlight:
fillColor=#ffe6cc;strokeColor=#d79b00;
PMP Risk Matrix Colors
- Critical:
fillColor=#8B0000;strokeColor=#600000;fontColor=#ffffff;(Dark Red) - High:
fillColor=#FF0000;strokeColor=#CC0000;fontColor=#ffffff;(Red) - Medium:
fillColor=#FFA500;strokeColor=#CC8400;fontColor=#000000;(Orange) - Low:
fillColor=#FFFF00;strokeColor=#CCCC00;fontColor=#000000;(Yellow) - Very Low:
fillColor=#90EE90;strokeColor=#66AA66;fontColor=#000000;(Light Green)
Connector Styles
Basic Connector
edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;Straight Connector
rounded=0;html=1;jettySize=auto;orthogonalLoop=1;Curved Connector
curved=1;rounded=1;html=1;jettySize=auto;orthogonalLoop=1;With Arrow
edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;endFill=1;Dashed Line (for dependencies)
edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;dashed=1;dashPattern=5 5;Thick Line (for critical path)
edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeWidth=3;strokeColor=#b85450;Best Practices
1. Layout Guidelines
- Grid alignment: Use x/y coordinates in multiples of 10 for clean alignment
- Standard spacing: 20-30px between shapes, 40-50px between rows
- Shape sizes:
- Small: 80x40
- Medium: 120x60
- Large: 160x80
- Extra Large (Project boxes): 200x80
- Swimlane heights: 120-150px for single row, add 100px per additional row
- WBS spacing: 40px vertical, 20px horizontal between levels
2. Naming Conventions
- Use sequential IDs: "2", "3", "4"...
- Keep shape labels concise (1-5 words)
- Use Title Case for important labels
- Use sentence case for descriptions
- Add ID numbers to WBS packages (e.g., "1.2.3 Task Name")
3. Visual Hierarchy
- Start shapes: Use green/light colors
- End shapes: Use red/dark colors
- Decision points: Use orange/yellow
- Regular processes: Use blue/neutral
- Important processes: Use bolder colors or thicker borders
- Critical path: Use red with thick borders (strokeWidth=3)
4. PMP/PMBOK Specific
- WBS Levels: Use progressively lighter shades for deeper levels
- RACI Matrix: Consistently use R=Green, A=Blue, C=Yellow, I=Purple
- Risk Matrix: Follow standard risk color coding (Green to Red)
- Critical Path: Always highlight in red with strokeWidth=3
- Milestones: Use diamond shapes with distinct colors
5. Readability
- Keep diagrams under 20-25 shapes when possible
- Group related processes in the same swimlane
- Use consistent shape sizes within the same category
- Label all connectors for complex flows
- Add whitespace between dense sections
- Include legends for symbols/colors in complex diagrams
PMBOK Process Groups & Knowledge Areas Quick Reference
5 Process Groups
1. Initiating: Green colors (#d5e8d4) 2. Planning: Blue colors (#dae8fc) 3. Executing: Orange colors (#ffe6cc) 4. Monitoring & Controlling: Yellow colors (#fff2cc) 5. Closing: Purple colors (#e1d5e7)
10 Knowledge Areas
1. Integration Management: Gray (#f5f5f5) 2. Scope Management: Blue (#dae8fc) 3. Schedule Management: Green (#d5e8d4) 4. Cost Management: Orange (#ffe6cc) 5. Quality Management: Red (#f8cecc) 6. Resource Management: Purple (#e1d5e7) 7. Communications Management: Teal (#b1ddf0) 8. Risk Management: Yellow (#fff2cc) 9. Procurement Management: Pink (#f8cecc) 10. Stakeholder Management: Light Purple (#e1d5e7)
Professional Diagram Templates
Template 1: Cross-Functional Flowchart (Swimlane)
Use Case: Business process across departments Structure: Horizontal swimlanes, one per department Key Features: Clear handoffs, decision points, subprocess indicators
Template 2: Work Breakdown Structure (WBS)
Use Case: Project scope decomposition Structure: Hierarchical tree, 3-4 levels deep Key Features: Numbered packages (1.1, 1.2, etc.), deliverable-oriented
Template 3: Project Network Diagram (PERT/CPM)
Use Case: Activity sequencing and critical path analysis Structure: Activity nodes with duration, early/late start/finish Key Features: Critical path highlighted, float calculations
Template 4: RACI Matrix
Use Case: Role and responsibility assignment Structure: Grid with tasks (rows) and roles (columns) Key Features: R, A, C, I assignments with color coding
Template 5: Risk Register Heat Map
Use Case: Visual risk assessment Structure: 5x5 grid (Probability vs Impact) Key Features: Color-coded zones, risk items plotted on grid
Template 6: Stakeholder Power-Interest Grid
Use Case: Stakeholder analysis and engagement strategy Structure: 2x2 or 3x3 grid Key Features: Quadrant labels, stakeholder names plotted
Template 7: Organizational Breakdown Structure (OBS)
Use Case: Project team hierarchy Structure: Hierarchical tree similar to org chart Key Features: Names, roles, reporting relationships
Template 8: Resource Histogram
Use Case: Resource allocation over time Structure: Bar chart with time on X-axis, resources on Y-axis Key Features: Color-coded resource types, over-allocation indicators
Error Prevention
Common Issues
1. Overlapping shapes: Ensure x/y coordinates don't overlap 2. Missing parents: Swimlane children must reference parent ID 3. Invalid IDs: Don't reuse IDs, keep them sequential 4. Malformed style strings: Always end with semicolon 5. Incorrect connector references: source and target must match existing shape IDs 6. WBS numbering: Ensure hierarchical numbering is consistent (1.0, 1.1, 1.1.1)
Validation Checklist
- [ ] All IDs are unique
- [ ] Root cells (0, 1) exist
- [ ] All connectors have valid source/target
- [ ] Swimlane children have correct parent references
- [ ] Coordinates are positive numbers
- [ ] Style strings are properly formatted
- [ ] XML is well-formed (properly nested tags)
- [ ] WBS packages have proper hierarchical numbering
- [ ] RACI matrix has all cells filled (no blanks)
- [ ] Risk matrix uses standard color coding
Custom Library Integration
When creating diagrams that benefit from specific icon libraries, include instructions like:
## How to Open with Custom Libraries
To access additional icons and shapes for this diagram, open it with:
https://app.diagrams.net/?clibs=Uhttps://jgraph.github.io/drawio-libs/libs/templates.xml;Uhttps://jgraph.github.io/drawio-libs/libs/un-ocha-icons.xml
Or manually in draw.io:
1. Open the diagram in app.diagrams.net
2. File → Open Library from → URL
3. Enter: https://jgraph.github.io/drawio-libs/libs/[library-name].xmlOutput Format
Always output the complete .drawio file with: 1. Proper XML declaration (optional but recommended) 2. Complete mxfile structure 3. All necessary root cells 4. Properly formatted and indented for readability 5. Save with .drawio or .xml extension 6. Include usage instructions if custom libraries are beneficial
Tips for Excellence
1. Ask clarifying questions if the process/project isn't clear 2. Suggest improvements to workflows if you spot issues 3. Use appropriate shapes for different process types and PM artifacts 4. Maintain consistency in sizing, spacing, and color schemes 5. Consider the audience - executives need less detail than implementers 6. Test the flow logic - ensure all paths lead somewhere 7. Add legends if using multiple shape types or colors 8. Include PMBOK process group identifiers when relevant 9. Reference custom libraries that would enhance the diagram 10. Provide opening instructions if special libraries are needed
Professional Templates Library
The following template patterns can be adapted for various use cases:
1. Agile/Scrum Diagrams: Sprint planning, retrospectives, burndown charts 2. DevOps Pipelines: CI/CD flows with stages, gates, and tools 3. Business Model Canvas: 9-box strategic planning tool 4. Value Stream Mapping: Lean process analysis with cycle times 5. SIPOC Diagrams: Supplier-Input-Process-Output-Customer 6. Fishbone/Ishikawa: Root cause analysis 7. Affinity Diagrams: Idea clustering and organization 8. Decision Trees: Multi-level decision analysis 9. Use Case Diagrams: UML user-system interactions 10. Data Flow Diagrams: Information flow analysis
Resources
- Official draw.io documentation: https://www.drawio.com/doc/
- Example diagrams: https://www.drawio.com/example-diagrams
- Custom libraries repository: https://github.com/jgraph/drawio-libs
- Template library: Available in draw.io via Arrange > Insert > Template
- Shape libraries: Enable via "More Shapes" in draw.io
- PMBOK Guide (6th & 7th Edition): PMI official documentation
- Project Management Institute: https://www.pmi.org/
Limitations
- Complex custom shapes may require manual adjustment
- Some advanced features (layers, pages) may need manual setup
- 3D shapes and advanced styling might not be fully represented
- Custom library icons require internet connection to load
- Very large WBS structures may need to be split across pages
- Always recommend testing the generated file in draw.io
Remember: The goal is to create diagrams that are immediately usable, professional-looking, accurately represent the user's process or system, and follow PMP/PMBOK best practices when applicable!
Example: BIR Tax Compliance Workflow
Use Case
Create a cross-functional flowchart for BIR Form 1601-C monthly withholding tax filing process for a Finance Shared Service Center.
Request to Claude
Create a cross-functional flowchart (swimlane diagram) for BIR Form 1601-C monthly withholding tax filing with these departments:
**Swimlanes (Departments):**
1. Accounting Team (RIM, CKVC, BOM) - Data preparation
2. Senior Accountants (JPAL, JLI) - Review and validation
3. Finance Managers (JAP, LAS) - Approval
4. Director (RMQB) - Final sign-off
**Process Flow:**
1. Start: Month-end close completed (Accounting Team)
2. Collect withholding tax data from all agencies (Accounting Team)
3. Prepare Form 1601-C schedules (Accounting Team)
4. Decision: Data complete? If No, return to step 2
5. Submit for review (Senior Accountants)
6. Review calculations and schedules (Senior Accountants)
7. Decision: Review passed? If No, return to Accounting for corrections
8. Submit for approval (Finance Managers)
9. Approve submission (Finance Managers)
10. Final sign-off (Director)
11. File with BIR e-filing system (Senior Accountants)
12. Generate confirmation receipt (Senior Accountants)
13. Archive documents (Accounting Team)
14. End
**Color Scheme:**
- Use red theme (#f8cecc) for compliance/critical activities
- Use yellow (#fff2cc) for review activities
- Use green (#d5e8d4) for completed/success states
**Deadline Indicator:**
Add a note: "Deadline: 10th day of following month"Expected Output
A complete .drawio XML file with:
- 4 horizontal swimlanes (one per department)
- 14 process steps properly placed
- 2 decision diamonds with Yes/No paths
- Connectors showing process flow
- Professional red compliance color scheme
- Deadline notation
- All shapes properly aligned and sized
Follow-up Requests
After initial creation, you can ask:
- "Add a parallel process for penalty calculation if deadline is missed"
- "Include a subprocess for multi-agency data consolidation"
- "Add icons from Material Design library for documents and approvals"
- "Create a RACI matrix for this same process"
Draw.io Shape Reference Guide
Common Shape Styles Quick Reference
Flowchart Shapes
Process Box (Rectangle)
style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;"
geometry: width="120" height="60"Decision Diamond
style="rhombus;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;"
geometry: width="100" height="80"Start/End (Ellipse)
style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;"
geometry: width="120" height="60"Document
style="shape=document;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;"
geometry: width="120" height="60"Data (Parallelogram)
style="shape=parallelogram;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;"
geometry: width="120" height="60"Manual Process
style="shape=manualInput;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;"
geometry: width="120" height="60"Database
style="shape=cylinder3;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;"
geometry: width="60" height="80"PMP/PMBOK Shapes
WBS Package Box
style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontStyle=1;"
geometry: width="140" height="50"RACI Cell - Responsible (R)
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontStyle=1;fontSize=16;"
geometry: width="120" height="50"RACI Cell - Accountable (A)
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;fontSize=16;"
geometry: width="120" height="50"RACI Cell - Consulted (C)
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontStyle=1;fontSize=16;"
geometry: width="120" height="50"RACI Cell - Informed (I)
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontStyle=1;fontSize=16;"
geometry: width="120" height="50"Risk Cell - Critical
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=#000000;"
geometry: width="100" height="100"Risk Cell - High
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#000000;"
geometry: width="100" height="100"Risk Cell - Medium
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#000000;"
geometry: width="100" height="100"Risk Cell - Low
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#000000;"
geometry: width="100" height="100"Milestone Diamond
style="rhombus;whiteSpace=wrap;html=1;fillColor=#fa6800;strokeColor=#C73500;fontColor=#ffffff;fontStyle=1;"
geometry: width="120" height="80"Gantt Bar
style="rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;"
geometry: width="200" height="30"Swimlane Containers
Horizontal Swimlane
style="swimlane;html=1;startSize=20;fillColor=#f5f5f5;strokeColor=#666666;fontStyle=1;align=center;verticalAlign=top;"
geometry: x="40" y="40" width="760" height="150"Vertical Swimlane
style="swimlane;html=1;startSize=20;fillColor=#f5f5f5;strokeColor=#666666;horizontal=0;fontStyle=1;"
geometry: x="40" y="40" width="150" height="600"Connector Styles
Basic Orthogonal
style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;"With Arrow
style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;endFill=1;"Dashed (Dependencies)
style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;dashed=1;dashPattern=5 5;"Thick (Critical Path)
style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeWidth=3;strokeColor=#b85450;"Curved
style="curved=1;rounded=1;html=1;jettySize=auto;orthogonalLoop=1;endArrow=classic;"Bidirectional
style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;startArrow=classic;endArrow=classic;"Color Schemes
Professional Blue
- Primary:
#dae8fc/#6c8ebf - Secondary:
#b1ddf0/#10739e - Accent:
#f8cecc/#b85450
Green/Natural
- Primary:
#d5e8d4/#82b366 - Secondary:
#fff2cc/#d6b656 - Accent:
#e1d5e7/#9673a6
Corporate Gray
- Primary:
#f5f5f5/#666666 - Secondary:
#e1d5e7/#9673a6 - Highlight:
#ffe6cc/#d79b00
Finance/Compliance (Custom)
- Regulatory:
#f8cecc/#b85450(Red) - Routine:
#dae8fc/#6c8ebf(Blue) - Deliverable:
#d5e8d4/#82b366(Green) - Management:
#e1d5e7/#9673a6(Purple)
PMP Process Groups
- Initiating:
#d5e8d4/#82b366(Green) - Planning:
#dae8fc/#6c8ebf(Blue) - Executing:
#ffe6cc/#d79b00(Orange) - Monitoring:
#fff2cc/#d6b656(Yellow) - Closing:
#e1d5e7/#9673a6(Purple)
Standard Sizes
Boxes
- Small: 80x40
- Medium: 120x60
- Large: 160x80
- XLarge: 200x80
Diamonds
- Small: 80x60
- Medium: 100x80
- Large: 120x100
Swimlanes
- Height: 120-150px (single row)
- Add 100px per additional row
- Width: 760-800px (standard)
Spacing Guidelines
- Between shapes: 20-30px
- Between rows: 40-50px
- Between swimlanes: 0px (they touch)
- Grid alignment: Multiples of 10
- Connector padding: 10px from shape edge
Font Styles
- Title/Headers:
fontStyle=1(bold),fontSize=14 - Normal text:
fontStyle=0,fontSize=12 - Small text:
fontSize=10 - Code/IDs:
fontStyle=0,fontSize=9
Best Practices
1. Always use grid alignment (x/y in multiples of 10) 2. Keep consistent spacing between elements 3. Use appropriate shape for purpose 4. Maintain color consistency within diagram 5. Label all connectors for complex flows 6. Use swimlanes for cross-functional processes 7. Add legends for complex diagrams 8. Keep diagrams under 25 shapes when possible 9. Group related elements logically 10. Test in draw.io before finalizing
Example: InsightPulse AI System Architecture
Use Case
Create a technical architecture diagram for InsightPulse AI - a self-hosted Odoo ERP with AI-powered document processing.
Request to Claude
Create a network/system architecture diagram for InsightPulse AI with the following components:
**Application Layer:**
- Odoo 18/19 ERP (self-hosted)
- Expense Management Module
- Travel Management Module
- Document Management Module
**AI/OCR Processing Layer:**
- PaddleOCR-VL (Vision-Language Model)
- Receipt OCR
- Invoice OCR
- Travel document OCR
- Vector Database: Qdrant
- Document embeddings
- Semantic search
**Database Layer:**
- PostgreSQL (Odoo primary database)
- pgvector extension (for vector operations)
- Supabase (project: spdtwktxdalcfigzeqrz)
- User authentication
- API gateway
- Real-time subscriptions
**Infrastructure Layer:**
- DigitalOcean (project ID: 29cde7a1-8280-46ad-9fdf-dea7b21a7825)
- Docker containers
- Load balancer
- Object storage for documents
- On-premise GPU server
- NVIDIA RTX 4090 (for OCR processing)
**Data Flow:**
1. User uploads document → Odoo
2. Document sent to PaddleOCR-VL → OCR processing
3. Extracted text + embeddings → Qdrant
4. Structured data → PostgreSQL
5. Audit trail → Supabase
**Color Scheme:**
- Odoo/ERP: Blue (#1ba1e2)
- AI/OCR: Orange (#FFA500)
- Databases: Green (#60a917)
- Infrastructure: Gray (#666666)
**Additional:**
- Show data flow arrows with labels
- Indicate API connections (REST, GraphQL)
- Mark secure connections (SSL/TLS)
- Show Docker container boundariesExpected Output
A comprehensive network diagram with:
- Clear component boxes organized by layer
- Data flow arrows with labels
- Color-coded by function
- Docker container groupings
- Network connections properly illustrated
- Professional cloud architecture styling
Follow-up Requests
- "Add authentication flow using Supabase Auth"
- "Show the expense approval workflow through the system"
- "Include monitoring and logging components"
- "Add a CI/CD pipeline diagram"
- "Create a deployment sequence diagram"
PMP Formulas Quick Reference
Earned Value Management (EVM) Formulas
Basic Metrics
PV (Planned Value) = % of planned work × BAC
EV (Earned Value) = % of actual work completed × BAC
AC (Actual Cost) = Actual costs incurred
BAC (Budget at Completion) = Total project budgetVariance Analysis
CV (Cost Variance) = EV - AC
Negative = Over budget
Positive = Under budget
Zero = On budget
SV (Schedule Variance) = EV - PV
Negative = Behind schedule
Positive = Ahead of schedule
Zero = On schedulePerformance Indexes
CPI (Cost Performance Index) = EV / AC
< 1.0 = Over budget
= 1.0 = On budget
> 1.0 = Under budget
SPI (Schedule Performance Index) = EV / PV
< 1.0 = Behind schedule
= 1.0 = On schedule
> 1.0 = Ahead of scheduleForecasting Formulas
EAC (Estimate at Completion)
Typical scenario (current performance continues):
EAC = BAC / CPI
Atypical scenario (one-time variance):
EAC = AC + (BAC - EV)
Budget rate not achievable:
EAC = AC + [(BAC - EV) / (CPI × SPI)]ETC (Estimate to Complete)
ETC = EAC - ACVAC (Variance at Completion)
VAC = BAC - EAC
Positive = Under budget at completion
Negative = Over budget at completionTCPI (To-Complete Performance Index)
Based on BAC:
TCPI = (BAC - EV) / (BAC - AC)
Based on EAC:
TCPI = (BAC - EV) / (EAC - AC)
Interpretation:
< 1.0 = Easier to complete within budget
= 1.0 = Must maintain current performance
> 1.0 = Harder to complete within budgetSchedule Formulas
Critical Path Method (CPM)
Forward Pass (Early dates)
ES (Early Start) = Latest EF of predecessors
EF (Early Finish) = ES + DurationBackward Pass (Late dates)
LF (Late Finish) = Earliest LS of successors
LS (Late Start) = LF - DurationFloat/Slack
Total Float = LS - ES
OR
Total Float = LF - EF
Free Float = ES (successor) - EF (current)PERT (Three-Point Estimates)
Optimistic (O): Best case scenario
Most Likely (M): Most probable duration
Pessimistic (P): Worst case scenario
Expected Duration (Mean):
Te = (O + 4M + P) / 6
Standard Deviation:
σ = (P - O) / 6
Variance:
σ² = [(P - O) / 6]²
For project (multiple activities):
Project σ = √(sum of variances)Communications Channels
Number of Communication Channels = n(n-1) / 2
Where n = number of people
Examples:
3 people: 3(2)/2 = 3 channels
5 people: 5(4)/2 = 10 channels
10 people: 10(9)/2 = 45 channelsCost Formulas
Point of Total Assumption (PTA)
For Fixed Price Incentive Fee (FPIF) contracts:
PTA = ((Ceiling Price - Target Price) / Buyer's Share) + Target CostCost Plus Formulas
Cost Plus Fixed Fee (CPFF):
Total Cost = Actual Cost + Fixed Fee
Cost Plus Incentive Fee (CPIF):
Total Cost = Actual Cost + Fee (based on performance)
Cost Plus Award Fee (CPAF):
Total Cost = Actual Cost + Award Fee (subjective)Quality Formulas
Expected Monetary Value (EMV)
EMV = Probability × Impact
For opportunities (positive):
EMV = P × Gain
For threats (negative):
EMV = P × Loss
Decision: Choose option with highest EMVRisk Formulas
Risk Priority Number
RPN = Probability × Impact × Detection Difficulty
Where:
Probability: 1-10 (1=unlikely, 10=certain)
Impact: 1-10 (1=negligible, 10=catastrophic)
Detection: 1-10 (1=easy to detect, 10=hard to detect)Risk Score
Risk Score = Probability × Impact
Example:
High probability (0.7) × High impact (8) = 5.6Practical Examples
Example 1: EVM Calculation
Given:
BAC = $500,000
PV = $250,000 (50% planned)
EV = $200,000 (40% complete)
AC = $220,000 (actual spent)
Calculate:
CV = EV - AC = $200,000 - $220,000 = -$20,000 (over budget)
SV = EV - PV = $200,000 - $250,000 = -$50,000 (behind schedule)
CPI = EV / AC = $200,000 / $220,000 = 0.91 (spending $1.10 for every $1 of work)
SPI = EV / PV = $200,000 / $250,000 = 0.80 (completing 80% of planned work)
EAC = BAC / CPI = $500,000 / 0.91 = $549,451 (forecast total cost)
ETC = EAC - AC = $549,451 - $220,000 = $329,451 (remaining cost)
VAC = BAC - EAC = $500,000 - $549,451 = -$49,451 (over budget at completion)
TCPI = (BAC - EV) / (BAC - AC) = ($500,000 - $200,000) / ($500,000 - $220,000) = 1.07
(Need 7% better performance to meet budget)Example 2: PERT Estimation
Given:
Optimistic = 10 days
Most Likely = 15 days
Pessimistic = 26 days
Calculate:
Expected Duration = (10 + 4(15) + 26) / 6 = 96 / 6 = 16 days
Standard Deviation = (26 - 10) / 6 = 16 / 6 = 2.67 days
Interpretation:
- 68% confident: 16 ± 2.67 days (13.33 to 18.67 days)
- 95% confident: 16 ± 5.34 days (10.66 to 21.34 days)
- 99.7% confident: 16 ± 8.01 days (7.99 to 24.01 days)Example 3: Communication Channels
Finance SSC Team:
8 people: 8(7)/2 = 28 communication channels
Adding 1 manager:
9 people: 9(8)/2 = 36 communication channels
(+8 new channels from adding 1 person!)Example 4: Critical Path
Activity Network:
A (5 days) → B (3 days) → D (4 days) → F (2 days) = 14 days
A (5 days) → C (6 days) → E (3 days) → F (2 days) = 16 days ← Critical Path
(longest path)
Total Float for B-D path:
Float = 16 - 14 = 2 days (can delay B or D by 2 days without affecting project)Quick Reference Table
| Metric | Formula | Good Performance |
|---|---|---|
| CV | EV - AC | Positive (under budget) |
| SV | EV - PV | Positive (ahead of schedule) |
| CPI | EV / AC | > 1.0 (efficient) |
| SPI | EV / PV | > 1.0 (fast) |
| TCPI | (BAC-EV)/(BAC-AC) | < 1.0 (achievable) |
Exam Tips
1. Memorize these formulas - they will be on the exam 2. Practice calculations - know how to apply formulas 3. Understand interpretations - what does CPI=0.85 mean? 4. Remember units - keep $ with $, days with days 5. Check reasonableness - does the answer make sense? 6. Know when to use which EAC formula - typical vs atypical 7. Be fast with calculator - practice mental math 8. Draw network diagrams - visualize for CPM problems
Common Mistakes to Avoid
1. Confusing CV and SV (which is cost, which is schedule?) 2. Dividing backwards in CPI/SPI formulas 3. Using wrong EAC formula for the scenario 4. Forgetting to subtract in TCPI formula 5. Mixing up ES/EF and LS/LF in CPM 6. Calculating standard deviation wrong in PERT 7. Forgetting to square when calculating variance 8. Using wrong share ratio in PTA formula
Practice Problems
Try these to test your knowledge:
Problem 1: BAC=$100K, PV=$50K, EV=$40K, AC=$45K. Calculate CV, SV, CPI, SPI, EAC, VAC.
Problem 2: Activity durations: O=3, M=5, P=9. Calculate expected duration and standard deviation.
Problem 3: Project has 12 team members. How many communication channels?
Problem 4: Activity A: ES=0, Duration=5. Activity B follows A with Duration=3. Calculate all dates.
Project Charter Template
Use this template when asking Claude to create a project charter.
Template Request Format
Create a project charter for [PROJECT NAME] with the following information:
**Project Title:** [Full project name]
**Project Manager:** [Name]
**Project Sponsor:** [Name]
**Start Date:** [Date]
**Target End Date:** [Date]
**1. PROJECT PURPOSE / BUSINESS JUSTIFICATION**
[Why is this project being undertaken? What business problem does it solve?]
**2. PROJECT OBJECTIVES**
List 3-5 SMART objectives:
- [Objective 1: Specific, Measurable, Achievable, Relevant, Time-bound]
- [Objective 2: ...]
- [Objective 3: ...]
**3. SUCCESS CRITERIA**
How will we measure success?
- [Criterion 1: e.g., System deployed within budget]
- [Criterion 2: e.g., 95% user adoption within 3 months]
- [Criterion 3: ...]
**4. HIGH-LEVEL REQUIREMENTS**
Major requirements at a glance:
- [Requirement 1]
- [Requirement 2]
- [Requirement 3]
**5. HIGH-LEVEL SCOPE**
What's in scope:
- [In scope item 1]
- [In scope item 2]
What's out of scope:
- [Out of scope item 1]
- [Out of scope item 2]
**6. MAJOR DELIVERABLES**
- [Deliverable 1]
- [Deliverable 2]
- [Deliverable 3]
**7. SUMMARY MILESTONE SCHEDULE**
| Milestone | Target Date |
|-----------|-------------|
| [Milestone 1] | [Date] |
| [Milestone 2] | [Date] |
| [Milestone 3] | [Date] |
**8. SUMMARY BUDGET**
Estimated Total Budget: $[Amount]
Breakdown:
- [Category 1]: $[Amount]
- [Category 2]: $[Amount]
- [Category 3]: $[Amount]
**9. KEY STAKEHOLDERS**
| Name | Role | Interest Level | Influence Level |
|------|------|----------------|-----------------|
| [Name 1] | [Role] | [High/Med/Low] | [High/Med/Low] |
| [Name 2] | [Role] | [High/Med/Low] | [High/Med/Low] |
**10. HIGH-LEVEL RISKS**
| Risk | Probability | Impact | Initial Response |
|------|-------------|--------|------------------|
| [Risk 1] | [H/M/L] | [H/M/L] | [Brief strategy] |
| [Risk 2] | [H/M/L] | [H/M/L] | [Brief strategy] |
**11. ASSUMPTIONS**
- [Assumption 1]
- [Assumption 2]
- [Assumption 3]
**12. CONSTRAINTS**
- [Constraint 1: e.g., Must use existing infrastructure]
- [Constraint 2: e.g., Limited to 8-person team]
- [Constraint 3: ...]
**13. PROJECT APPROVAL REQUIREMENTS**
What needs to happen for project acceptance:
- [Requirement 1]
- [Requirement 2]
**14. PROJECT MANAGER AUTHORITY LEVEL**
The project manager is authorized to:
- [Authority 1: e.g., Approve expenses up to $10,000]
- [Authority 2: e.g., Assign resources within team]
- [Authority 3: ...]
**15. SPONSOR SIGN-OFF**
[Leave space for signature and date]Example Usage
For InsightPulse AI:
Create a project charter for InsightPulse AI with the following information:
**Project Title:** InsightPulse AI - Self-Hosted Odoo ERP with AI Document Processing
**Project Manager:** Jake Tolentino
**Project Sponsor:** [Director Name]
**Start Date:** November 1, 2025
**Target End Date:** April 30, 2026
**1. PROJECT PURPOSE / BUSINESS JUSTIFICATION**
Replace expensive SAP Concur subscription ($50K/year) with cost-effective, self-hosted Odoo ERP solution featuring AI-powered document processing. Achieve vendor independence and reduce total cost of ownership while improving expense management efficiency.
**2. PROJECT OBJECTIVES**
- Deploy self-hosted Odoo 18/19 ERP on DigitalOcean within 6 months
- Implement AI-powered OCR using PaddleOCR-VL achieving 95%+ accuracy
- Migrate all expense and travel management processes from SAP Concur
- Reduce annual software costs by 80% ($40K savings)
- Achieve 90% user adoption within Finance SSC team (8 employees)
[Continue with all sections...]Tips for Using This Template
1. Be Specific: Provide concrete details, not vague statements 2. Use SMART Criteria: Make objectives measurable 3. Keep High-Level: Charter is not a detailed plan 4. Get Input: Involve stakeholders in defining content 5. Update as Needed: Charter can be revised during project 6. Formal Approval: Always get sponsor sign-off
Common Mistakes to Avoid
- Making it too detailed (save for project plan)
- Vague objectives that can't be measured
- Forgetting key stakeholders
- Not identifying constraints clearly
- Skipping assumptions section
- No sponsor sign-off
Related Documents
After charter approval, develop:
- Project Management Plan
- Stakeholder Register
- Risk Register
- Work Breakdown Structure (WBS)
- Project Schedule
- Budget Breakdown
Example: Project Work Breakdown Structure (WBS)
Use Case
Create a WBS for an Odoo ERP implementation project to replace SAP Concur.
Request to Claude
Create a Work Breakdown Structure (WBS) for an Odoo ERP implementation project with the following structure:
**Level 0 (Project):**
Odoo ERP Implementation for Expense & Travel Management
**Level 1 (Major Deliverables):**
1. Project Management
2. Requirements & Design
3. Development & Configuration
4. Data Migration
5. Testing & Quality Assurance
6. Training & Change Management
7. Deployment & Go-Live
8. Post-Go-Live Support
**Level 2 (Sub-deliverables) - Expand each Level 1:**
1. Project Management
- 1.1 Project Charter & Planning
- 1.2 Resource Allocation
- 1.3 Risk Management
- 1.4 Status Reporting
2. Requirements & Design
- 2.1 Business Requirements Gathering
- 2.2 System Design
- 2.3 Integration Design (Supabase, DigitalOcean)
- 2.4 Architecture Review
3. Development & Configuration
- 3.1 Odoo Module Configuration
- 3.2 Custom Development
- 3.3 AI/OCR Integration (PaddleOCR-VL)
- 3.4 API Development
- 3.5 Database Setup (PostgreSQL, Qdrant)
4. Data Migration
- 4.1 SAP Concur Data Extraction
- 4.2 Data Mapping & Transformation
- 4.3 Data Validation
- 4.4 Historical Data Load
5. Testing & Quality Assurance
- 5.1 Unit Testing
- 5.2 Integration Testing
- 5.3 User Acceptance Testing (UAT)
- 5.4 Performance Testing (RTX 4090 optimization)
- 5.5 Security Testing
6. Training & Change Management
- 6.1 Training Materials Development
- 6.2 Admin Training
- 6.3 End User Training (8 Finance SSC staff)
- 6.4 Change Management Communications
7. Deployment & Go-Live
- 7.1 Production Environment Setup (DigitalOcean)
- 7.2 Deployment Automation (Docker)
- 7.3 Go-Live Cutover
- 7.4 Hypercare Support
8. Post-Go-Live Support
- 8.1 Issue Resolution
- 8.2 Performance Monitoring
- 8.3 User Support
- 8.4 Lessons Learned
**Formatting:**
- Use hierarchical numbering (1.0, 1.1, 1.2, etc.)
- Color scheme: Progressive shades of blue/green
- Level 0: Dark Blue (#1ba1e2)
- Level 1: Green (#60a917)
- Level 2: Light Green (#d5e8d4)
- Box sizes: 200x80 for Level 0, 160x60 for Level 1, 140x50 for Level 2
- Vertical spacing: 40px between levels
- Horizontal spacing: 20px between boxes at same levelExpected Output
A comprehensive WBS diagram with:
- Clear hierarchical structure (3 levels)
- Proper numbering (1.0, 1.1, 1.1.1)
- Color-coded by level
- Professional layout
- Well-aligned boxes
- Clear parent-child relationships
Follow-up Requests
- "Add Level 3 work packages for Development & Configuration"
- "Create a corresponding RACI matrix for all Level 2 tasks"
- "Generate a Gantt chart from this WBS"
- "Add effort estimates to each work package"
- "Create a resource allocation chart"
RACI Matrix Template
Use this template when asking Claude to create a RACI (Responsible, Accountable, Consulted, Informed) matrix.
RACI Definitions
- R (Responsible): Does the work to complete the task
- A (Accountable): Ultimately answerable for completion (only ONE per task)
- C (Consulted): Provides input (two-way communication)
- I (Informed): Kept up-to-date (one-way communication)
Template Request Format
Create a RACI matrix for [PROCESS/PROJECT NAME] with the following:
**Roles (Columns):**
- [Role 1: e.g., Project Manager]
- [Role 2: e.g., Developer]
- [Role 3: e.g., QA Tester]
- [Role 4: e.g., Sponsor]
- [Role 5: ...]
**Activities/Tasks (Rows):**
1. [Activity 1: e.g., Define Requirements]
2. [Activity 2: e.g., Design Solution]
3. [Activity 3: e.g., Develop Code]
4. [Activity 4: e.g., Test Solution]
5. [Activity 5: e.g., Deploy to Production]
6. [Activity 6: ...]
**Color Coding:**
- R (Responsible): Green (#d5e8d4)
- A (Accountable): Blue (#dae8fc)
- C (Consulted): Yellow (#fff2cc)
- I (Informed): Purple (#e1d5e7)
**Format:**
Create as a draw.io table or simple markdown tableExample 1: Finance SSC Month-End Closing
Create a RACI matrix for month-end closing process with these roles:
**Roles:**
- RIM (Accounting Team)
- CKVC (Accounting Team)
- BOM (Accounting Team)
- JPAL (Senior Accountant)
- JLI (Senior Accountant)
- JAP (Finance Manager)
- LAS (Finance Manager)
- RMQB (Director)
**Activities:**
1. Trial Balance Preparation
2. Journal Entry Recording
3. Bank Reconciliations
4. Intercompany Reconciliations
5. Financial Statement Preparation
6. Review and Validation
7. Management Review
8. Final Approval
9. Period Close and Lock
10. Financial Report Distribution
Use standard RACI color coding.Example 2: BIR Tax Filing Process
Create a RACI matrix for BIR Form 1601-C monthly filing with:
**Roles:**
- Accounting Team (RIM, CKVC, BOM)
- Senior Accountants (JPAL, JLI)
- Finance Managers (JAP, LAS)
- Director (RMQB)
- BIR e-Filing System (External)
**Activities:**
1. Collect withholding tax data
2. Prepare Form 1601-C schedules
3. Review calculations
4. Validate against payroll
5. Approve for filing
6. Submit to BIR e-filing
7. Obtain confirmation receipt
8. Archive compliance documents
9. Update tax register
10. Report filing status
Use red theme (#f8cecc) for compliance activities.Example 3: Software Development Project
Create a RACI matrix for Odoo module development with:
**Roles:**
- Product Owner
- Scrum Master
- Backend Developer
- Frontend Developer
- QA Engineer
- DevOps Engineer
- Business Analyst
- End Users
**Activities:**
1. Define user stories
2. Prioritize backlog
3. Sprint planning
4. Backend development
5. Frontend development
6. Unit testing
7. Integration testing
8. User acceptance testing
9. Code review
10. Deployment to staging
11. Deployment to production
12. Post-deployment monitoring
13. Bug fixes
14. Documentation
15. TrainingRACI Rules
Critical Rules: 1. Every task must have exactly ONE "A" (Accountable) 2. Every task must have at least ONE "R" (Responsible) 3. Multiple people can be "R" for the same task 4. Multiple people can be "C" or "I" 5. One person can have multiple roles (e.g., both R and C) 6. Avoid too many "C"s - causes bottlenecks
Best Practices:
- If someone is "A", they might also be "R"
- Keep "C" consultations to minimum (3-5 people max)
- "I" people should get updates but not block progress
- Review with stakeholders - they know if roles are right
- Update as project evolves
Common Patterns
Development Task:
- Developer: R (does the work)
- Tech Lead: A (accountable for completion)
- QA: C (consulted on testability)
- Product Owner: I (informed of progress)
Approval Task:
- Preparer: R (creates the document)
- Manager: A (accountable for approval)
- Subject Matter Expert: C (consulted for accuracy)
- Stakeholders: I (informed of decision)
Review Task:
- Reviewer: R (performs the review)
- Document Owner: A (accountable for addressing feedback)
- Other Reviewers: C (consulted for additional input)
- Team: I (informed of review outcome)
Validation Checklist
Before finalizing RACI matrix:
- [ ] Every task has exactly one "A"
- [ ] Every task has at least one "R"
- [ ] No person is overloaded (too many A's or R's)
- [ ] Consulted people have relevant expertise
- [ ] Informed list is not too long
- [ ] Roles and tasks are clear and specific
- [ ] Stakeholders have reviewed and agreed
- [ ] Matrix is easy to read and understand
When to Use RACI
Good Use Cases:
- Complex projects with many stakeholders
- Cross-functional processes
- Unclear responsibilities
- Frequent confusion about who does what
- Handoffs between teams/departments
- Compliance-heavy processes
Not Necessary For:
- Very small teams (2-3 people)
- Simple, straightforward tasks
- Well-established processes everyone knows
- Solo work
Alternatives to RACI
RASCI: Adds "S" for Supportive (helps R but doesn't own it) RACI-VS: Adds "V" for Verifier, "S" for Signatory DACI: Driver, Approver, Contributors, Informed (emphasizes leadership) RAPID: Recommend, Agree, Perform, Input, Decide (decision-focused)
Choose RACI for most general project management needs.
Tips for Creating Effective RACI Matrices
1. Start with activities - list all tasks first 2. Identify roles - who needs to be involved? 3. Assign one A per row - find the decision maker 4. Add R's - who does the actual work? 5. Be selective with C's - only those who must be consulted 6. Keep I's informed - stakeholders who need to know 7. Review with team - validate assignments 8. Use color coding - makes it easier to scan 9. Keep updated - roles change over time 10. Make it visible - share with all stakeholders
Integration with Other Documents
RACI matrices work well with:
- WBS: Map RACI to work packages
- Organization Chart: Shows reporting relationships
- Communication Plan: Defines how to communicate
- Stakeholder Register: Identifies all parties
- Process Flowcharts: Shows task sequence