diagram-generator
Skill9 starsChanged 7 months agoMITView on GitHub
[STATUS: review] [CONFIDENCE: high] [REVIEWED: 2026-04-18] Генерирует визуальные диаграммы архитектуры, схем БД, потоков данных и графов прямо из кода или описания — в формате Mermaid (встраивается в README/Obsidian) или ASCII (работает везде без рендерера). Триггеры: "нарисуй диаграмму", "визуализируй архитектуру", "схема БД", "граф зависимостей", "diagram", "flowchart", "нарисуй граф", "покажи схему", "визуализируй", "схема проекта". НЕ использовать для: написания кода, анализа логики, дебага — только визуализация.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- Masih-0x3/agent-skillstheir own version, first seen Nov 29, 2026
- rogue-dev-studio/ai-agents-roguetheir own version, first seen Nov 29, 2026
- zhaoxuya520/reverse-skilltheir own version, first seen Nov 14, 2026
- TerryFYL/ai-research-armytheir own version, first seen Nov 8, 2026
- luongnv89/skillstheir own version, first seen Nov 6, 2026
- lza6/claw-code-tingfengtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use attack-chain, js-reverse and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DorianGalloSkillattack-chain
Also in 6 projects that use this
DorianGalloSkilljs-reverse
Also in 6 projects that use this
Roshu18Skillpentest-tools
Tool selection policy for BearStrike based on target type, scan risk, and signal strength.
Also in 7 projects that use this
hardw00tSkillllm-security
LLM and AI application security testing skill for prompt injection (direct, indirect, multimodal), system-prompt extraction, RAG poisoning, memory poisoning, MCP server injection, skill-file injection, agentic tool misuse, computer-use UI injection, and excessive agency. Authorization required — this skill tests AI systems you are explicitly permitted to assess. Triggers on requests to test LLM / AI-agent / RAG / MCP / computer-use security, perform prompt injection, extract system prompts, poison RAG or memory, audit agent tool use, or evaluate AI guardrails.
Also in 6 projects that use this
- +8 more from DorianGallo
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- zhaoxuya520/reverse-skill-private★ 45ksame name
- zhaoxuya520/reverse-skill★ 45ksame name
- luongnv89/skills★ 149same name
- z91772524-ai/pojia-next-mac★ 39same name
- 2233admin/reverse-skill-evolver★ 26same name
- qa-aman/claude-skills★ 24same name
- TerryFYL/ai-research-army★ 9same name
- dbx0/skills★ 7same name
- lza6/claw-code-tingfeng★ 5same name
- DorianGallo/reverse-skill★ 2same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository164 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- agents/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- claude-md/CLAUDE.mdCLAUDE.md
- hooks/CLAUDE.mdCLAUDE.md
- insight-architectSkill
- agent-teamsSkill
- brainstormingSkill
- claim-decomposerSkill
- context-engineeringSkill
- dispatcherSkill
- git-worktreesSkill
- hd-mavp-routerSkill
- mentor-modeSkill
- reference-registrySkill
- routing-policySkill
- skill-self-updateSkill
- tdd-workflowSkill
- ab-testSkill
- academic-researchSkill
- advanced-methodology-extensionsSkill
- agent-governanceSkill
- ai-hyp-gateSkill
- algorithm-designSkill
- analystSkill
- archcode-genomicsSkill
- arm-cortex-microcontrollersSkill
- atomizeSkill
- backward-traceabilitySkill
- boyko-constraint-engineSkill
- boyko-epistemic-auditSkill
- boyko-goal-expansion-100Skill
- boyko-knowledge-architectureSkill
- boyko-leverage-mapSkill
- boyko-methodSkill
- boyko-preflightSkill
- boyko-project-radarSkill
- boyko-rippleSkill
- boyko-scientific-consortiumSkill
- boyko-specialistSkill
- boyko-toolcheckSkill
- boyko-triangle-auditSkill
- boyko-why-ladderSkill
- browser-actSkill
- build-autoSkill
- c4-architectureSkill
- career-prepSkill
- changelog-genSkill
- citation-managementSkill
- code-debuggingSkill
- code-materialitySkill
- codex-skepticSkill
- codex-solverSkill
- codex-tracySkill
- combinatorial-creativitySkill
- common-groundSkill
- conductorSkill
- consilienceSkill
- construct-measurement-gateSkill
- The first 60 shown.
The file
Files
Diagram Generator
Что умеет
Превращает код, описание архитектуры или структуру данных в читаемую диаграмму. Особенно полезно для:
- Neo4j графов (nodes → edges → properties)
- Архитектуры микросервисов (кто кому звонит)
- Потоков данных (откуда данные, куда идут)
- Схем БД (таблицы, связи, foreign keys)
- Хуков и пайплайнов (SessionStart → Stop lifecycle)
Шаг 1: Прочитай контекст сам
!`cat .claude/memory/activeContext.md 2>/dev/null | head -40`
!`ls src/ 2>/dev/null | head -20`Определи: что визуализировать, какой формат нужен.
Шаг 2: Выбери формат
Mermaid — если будет в README.md или Obsidian:
graph TD
A[SessionStart] --> B[session_start.py]
B --> C[knowledge_librarian.py]ASCII — если нужно в терминале или комментарии к коду:
SessionStart
├── session_start.py → activeContext + decisions
└── knowledge_librarian.py → wiki + patternsFlowchart для процессов:
flowchart LR
Raw[raw/note.md] -->|session_save| Wiki[wiki/entry.md]
Wiki -->|index| Index[wiki/index.md]Шаг 3: Правила хорошей диаграммы
- Одна диаграмма = одна идея — не пытайся показать всё сразу
- Направление слева направо (LR) для потоков, сверху вниз (TD) для иерархий
- Максимум 7-10 узлов — больше = нечитаемо
- Подписи на рёбрах — что передаётся между узлами
- Группировка — связанные элементы в subgraph
Шаг 4: Neo4j специфика
Для граф-схем используй:
graph LR
Country[🌍 Country\nname, iso_code] -->|HAS_EVENT| Event[⚡ Event\ntype, date, severity]
Event -->|AFFECTS| Sector[📊 Sector\nname, gdp_weight]
Country -->|BORDERS| CountryTemporal properties показывай отдельно:
Node: Event
Properties:
- valid_from: datetime
- valid_to: datetime | null
- confidence: float [0..1]
- source: stringGotchas
- Mermaid не рендерится в GitHub если нет тройных backtick с "mermaid"
- ASCII диаграммы теряются при compaction — сохраняй Mermaid в файл
- Для Obsidian: Mermaid рендерится нативно, можно использовать graph, flowchart, sequenceDiagram
Mermaid Syntax Guard (источник: axton-obsidian-visual-skills)
Частые ошибки парсера которые ломают рендер — проверить перед выводом:
| ❌ Сломает | ✅ Правильно | Причина |
[1. Perception] | [1.Perception] или [Step 1: Perception] | "number. space" = markdown list |
subgraph AI Agent Core | subgraph agent["AI Agent Core"] | пробел без кавычек |
| ссылка на display name | ссылка на ID subgraph | парсер не находит узел |
текст с () или " | заменить на 「」 или 『』 | конфликт с синтаксисом |
| emoji в тексте узла | текстовые метки + цвет | ломает GitHub/Obsidian рендер |
Checklist перед выводом:
- Нет паттерна "цифра. пробел" внутри
[] - Все subgraph имеют формат
id["Display Name"] - Все стрелки:
-->/-.->/==>/~~~ - Нет emoji в тексте узлов
- Открывающий fence:
```mermaid
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

