Przejdź do treści
Biblioteka skilli
DevOps i chmura · Budowanie i kod

desprawl-layout

/desprawl-layout

Porządkuje mapę infrastruktury desprawl: rozmieszcza komponenty na siatce i sprawdza trasy krawędzi oraz metryki układu.

Repozytorium
desprawl ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Porządkuje mapę infrastruktury desprawl: rozmieszcza komponenty na siatce i sprawdza trasy krawędzi oraz metryki układu.

Oryginalny opis (EN)

Arrange a desprawl infrastructure map so it reads well, by placing its components on a grid and checking the routed edges and layout metrics. Use when asked to tidy, organize, lay out or rearrange a desprawl map, or when one looks messy.

Jak działa

  1. Loop
  2. What good looks like, in priority order
Sekcje z nagłówków SKILL.md, w oryginale · 51 linii, 418 słów
Podgląd SKILL.md
---
name: desprawl-layout
description: Arrange a desprawl infrastructure map so it reads well, by placing its components on a grid and checking the routed edges and layout metrics. Use when asked to tidy, organize, lay out or rearrange a desprawl map, or when one looks messy.
---

# Arrange a desprawl map

A layout maps each component id to a grid cell `[col, row]`. The browser and
you edit the same file (`.desprawl/layouts/<config>.json` in the workspace): the user
drags components, you use the tools. desprawl routes the edges itself
(right-angled, through the gaps between cards), and the browser draws exactly
those routes, so what the metrics score is what the user sees.

A saved layout is the user's work. Before replacing one, say so.

## Loop

1. `get_map` on the configuration: the grid, a drawing of cards and routed
   edges (`▶` marks where an edge enters its target), every component's cell
   and id, the edges, and metrics. Without a saved layout it shows the
   automatic one.
2. Start from `seed_layout` unless the user has a layout worth keeping. The
   seed already follows the flow rule below.
3. Move components with `save_layout` (the whole grid: id -> `[col, row]`).
   Cells are coarse, so neighbouring cells don't touch; negative coordinates
   are fine. It returns the new drawing and metrics: compare them. The
   `worst edge` lines name the edges with the most crossings or shared
   tracks, which usually tells you what to move.
4. Polish with `tidy_layout`: it moves components only within their column,
   keeping changes that reduce crossings, so it never breaks the flow.
   Choosing columns is your job.
5. Tell the user to click **reload** in the browser.

From the shell instead, in the workspace: `desprawl map <config>` (it names the layout file),
`desprawl layout seed <config>`, `desprawl layout tidy <config>`, and edit
the JSON file.

## What good looks like, in priority order

1. **Information flows left to right.** An arrow points from what acts to
   what it acts on: a load balancer routes to a service, a service reads a
   secret or writes to a bucket. Entry points (load balancers, APIs, DNS,
   external users) on the left, the services they reach next, then the data,
   secrets and queues those services use. Nearly every arrow points right.
2. **No overlaps, few crossings and shared tracks.** Within a column, order
   components so connected things sit level with each other.
3. **Short edges, compact shape.** Roughly as wide as tall; split a very tall
   column into two adjacent ones. Components with no connections go in a
   block underneath.
4. **Modules are secondary.** Keep a module's components together when it
   costs nothing, but never break the flow for it.

Metrics only score geometry; also read the drawing and make sure it tells the
story a person would tell.

Wersje

W bazie nie ma innych skilli o nazwie desprawl-layout.

Migawka bazy z 13.11.2026 · wersja paczki 801c4dc169d7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90desprawl-map
    Tworzy mapę chmury projektu z jego Terraform: usługi, magazyny danych, punkty wejścia i połączenia między nimi.
  • 100desprawl-reverse-engineer
    Odtwarza istniejącą infrastrukturę chmury jako Terraform z powiązanymi zasobami i rysuje jej mapę.
  • 100compose-workspace
    Układa wiele hologramów w wygodny układ przestrzenny: kotwiczy je, rozmieszcza i orientuje tak, by nic się nie nakładało ani nie zasłaniało użytkownika.
  • 86talk-pages-layout
    Układa mapę rozmów dsh-talk-pages: karty, pozycje, priorytety i grupy, pisząc pliki poleceń.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.