dimdraw
/dimdraw
Rysuje monochromatyczny rysunek wymiarowy komponentu karty z tokenów projektu jako statyczny SVG do README i dokumentacji.
- Autor
- Dodai0419 ↗
- Repozytorium
- dimdraw ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 29.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Rysuje monochromatyczny rysunek wymiarowy komponentu karty z tokenów projektu jako statyczny SVG do README i dokumentacji.
Oryginalny opis (EN)
Draw an Apple-style monochrome dimensional drawing (spec sheet, anatomy, redline) of a card UI component from its design tokens, written as one static SVG that renders in GitHub READMEs, docs and <img> tags. Use when the user asks for a dimensional drawing, spec sheet, anatomy or redline of a card, list item or panel, or wants the drawing to update when spacing/radius/shadow tokens change.
Jak działa
- Commands (run from the repo root)
- Workflow
Podgląd SKILL.md
--- name: dimdraw description: Draw an Apple-style monochrome dimensional drawing (spec sheet, anatomy, redline) of a card UI component from its design tokens, written as one static SVG that renders in GitHub READMEs, docs and <img> tags. Use when the user asks for a dimensional drawing, spec sheet, anatomy or redline of a card, list item or panel, or wants the drawing to update when spacing/radius/shadow tokens change. --- # dimdraw Tokens in, one dimensional drawing out: plan view with chained dimensions, shadow envelope, exploded layers, nested-corner detail, radius details, body-well detail and variable tables. Node 18+, no packages, no browser. ## Commands (run from the repo root) - Upstream's reference card: `node dimdraw.mjs -o card.svg` - Your card: `node dimdraw.mjs my-card.json -o card.svg` (start from `examples/card.json`) - Self-drawing version for a README: add `--animate` - Tests: `node --test test/dimdraw.test.mjs` ## Workflow 1. Measure the real component (source file, computed styles). Fill a token JSON: `W` (reference width), `Wmin`/`Wmax`, `B` border, `S1..S6` spacing, `Z1` lead size, `H3` action height, `H4` trail height, `TH` title-slot height, `MH` meta-slot height, `TW` trail width, `AW` action width, `content` (heights of the body content slots), `R1` card radius, `R3` trail radius, shadow `Y`, `BL`, `SP`, `T1` touch minimum, plus `name`, `dwg`, `rev`, `date`, `source`. 2. Never invent values. If a token is unknown, ask or leave the default and say so. 3. Run the command. Derived values are computed: `H1 = 2·S1 + H3`, `R2 = R1 − B − S6`, `R4 = H3 ÷ 2`, `E1 = BL+SP−Y`, `E2 = BL+SP`, `E3 = BL+SP+Y`. Impossible tokens (negative R2, no room for the title slot) stop with an error naming the value. 4. Reply in one or two sentences: what was drawn and which values were assumed.
Wersje
W bazie nie ma innych skilli o nazwie dimdraw.
Migawka bazy z 13.11.2026 · wersja paczki ee6f1af11314 (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
- 100dimensional-drawing
Tworzy monochromatyczny rysunek wymiarowy w stylu Apple dla komponentu UI lub produktu fizycznego, z tabliczką opisową i arkuszem z wymiarami. - 100dd-dimensional-drawing
Tworzy monochromatyczny rysunek wymiarowy komponentu UI lub produktu w stylu Apple: blok tytułowy i jeden gęsty arkusz z wymiarami. - 100dimensional-drawing
Rysuje monochromatyczny rysunek wymiarowy w stylu Apple dla komponentu UI lub produktu, z tabelą wzorów zamiast gołych liczb. - 100drawing
Rysuje diagramy architektury, przepływu danych, klas i zależności jako SVG przez CLI drawing: z tekstowego opisu rozkłada pola, trasuje strzałki i raportuje skrzyżowania. - 90svg-diagram
Rysuje mapę architektury lub repozytorium jako jeden plik SVG do README: ciemna siatka, kolory części i legenda. - 100generate-component-doc-figma
Generuje dokumentację Markdown komponentu Figma: anatomia, tokeny, macierz stanów, dostępność, wytyczne treści i opcjonalnie zgodność z kodem.