Описание
as.drawio-gost.skill — скилл построения блок-схем по стандарту: ГОСТ 19.701-90 — правильные обозначения блоков и соединений, файлы .drawio — редактируемый исходник открывается в draw.io, экспорт — в PNG, SVG и PDF для вставки в документацию. Для разработчиков и аналитиков, которым нужны схемы алгоритмов, принимаемые в российской проектной документации.
Что умеет:
— строить схемы по ГОСТ 19.701-90;
— сохранять в формате .drawio;
— экспортировать в PNG, SVG и PDF;
— держать корректные обозначения блоков.
Полная документация ниже — автоматически из репозитория ast-ashulga/as.drawio-gost.skill (ветка main). Оригинальные материалы проекта распространяются на условиях его лицензии.
as.drawio-gost.skill
A skill for Claude Code and Cursor that generates ГОСТ 19.701-90 / ISO 5807:1985 compliant algorithm flowcharts as native .drawio files.
What it does
When you ask to create a diagram, flowchart, or block diagram (блок-схема), this skill:
- Reads and analyzes the source code or description
- Maps each construct to the correct GOST symbol (decisions, loops, I/O, subroutines, etc.)
- Generates native
.drawioXML with strictly compliant styles, dimensions, and layout - Optionally exports to PNG, SVG, or PDF with embedded diagram XML (editable in draw.io)
Activation
Claude Code
Trigger automatically by asking Claude to:
- "Create a flowchart for this function"
- "Draw a block diagram"
- "Generate a
.drawiodiagram" - Mention draw.io, flowchart, algorithm diagram, etc.
Or invoke directly with /drawio-gost.
Cursor
Trigger automatically by asking Cursor to:
- "Create a flowchart for this function"
- "Draw a block diagram"
- "Generate a
.drawiodiagram"
The skill is auto-detected from .cursor/skills/drawio-gost/.
GOST compliance
- All symbols use Times New Roman, white fill, black 1.5px stroke
- Decision blocks have exactly 2 exits: "Да" / "Нет"
- Loop back-edges route RIGHT (iteration) and LEFT (exit) per ГОСТ 19.701-90 §4
- Russian labels: "Начало", "Конец", "Ввод", "Вывод", etc.
- Multi-function diagrams use one page per function
Supported output formats
| Format | Embedded XML | Notes |
|---|---|---|
.drawio |
— | Native, editable in draw.io |
.drawio.png |
Yes | Viewable everywhere, re-editable |
.drawio.svg |
Yes | Scalable, re-editable |
.drawio.pdf |
Yes | Printable, re-editable |
Repository structure
.claude/skills/drawio-gost/
├── SKILL.md # Skill entry point — workflow, CLI detection, export
└── references/
├── gost-symbols.md # draw.io XML styles for all 25+ GOST symbols
└── code-mapping.md # Maps code constructs to GOST symbols
.cursor/skills/drawio-gost/
├── SKILL.md # Skill entry point for Cursor
└── references/
├── gost-symbols.md # draw.io XML styles for all 25+ GOST symbols
└── code-mapping.md # Maps code constructs to GOST symbols
Requirements
- Claude Code or Cursor
- draw.io desktop app (for PNG/SVG/PDF export;
.drawiofiles work without it)