design-diagram
Skill4 starsChanged 10 days agoMITView on GitHub
Draws architectural diagrams as clean SVG, including adjacency or bubble diagrams sized by area, programme stacking by level, zoning and circulation diagrams, from a list of spaces and their relationships, and reports which adjacencies the layout could not satisfy. Use when the architect wants a "bubble diagram", "adjacency diagram", "relationship matrix as a diagram", "stacking diagram", "zoning diagram", "circulation diagram", or a quick programme diagram for a report or pin-up. Takes its spaces from design-brief or programme-schedule; hands to dxf-drawing when the diagram needs to become a plan at scale, and to concept-parti when the diagram suggests an organising idea.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gaia-computer-technologies/gaia-ai-architectword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- gaia-computer-technologies/gaia-ai-architect★ 4100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- ai-policySkill
- architectSkill
- area-checkSkill
- bid-responseSkill
- carbon-estimateSkill
- citation-checkSkill
- client-pushbackSkill
- concept-narrativeSkill
- concept-partiSkill
- contract-admin-letterSkill
- cost-checkSkill
- design-briefSkill
- design-critiqueSkill
- drawing-register-qaSkill
- dxf-drawingSkill
- fee-proposalSkill
- ifc-querySkill
- markup-reviewSkill
- massing-studySkill
- material-paletteSkill
- meeting-minutesSkill
- objection-responseSkill
- planning-researchSkill
- poe-studySkill
- practice-pulseSkill
- precedent-studySkill
- presentation-deckSkill
- programme-scheduleSkill
- project-descriptionSkill
- project-emailSkill
- regulation-navigatorSkill
- render-promptSkill
- revit-mcpSkill
- rfiSkill
- rhino-grasshopperSkill
- site-contextSkill
- site-mapSkill
- site-visit-reportSkill
- snag-listSkill
- space-feelSkill
- spec-writerSkill
- sun-studySkill
- tool-setupSkill
- value-engineeringSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
After a brief or schedule exists, to see the programme as relationships before drawing plans.
- Distinctive: line 64
Don't invent areas or relationships.
- Very specific: line 65
Don't present a bubble diagram as a plan.
- Distinctive: line 66
Don't tune the seed to hide a conflict.
- Distinctive: line 67
Don't use the diagram to imply compliance (escape distances, accessible routes, separation distances).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagram
A diagram is an argument about relationships, not a plan. This skill turns a programme into diagrams that are honest about size (bubble area follows space area) and about what doesn't fit, which is usually the useful part.
When to use
- After a brief or schedule exists, to see the programme as relationships before drawing plans.
- To test an adjacency matrix: can these relationships coexist, or does something have to give?
- To show stacking: what goes on which level, and how big each level gets.
- For report and presentation graphics that need to be editable (SVG opens in Illustrator, Affinity, Inkscape, Figma).
Input
- Spaces: name, area, and optionally zone (public / private / service / teaching) and level. Areas come from the architect or
programme-schedule. Don't invent them. If a space has no area, ask, or draw it at a stated nominal size and label it "area TBC". - Relationships: pairs marked
required(must touch),desired(should be near) oravoid(keep apart: noise, smell, security, privacy). An adjacency matrix converts directly into this list. - Diagram type: bubble (default), stacking, or a hand-built zoning/circulation diagram (see below).
Process
- Build the spec in the JSON format documented in
scripts/adjacency_diagram.py. - Run it.
- Bubble:
uv run scripts/adjacency_diagram.py spec.json --out bubble.svg - Stacking:
uv run scripts/adjacency_diagram.py spec.json --out stack.svg --mode stack - Try
--seed Nfor a different arrangement. Layouts are deterministic per seed.
- Bubble:
- Read the report. It lists required pairs that ended up apart and avoid pairs that ended up close. Those conflicts are the design content: they show where the programme forces a choice (a second entrance, a split level, a buffer zone).
- Look at the SVG (render it to PNG to check if you can). Confirm labels are legible, nothing overlaps and the legend is complete.
- Zoning and circulation diagrams have no generic script. Write the SVG directly. Use filled zones (rectangles or blobs) over a light base, circulation as a single heavy line with arrows, and entries as triangles. Keep it to three or four tones and one accent, and label every zone.
- Hand over the SVG with a short reading: the clusters it found, the conflicts, and what they suggest.
Domain knowledge
- Bubble size is a claim. Area-proportional circles let people compare sizes at a glance. A diagram with equal-sized bubbles quietly lies about the programme. Radius is computed from area (r = sqrt(A / pi)), so a 180 m2 hall really reads three times the size of a 60 m2 classroom.
- Adjacency strength is a hierarchy. Required means a shared wall or door (kitchen to dining hall). Desired means within a short walk or a visual connection. Avoid usually comes down to acoustic, odour, security, safeguarding or privacy separation. Give the reason for each avoid; it tells the next designer what buffer would solve it.
- The layout is a test, not an answer. Kamada-Kawai layout tries to meet a target distance for every pair at once. When it can't, the programme probably can't either, at least not on one level without a move. Report that; don't hide it by fiddling the seed until the picture looks tidy.
- Stacking. Level totals show floor-plate balance. A big imbalance between levels means either an odd massing or a programme that wants a different split. Ground-floor priorities are usually public entry, servicing, heavy plant, anything with goods in, and spaces needing level access. Check accessibility requirements with the applicable standard.
- Graphic discipline. Monochrome base with muted zone tones, one weight for outlines, text set horizontally, no drop shadows and no 3D. A diagram that needs a paragraph of explanation has failed.
Output format
## Diagram: [title]
File: bubble.svg (or stack.svg) | Seed: 7 | Spaces: 8 | Total area: 570 m2 (sum of inputs)
Reading:
- [cluster or relationship the diagram shows]
- [the conflict, e.g. "Plant wants to sit by Kitchen but away from Library; the layout can only do both if Library goes upstairs"]
Unresolved: [required pairs apart / avoid pairs close, from the script report, or "none"]
Assumed: [any nominal areas or inferred relationships, labelled as such]What you don't do
- Don't invent areas or relationships. Infer them only when asked, and label them as inferred.
- Don't present a bubble diagram as a plan. It has no scale, no walls and no circulation. Use
dxf-drawingfor plans. - Don't tune the seed to hide a conflict. Report it.
- Don't use the diagram to imply compliance (escape distances, accessible routes, separation distances). Those need a qualified professional and the applicable standard.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

