Does it push to my repo?
Not by itself. The comment and the check each need a permission you grant. Mermaid files go only to a pull request on a slatebox/ branch, with Diagrams as code.
Recipe · Code
Turn on Living architecture and Pull request impact in a project. Each push redraws the map from your code, each pull request gets a slate of what it changes, and reviewers mark it up with stickies.
Free on Slatebox Cloud and self-host. Naming modules with the agent is optional.
The service map shows web, api, payments, worker, postgres, redis and queue. A push lands, and the GitHub architect, an agent that runs for Ana, adds a fraud-svc note beside payments, connects it to postgres and points at it. A What changed board lists “fraud-svc · new service · #482”. On the slate for pull request #491 the agent marks the new refunds service green and the worker red, and Dev adds a sticky asking whether refunds now call fraud-svc directly. Ana renames worker to billing worker. The next run keeps her wording.
Turn it on
Open a project, then Recipes, Add a recipe, Living architecture. Choose Install Slatebox on GitHub and pick the repos.
Optional: turn off “Name modules with the agent”. The recipe then names modules by folder and uses no agent work.
Preview the first run, Turn on, then Keep all.
Add it the same way. “Where the impact goes” can be the slate, a comment, or both.
Grant “Comment on pull requests” under Changes outside Slatebox if you want the diagram on the pull request.
Optional: add Diagrams as code and map the Service map, Modules and API surface slates. They are committed as docs/architecture/*.mmd.
On a self-hosted Slatebox, recipes stay off until a server admin turns them on in Admin, Recipes. A team admin can turn them off in Team settings.
How it runs
Slatebox redraws your service map, module graph and API surface on every push to the default branch, and draws what each pull request changes. Free, open source, suggest-first.
no-slatebox are skipped.export_mermaid over the Slatebox MCP server, or the committed .mmd files and one line in AGENTS.md.architecture.new_dependency, architecture.cycle_detected and pr_impact.service_changed for your own alerts.Where you decide
| Runs by itself | A person decides |
|---|---|
| Redrawing the map on each push and every night, once you keep the first run and turn on automatic updates | Keeping the first run |
| Drawing each pull request’s impact slate | Granting the PR comment and the neutral “Slatebox architecture” check |
| Anything a person edited stays theirs |
What this recipe uses
Questions
Not by itself. The comment and the check each need a permission you grant. Mermaid files go only to a pull request on a slatebox/ branch, with Diagrams as code.
Compose, Kubernetes, Helm, Terraform, serverless, JS and TS, Python, Go, Java, Rust, Ruby, OpenAPI, GraphQL, proto, routes and CODEOWNERS. Modules are named by folder unless you let the agent name them.
Modules drill down into their own slates in a Modules folder. A pull request’s slate shows only what that pull request touches.
Recipes are free on Slatebox Cloud and self-host. Naming modules uses the agent: Slatebox Pro credits or your own key on Cloud. Without either, the recipe still draws by folder.
For teams. Slatebox Business on Slatebox Cloud gives your team single sign-on, people added and removed automatically from your identity provider, the team activity log of recipe runs and changes outside Slatebox, and the agent and calls for every member. See Slatebox Business
More recipes
Start free, open a project and add Living architecture. The first run only suggests.