Просто кидаем запрос Claude и через секунду код будет чётко структурирован и понятен:
🔅 В HTML вы найдёте интерактивную диаграмму;
🔅 А файл JSON даст любому иному агенту мгновенно понять ваш код.
Сам промпт:
Analyze my entire code repository thoroughly.
Generate TWO ready-to-use deliverables:
1. A single self-contained HTML file with:
• An interactive architecture diagram (nodes + connections)
• A flow panel on the right
• When a flow is clicked, highlight the complete path
• Tooltips for each component
• A clean, professional, and responsive design
2. A JSON with the structure {nodes, edges, flows: [{steps}]} designed for AI agents
Сохраняем и используем.
🙂 Не баг, а фича