r/SpecDrivenDevelopment • • Sep 25 '26

Why noone has made an SDD diagramming tool?

It seems I couldn't find any diagramming tool which integrates with SDD. Is there a specific reason? Because I think the most natural place for SDD is diagrams

7 Upvotes

21 comments sorted by

2

u/vvtz0 Sep 25 '26

What kind of integration do you mean?

There are diagramming tools already that can be used with AI-native SDLC, including with SDD. For example, at work we use Miro and I connect to it via the MCP server - and the coding agent can use it for diagramming or can read existing diagrams. Also, plain mermaid embedded into markdown artifacts is already no problem for any frontier LLM to produce and read ad hoc.

So I'd say it's already integrated.

1

u/meshifthenelse Sep 25 '26

Do developers actually use this workflow? I'm a developer and I never used Miro. Only mermaid and excalidraw.

The problem with mermaid is that it drifts from the actual code so it's not really a proper tool for this.. beside that it mixes presentation with modelling. Miro and all diagramming tools have the same problems, except maybe things like Structurizr or C4like.. but these then don't have any proper GUI editor.

1

u/gantamk Sep 26 '26

I spent years drawing architecture diagrams by hand and watching them go stale within a sprint - once Mermaid stops matching the code, people stop trusting it and it turns into decoration instead of a model. Structurizr and C4 dodge the drift because they sit closer to the code, but then you're typing a DSL instead of drawing, and a diagram nobody draws doesn't get used either. ProvenMap is our attempt at neither: generate the model from what the code actually does and put a real diagramming surface on top of it. Has anyone here tried wiring a GUI editor onto a C4-style model, or does the DSL always win because at least it's honest?

2

u/ByronScottJones Sep 25 '26

Why would you not use UML?

2

u/meshifthenelse Sep 25 '26

Is there actually a good online editor that doesn't look like from the 90s? UML also has a tendency to focus on relationships instead of flows so it can be hairy for describing a system.

1

u/The_Ed_On_Reddit Sep 25 '26

i’m not sure what the difference between a spec driven and regular diagram would be because you’re either modeling workflows or software layout. It seems that a regular diagram tool would be what you want and adding something that interprets your specs would be complex and not high value. But at the top level, if you could model out your design and then write a spec for each node, it would work except that’s what a lot of tools do (not the spec the picture)

1

u/meshifthenelse Sep 25 '26

Software layout. But e.g. C4 has both workflows and layout. So why not just attach a "spec" on each element and call it a day? Namely I don't understand why every spec approach so far has been a chain of tickets.. when the obvious solution is integrating specs into the overall design? So every node gets a spec, and every edge gets a spec too.

Do you know specific tools that do this? Because I couldn't find anything

1

u/The_Ed_On_Reddit Sep 25 '26 edited Sep 25 '26

I think there are two approaches. In the way we build software today, we use a chain of tickets to let it grow/change over time. Thats what i do in my free professional spec to software builder Drydock. But there is also a graphical paradigm where you have a software to which you attached components and code - perhaps this is what you mean by a diagram. You also describe specs for nodes and edges - im not convinced - clearly every node gets a spec - but why do edges? Edges are contracts not specs - because they are usually api calls - contract are derived from the node (at least thats how drydock works - so the screen has the api contract attached not the api but its not a spec - its a contract). Neither is what i consider a diagramming tool which i kind of read as documentation. Both approaches are builders - one has a UI the other does not. UI Approach Benefits - totally easy to work with - NO UI Approach Benefits - pipelines, tickets, etc. But they are kind of the same thing - just one has a drag/drop ui. In Drydock the Stories/Nodes/Edges are created from the spec as building blocks and api contracts. I would need to understand more to understand the difference.

1

u/meshifthenelse Sep 25 '26

Contracts and specs are the same thing; implementation constraints. You can have such constraints on anything of value in a diagram is my POV.

I haven't checked drydock but will do. I'm actually building something similar myself, hence why I was curious why I haven't seen something out there already - or if I simply missed it.

1

u/LegitimateApricot560 Sep 26 '26

Have you ask the llm/build skill to write diagrams in mermaid? It is auto rendered in github, and there is a vscode plugin to render mermaid in markdowns

1

u/meshifthenelse Sep 26 '26

Yes. But that is just a diagram.. with no specs attached. E.g. it tells me A talks to B, but it doesn't tell me when or why and under what constraints

1

u/gantamk Sep 26 '26

Hi, I guess we made it. I can DM if that is OK

1

u/meshifthenelse Sep 26 '26

Sure, feel free to message me

1

u/dmcquillen Oct 16 '26

If you just need a quick throw-away diagram and you're a MacOS desktop kind of person, you could try SimpleDiagrams, an indie app I publish.

I posted a quick skill that you could use to get your agent to create a diagram in .simplediagram format, which you could then open and keep monkeying with until it's something you want to share. (The hand-drawn look often helps keep people focused on the idea rather than thinking a diagram with polished design is "done".) https://github.com/mcquilleninteractive/simplediagrams-diagram-skill

If the default shapes aren't enough to do SDD, would love to hear what you think belongs in a specialized library. (I'm about to release 5.1.0, which has some support for UML and BPMN).

Thanks for any thoughts!

1

u/meshifthenelse Oct 16 '26

How is this any different from using excalidraw?

1

u/dmcquillen Oct 19 '26

Yes good point. I do like Excalidraw...it's really nicely done.

SimpleD is a MacOS desktop app, so it's designed specifically for native UI...so more appropriate if you're into that rather than web apps (although somebody might have wrapped Excalidraw, but then you're into cross-platform stuff like Elecron or Tauri.) SimpleD has a handful of features Excalidraw doesn't have: BPMN/UML libraries with custom shapes, custom palettes, nested grouping, shape data, configurable connection points, dynamic containers, and some other stuff. There's a 7 day trial if you're a MacOS person and want to give it a go....

1

u/dk1367 Sep 26 '26

I am currently working on something like that, it's a platform, not just a tool. It will be launched in October. Stay tuned for updates.