GOST 19.701 flowcharts in draw.io
as.drawio-gost.skill
A skill that draws algorithm flowcharts per GOST 19.701-90 as .drawio files with PNG, SVG and PDF export
Install
Clone https://github.com/ast-ashulga/as.drawio-gost.skill and copy .claude/skills/drawio-gost into the current project's .claude/skills (for Cursor use .cursor/skills/drawio-gost). Invoke it with /drawio-gost.This is third-party code. Review the repository files before installing.
What it does
The agent reads source code or an algorithm description and maps each construct to a standard symbol: decision, loop, input, output, subroutine. It then writes draw.io XML with black strokes, white fill, Times New Roman and one symbol size for the whole diagram. Decisions have exactly two exits labeled «Да» and «Нет», loop back-edges run on the right, and each function gets its own page. If draw.io desktop is installed, the skill exports to PNG, SVG or PDF with the XML embedded so the file stays editable.
Who it is for. For engineering students and teachers who need GOST-compliant flowcharts for lab reports and coursework.
Good fit when
- You need a flowchart of a function or program for a lab report
- The diagram must be submitted as an editable file, not a picture
- You need loops and decisions laid out per GOST 19.701-90
Not a fit when
- You need an architecture or ER diagram with no GOST requirements
- Your diagrams live in another editor, not draw.io
Example request
Draw a GOST flowchart of the bubble_sort function and save it as PNGLimitations
PNG, SVG and PDF export needs draw.io desktop; without it you only get a .drawio file. The skill description triggers on any diagram request, so it may take over tasks where GOST does not matter. The general part of SKILL.md comes from a draw.io skill with a GOST section added. The repository has no license.
How to disable. Delete the drawio-gost folder from the project's .claude/skills or .cursor/skills.
Security check
- Runs the draw.io CLI for export and opens files
- Deletes the intermediate .drawio file after export
README in short
The README describes a Claude Code and Cursor skill that generates GOST 19.701-90 (ISO 5807:1985) flowcharts as .drawio files. It lists the styling rules: font, two labeled decision exits, loop routing and one page per function. It includes an export format table and the folder layout for both agents, with symbol and code-mapping references in references. The only stated requirement is draw.io desktop for export.
SKILL.md
--- name: drawio-gost description: Always use when user asks to create, generate, draw, or design a diagram, flowchart, architecture diagram, ER diagram, sequence diagram, class diagram, network diagram, mockup, wireframe, or UI sketch, or mentions draw.io, drawio, drawoi, .drawio files, or diagram export to PNG/SVG/PDF. --- # Draw.io Diagram Skill Generate draw.io diagrams as native `.drawio` files. Optionally export to PNG, SVG, or PDF with the diagram XML embedded (so the exported file remains editable in draw.io). ## How to create a diagram 1. **Generate draw.io XML** in mxGraphModel format for the requested diagram 2. **Write the XML** to a `.drawio` file in the current working directory using the Write tool 3. **If the user requested an export format** (png, svg, pdf), locate the draw.io CLI (see below), export with `--embed-diagram`, then delete the source `.drawio` file. If the CLI is not found, keep the `.drawio` file and tell the user they can install the draw.io desktop app to enable export, or open the `.drawio` file directly 4. **Open the result** — the exported file if exported, or the `.drawio` file otherwise. If the open command fails, print the file path so the user can open it manually ## Choosing the output format Check the user's request for a format preference. Examples: - `/drawio-gost create a flowchart` → `flowchart.drawio` - `/drawio-gost png flowchart for login` → `login-flow.drawio.png` - `/drawio-gost svg: ER diagram` → `er-diagram.drawio.svg` - `/drawio-gost pdf architecture overview` → `architecture-overview.drawio.pdf` If no format is mentioned, just write the `.drawio` file and open it in draw.io. The user can always ask to export later.
FAQ
Do I need draw.io installed?
Not for a .drawio file. PNG, SVG or PDF export needs draw.io desktop; the skill locates its CLI on macOS, Linux, Windows and WSL2.
Can I edit the diagram by hand later?
Yes. Export embeds the diagram XML into the PNG, SVG or PDF, so draw.io can reopen it for editing.
Related
Microsoft's utility and MCP server that turn PDF, Word, Excel, PowerPoint, HTML and other files into Markdown for models
Anthropic skills
Skills
Anthropic's official skill examples: docx, pdf, pptx and xlsx documents, design, MCP builder and the Agent Skills spec
A skill that builds editable PPTX decks from PDF, DOCX, URLs and Markdown with native shapes, charts and animations
Anthropic's legal plugin suite: contracts, privacy, employment, IP, litigation, AI governance and legal education