Add new skill :excalidraw-diagram-generator skill#635
Add new skill :excalidraw-diagram-generator skill#635aaronpowell merged 10 commits intogithub:mainfrom
Conversation
- Improved error messages within the `find_library_file` function to include directory names - Organized comments within the `sanitize_filename` function - Improved error messages within the `split_library` function to include directory names
Deleted .gitkeep in skills/excalidraw-diagram-generator/libraries/.
There was a problem hiding this comment.
Pull request overview
This PR introduces a new skill called excalidraw-diagram-generator that enables generating Excalidraw diagrams from natural language descriptions. The skill supports multiple diagram types including flowcharts, relationship diagrams, mind maps, architecture diagrams, data flow diagrams, swimlane diagrams, class diagrams, sequence diagrams, and ER diagrams. It includes comprehensive templates, reference documentation, and Python scripts for working with Excalidraw icon libraries.
Changes:
- Added complete skill implementation with SKILL.md, templates, references, and helper scripts
- Integrated skill into the skills documentation table
- Provided 8 diagram templates as starting points for different diagram types
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| skills/excalidraw-diagram-generator/SKILL.md | Main skill documentation with workflow, guidelines, and icon library integration instructions |
| skills/excalidraw-diagram-generator/templates/*.excalidraw | 8 diagram templates for different use cases (flowchart, relationship, mindmap, etc.) |
| skills/excalidraw-diagram-generator/references/*.md | Schema and element type reference documentation |
| skills/excalidraw-diagram-generator/scripts/*.py | Python utilities for library splitting, icon insertion, and arrow creation |
| skills/excalidraw-diagram-generator/scripts/README.md | Documentation for the Python scripts |
| docs/README.skills.md | Added skill entry to skills table |
| docs/README.instructions.md | Unrelated formatting change (row reordering) |
aaronpowell
left a comment
There was a problem hiding this comment.
Would it be worth including a .gitignore file in the scripts folder to avoid the skill generating python artifacts that are inadvertently added to a repo when the skill is used?
Thank you for your review. The |
|
I was suggesting to include one in the skill's script folder |
Based on your suggestion, I came up with the following plan. Does it align with your intent?
|
|
Looks good |
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.Description
Summary
Add a new skill,
excalidraw-diagram-generator, to generate Excalidraw.excalidrawJSON diagrams from natural language requests. It supports multiple diagram types (flowcharts, relationship diagrams, mind maps, architecture, DFD, swimlane, class, sequence, ER) and provides step-by-step guidance and templates. Includes guidance for optional icon library usage via bundled scripts.Why / Use cases
.excalidrawfiles that open in Excalidraw or the VS Code extensionHow to use (quick start)
.excalidrawJSON file and open it in Excalidraw (web or VS Code extension).Validation / Tests
npm run skill:validatenpm run buildbash scripts/fix-line-endings.shDistinct from existing skills
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.