r/SpecDrivenDevelopment • u/Big_Fig8062 • 5h ago
Keeping a sane architecture spec while your AI agent builds
I've been building side projects with Claude Code, and once a project gets past a handful of services I stop knowing how it fits together. The agent adds a queue here, a second database there, a service that calls something it shouldn't. Each PR looks fine on its own.
So I built portal. It reads a repo (Compose, Kubernetes, Terraform, the code itself) and draws how the parts connect. No AI decides what's there; it's read from the code. Then it writes a first spec, one LikeC4 file, and from then on every pull request is checked against it: new parts, new connections, broken rules.
There's also a skill for your coding agent, so it updates the spec in the same PR when it adds something.
You can try it without signing in: paste any public repo on the front page and you get its map in about 30 seconds.
https://getportal.build/
It's free while in beta. I'd really like to hear where the map gets your repo wrong, that's the most useful feedback right now.