TGViewer
Good dev knows Good dev knows @gooddevknows · 2K subscribers
Post #255 1.31K
🤖 Use AI to generate diagrams

Maybe obvious to some, but new and super useful to me — using an LLM to turn a messy braindump into a clear sequence diagram.

I gave it a raw description like:
Generate mermaidjs sequence diagram.

There is:
* customer
* ecommerce-frontend
* fraud-detection-service

The customer accesses the website via the ecommerce-frontend, which calls the fraud-detection-service to evaluate if the customer should be flagged for further verification. If verification is required — the VerificationPage is displayed. On this page, the customer must complete a challenge-response CAPTCHA. Once completed, the CAPTCHA result is sent back to the fraud-detection-service for assessment. If the verification passes, the customer is redirected to the HOMEPAGE of the ecommerce-frontend. If not — an AccessDeniedPage is shown.

Please, generate a sequence diagram.


1️⃣ Then you get MermaidJS code.
2️⃣ You can paste/edit it here: https://www.mermaidchart.com/play
3️⃣ Now, instead of a braindump, you provide a clear diagram that’s much easier for your peers to understand.
4️⃣ You are awesome!
  • ❤ 10
  • 👍 4
More from @gooddevknows
  1. Aug 27, 2026🛰 Я придбав Starlink! Ще поза-вчора вранці я не збирався купляти ніякий Starlink. Але, пр…
  2. Jul 1, 2026photo post
  3. Jul 1, 2026✨ Crash Course: Storytelling для інженерів ✨ 📅 9 — 13 липня 2026 1️⃣ Чому історії працюют…
  4. Jul 1, 2026Post #278
  5. Apr 1, 2026We have one ticket left for: https://fwdays.com/event/tech-lead-course-5 . Code LIFE_BY_PP…
  6. Mar 9, 2026Hi friends, For those who have missed it, I now regularly post in my 🇺🇦 channel: https:/…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →