Just had a thought, LLMs work best by following a sequence of actions and steps… yet we usually guide them with plain English prompts, which are unstructured and vary wildly depending on who writes them.
Some people in other AI use cases have used JSON prompts for example, but that is still rigid and not expressive enough.
What if we gave AI system instructions as sequence diagrams instead?
What is a sequence diagram:
A sequence diagram is a type of UML (Unified Modeling Language) diagram that illustrates the sequence of messages between objects in a system over a specific period, showing the order in which interactions occur to complete a specific task or use case.
I’ve taken Burke's “Beast Mode” chat mode and converted it into a sequence diagram, still testing it out but the beauty of sequence diagrams is that they’re opinionated:
They naturally capture structure, flow, responsibilities, retries, fallbacks, etc, all in a visual, unambiguous way.
I used ChatGPT 5 in thinking mode to convert it into sequence diagram, and used mermaid live editor to ensure the formatting was correct (also allows you to visualise the sequence), here are the docs on creating mermaid sequence diagrams, Sequence diagrams | Mermaid
How to add a chat mode?
See here:
Try with agent in VSCode Copilot and report back. (definitely gonnna need some tweaking)
Note
Click RAW then copy the chat mode below