Causal Loop MicroSim Generator - Skill Documentation Session
Date: 2025-11-27
Task: Create detailed skill description documentation for the causal-loop-microsim-generator skill
Summary
Created comprehensive documentation for the causal-loop-microsim-generator skill, which generates interactive Causal Loop Diagram (CLD) MicroSims using the vis-network JavaScript library for systems thinking education.
Files Created
1. Detailed Skill Description
Path: docs/skill-descriptions/microsims/causal-loop-microsim-generator.md
A 360+ line comprehensive documentation file covering:
- Overview: Purpose and capabilities of the skill
- Key Features: Interactive CLDs, polarity indicators (+/-), loop markers (R/B), systems archetypes
- When to Use: Trigger phrases and use cases
- MicroSim Architecture: Folder structure and output files
- CLD Concepts: Causal relationships, feedback loop types, loop determination rules
- Systems Archetypes: Table of common patterns (limits-to-growth, fixes-that-fail, etc.)
- JSON Data Schema: Complete schema for nodes, edges, loops, and educational content
- Node Positioning Guidelines: Layout patterns for 3, 4, and 5-node loops
- Visual Configuration: Polarity colors, loop indicators, edge curves
- Interactive Features: Click events, URL parameters
- Educational Content Features: Bloom's Taxonomy alignment, discussion questions
- Best Practices: Diagram design, educational value, accessibility
- Output Files: index.md, main.html, JavaScript, data.json, style.css
- Integration: Related skills (microsim-p5, vis-network, learning-graph-generator)
- Troubleshooting: Common issues and solutions
- References: vis-network docs, systems thinking literature
Files Updated
2. MicroSims Index Page
Path: docs/skill-descriptions/microsims/index.md
Changes made:
Added to numbered generator list (now item 5):
5. **Causal Loop Diagram Generator** - creates interactive causal loop diagrams for systems thinking education
Added detailed section after Vis-Network section with:
- Skill name:
causal-loop-microsim-generator
- Width responsive: Yes
- Key features bullet list
- Description of use cases
- Link to full documentation
Renumbered items 6-10 (Math Function Plotter through Bubble Chart Generator)
Source Files Analyzed
The following skill files were read to understand the skill's capabilities:
| File |
Purpose |
skills/causal-loop-microsim-generator/SKILL.md |
Main skill definition and workflow |
skills/causal-loop-microsim-generator/assets/rules.md |
CLD generation rules and JSON schema |
skills/causal-loop-microsim-generator/assets/templates/microsim.js |
JavaScript template for vis-network |
skills/causal-loop-microsim-generator/assets/templates/main.html |
HTML template structure |
skills/causal-loop-microsim-generator/assets/templates/data.json |
Example JSON data schema |
docs/skill-descriptions/microsims/vis-network.md |
Reference for documentation style |
Skill Capabilities Documented
The causal-loop-microsim-generator skill:
- Gathers requirements from user (name, title, nodes, edges, loops)
- Generates 5 files per MicroSim:
index.md - Documentation with iframe embed
main.html - HTML container with vis-network CDN
[name].js - JavaScript for CLD rendering
data.json - Node, edge, loop definitions
style.css - Layout and legend styling
- Supports systems archetypes: limits-to-growth, fixes-that-fail, shifting-the-burden, success-to-the-successful, tragedy-of-the-commons, escalation, drifting-goals
- Provides educational content: Learning objectives, discussion questions, key insights, common misconceptions
- Updates mkdocs.yml navigation in alphabetical order
Technical Details
- Library: vis-network.js (loaded from CDN)
- Canvas: 600x600 pixels standard
- Polarity Colors: Green (#28a745) for positive, Red (#dc3545) for negative
- Loop Indicators: Red ellipse for Reinforcing (R), Green ellipse for Balancing (B)
- Iframe Height: 500px default (width responsive)
Next Steps
- Take screenshots of example CLDs for documentation
- Update
mkdocs.yml if new documentation pages need navigation entries
- Test iframe embedding in MkDocs Material theme
1---2name: 029-date-af98af003description: Causal Loop MicroSim Generator - Skill Documentation Session4---5# Causal Loop MicroSim Generator - Skill Documentation Session67**Date:** 2025-11-278**Task:** Create detailed skill description documentation for the causal-loop-microsim-generator skill910## Summary1112Created comprehensive documentation for the `causal-loop-microsim-generator` skill, which generates interactive Causal Loop Diagram (CLD) MicroSims using the vis-network JavaScript library for systems thinking education.1314## Files Created1516### 1. Detailed Skill Description17**Path:** `docs/skill-descriptions/microsims/causal-loop-microsim-generator.md`1819A 360+ line comprehensive documentation file covering:2021- **Overview**: Purpose and capabilities of the skill22- **Key Features**: Interactive CLDs, polarity indicators (+/-), loop markers (R/B), systems archetypes23- **When to Use**: Trigger phrases and use cases24- **MicroSim Architecture**: Folder structure and output files25- **CLD Concepts**: Causal relationships, feedback loop types, loop determination rules26- **Systems Archetypes**: Table of common patterns (limits-to-growth, fixes-that-fail, etc.)27- **JSON Data Schema**: Complete schema for nodes, edges, loops, and educational content28- **Node Positioning Guidelines**: Layout patterns for 3, 4, and 5-node loops29- **Visual Configuration**: Polarity colors, loop indicators, edge curves30- **Interactive Features**: Click events, URL parameters31- **Educational Content Features**: Bloom's Taxonomy alignment, discussion questions32- **Best Practices**: Diagram design, educational value, accessibility33- **Output Files**: index.md, main.html, JavaScript, data.json, style.css34- **Integration**: Related skills (microsim-p5, vis-network, learning-graph-generator)35- **Troubleshooting**: Common issues and solutions36- **References**: vis-network docs, systems thinking literature3738## Files Updated3940### 2. MicroSims Index Page41**Path:** `docs/skill-descriptions/microsims/index.md`4243Changes made:44451. **Added to numbered generator list** (now item 5):46 ```47 5. **Causal Loop Diagram Generator** - creates interactive causal loop diagrams for systems thinking education48 ```49502. **Added detailed section** after Vis-Network section with:51 - Skill name: `causal-loop-microsim-generator`52 - Width responsive: Yes53 - Key features bullet list54 - Description of use cases55 - Link to full documentation56573. **Renumbered items** 6-10 (Math Function Plotter through Bubble Chart Generator)5859## Source Files Analyzed6061The following skill files were read to understand the skill's capabilities:6263| File | Purpose |64|------|---------|65| `skills/causal-loop-microsim-generator/SKILL.md` | Main skill definition and workflow |66| `skills/causal-loop-microsim-generator/assets/rules.md` | CLD generation rules and JSON schema |67| `skills/causal-loop-microsim-generator/assets/templates/microsim.js` | JavaScript template for vis-network |68| `skills/causal-loop-microsim-generator/assets/templates/main.html` | HTML template structure |69| `skills/causal-loop-microsim-generator/assets/templates/data.json` | Example JSON data schema |70| `docs/skill-descriptions/microsims/vis-network.md` | Reference for documentation style |7172## Skill Capabilities Documented7374The causal-loop-microsim-generator skill:75761. **Gathers requirements** from user (name, title, nodes, edges, loops)772. **Generates 5 files** per MicroSim:78 - `index.md` - Documentation with iframe embed79 - `main.html` - HTML container with vis-network CDN80 - `[name].js` - JavaScript for CLD rendering81 - `data.json` - Node, edge, loop definitions82 - `style.css` - Layout and legend styling833. **Supports systems archetypes**: limits-to-growth, fixes-that-fail, shifting-the-burden, success-to-the-successful, tragedy-of-the-commons, escalation, drifting-goals844. **Provides educational content**: Learning objectives, discussion questions, key insights, common misconceptions855. **Updates mkdocs.yml** navigation in alphabetical order8687## Technical Details8889- **Library:** vis-network.js (loaded from CDN)90- **Canvas:** 600x600 pixels standard91- **Polarity Colors:** Green (#28a745) for positive, Red (#dc3545) for negative92- **Loop Indicators:** Red ellipse for Reinforcing (R), Green ellipse for Balancing (B)93- **Iframe Height:** 500px default (width responsive)9495## Next Steps9697- Take screenshots of example CLDs for documentation98- Update `mkdocs.yml` if new documentation pages need navigation entries99- Test iframe embedding in MkDocs Material theme