diagram-generator
Installation
SKILL.md
Diagram Generator
This tool executes Python code in Bedrock Code Interpreter to generate diagrams. You must write matplotlib code — this is NOT a simple diagram type selector.
Available Tool
- generate_diagram_and_validate: Execute Python code to create a diagram image.
Parameters (MUST match exactly)
| Parameter | Type | Required | Description |
|---|---|---|---|
python_code |
str | Yes | Python code that generates a diagram using matplotlib |
diagram_filename |
str | Yes | Output PNG filename (must end with .png) |
WARNING: There is NO diagram_type parameter. You must write Python code.