design-spatial
Fungsinya
Tool ini membantu menata elemen visual dalam desain agar tersebar dengan rapi dan seimbang. Tool ini memastikan tidak ada elemen yang terlihat miring, sesak, atau tidak sejajar.
Kapan dipakai
- βSaat membuat tata letak untuk website atau aplikasi.
- βSaat menata foto dan teks dalam presentasi.
- βSaat mengatur objek dalam gambar digital.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-spatial/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βAtur elemen di halaman ini agar tidak terlihat sesak atau tidak sejajar.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini memeriksa apakah elemen visual sudah memiliki jarak dan perataan yang baik, sekaligus mencegah elemen saling tumpang tindih atau munculnya scrollbar yang tidak diinginkan. Tool ini juga memberikan saran penyesuaian agar tampilannya bersih dan profesional.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Design β spatial composition
When to Use
Use this skill when you need design β spatial composition.
A model cannot trust its own UI output. Everything else follows from two failures.
1. It can't see what it made
UI is generated as a token stream, never as pixels β so the model cannot perceive collisions, overlap, imbalance, or broken spacing. It will write a headline that runs into the hero image and have no idea.
Render it and judge the image, not the code. Serve with any static server (e.g. python3 -m http.server or npx serve) and screenshot headless via Playwright. Screenshot at a few widths.
Critique with fresh eyes β not your own. Grading your own output rationalizes it; the builder looks at its overlapping headline and calls it fine (this is exactly how a real collision shipped in testing). Use a separate judge β a subagent that did not write the page β and tell it to hunt for what's wrong: collisions, edge tangents, ragged alignment, lopsided weight, no clear focal point, breaks at some width. Fix, re-render, re-judge.
2. Its first idea is the average
Whatever it produces first is the mean of its training data β and there is more than one mean:
- the generic-AI mean: Inter, purple-on-white gradients, centered single column, three equal cards;
- the designer-trend mean: oversized condensed caps, dark-mode + grain, monospace "vibes" microtext, sticker badges.
Landing on the second isn't taste β it's a more flattering average, which is why it slips past. Treat your first instinct as the mean and deviate deliberately β toward this product's specific world (use design-thinking's domain / color-world / signature as the direction), not toward another trend. If the result could be any startup, you shipped the mean.
3. So don't prescribe a style
Any fixed rule β a 12-col grid, an 8-point scale, "mono = data" β becomes next cycle's mean, and a blind model executes it into collisions anyway. Prescribe the process, not the look: see it with fresh eyes, and push off the average toward the domain. Taste supplies the direction (design-thinking / design-philosophy); this skill only insists you look and don't ship the mean.
For iterative spatial tuning, a local page with live controls (sliders, pickers, drag handles) beats one-shot critique.
4. NEVER ship horizontal overflow β THE mandatory gate, no exceptions
BLOCKING GATE. You may not call any web UI "done", "working", "fixed", or "looks good" until you have run the
scrollWidthcheck below at a narrow width THIS turn and seen0. Not "I added overflow-x:clip so it's fine." Not "it looked fine at my width." MEASURE. Narrow. Every time. If you didn't measure, it isn't done β say "haven't checked overflow yet" instead of claiming done.
A side-to-side scrollbar that doesn't match the content is the single most common and most embarrassing layout failure, and it ships over and over because the dev viewport is wide enough to hide it β the overflow only appears once the window is narrower than some element. It is invisible at desktop width, so the Β§1 render-critique loop will NOT catch it unless you screenshot narrow. Separate, explicit, non-negotiable gate.
It recurs because layouts GROW after they were last checked. Every time you add a
nav tab, a toolbar button, a header control, a chip, a wider equation/<pre>, or any
new item to a flex/inline row, you have invalidated the last overflow check β the
row that fit yesterday now pushes past the edge between ~720β1200px while your 1440px
dev window shows nothing wrong. (Real ship, 2026-06, TWICE: a progress-bar edge label
overflowed 23px; then a flex-wrap:nowrap header that grew 4 tabs scrolled the whole
page 309px across 720β1200px β both invisible at dev width, both caught only by
measuring narrow.) So: any change that adds an element to a horizontal row re-arms
this gate. Re-measure.
Default defenses to apply up front (so the gate passes by construction):
- Header / nav / toolbar rows:
flex-wrap: wrap, nevernowrap. A growing single-row flex is the #1 source of this bug. Wrapping is a no-op when it fits and saves you when it doesn't. body { overflow-x: clip }as a backstop on every app (clip, not hidden β keeps sticky/anchored layouts working). A backstop, NOT a substitute for measuring.
β¦
Pertanyaan umum
Mengapa jarak yang baik itu penting?
Jarak yang baik membuat desain lebih enak dilihat, lebih mudah dipahami, dan terlihat profesional. Pengguna juga tidak merasa bingung atau kewalahan dengan banyaknya informasi.
Apa itu 'horizontal overflow'?
Ini terjadi ketika konten halaman lebih lebar dari layar, sehingga pengguna harus scroll ke samping. Hal ini dianggap sebagai cacat desain yang cukup serius, dan tool ini membantu mencegahnya.
Bagaimana tool ini tahu desainnya bagus?
Tool ini tidak menilai desain secara langsung, melainkan memeriksa masalah teknis seperti elemen yang tidak sejajar atau konten yang meluap. Tetap perlu Anda (atau orang lain) melihat hasil akhirnya untuk memastikan tampilannya enak dipandang.
Detail
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4429
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
canvas
394kMemungkinkan agent Anda menampilkan widget visual yang di-hosting di panel Mac yang terhubung, lalu menyembunyikan panel atau memindahkannya ke halaman lain.
control-ui
394kMembantu agent Anda mengatur dan memecahkan masalah OpenClaw Control UI, termasuk sesi, dasbor, dan Gateway yang terhubung.
diagram-maker
394kMembantu agent Anda membuat diagram yang jelas sebagai SVG, HTML, atau Excalidraw yang dapat diedit untuk proses, arsitektur sistem, dan sketsa papan tulis.