Logo di Better Layout

Better Layout

Community
hsynozdamar-byte
better-layout

Layout structure: grouping, alignment, reading order, spacing, safe areas, breakpoints, RTL. Use when building or reviewing layout, or when a screen feels cluttered, misaligned or breaks on resize.

Panoramica

Pubblicato dahsynozdamar-byte
Repositoryclaude-skills-edited
Nome della skillbetter-layout
Stelle
63
Fork
1
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da hsynozdamar-byte su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Better Layout in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-layout
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/better-layout .claude/skills/better-layout
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Better Layout in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Better Layout non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Better Layout non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Layout

Position, spacing and alignment carry hierarchy before a word is read. Build that structure, then stress-test it: resize it, translate it, mirror it for RTL.

Write fixes in the project's styling system. The numbers below are starting points for projects with no density or spacing system, and compact professional tools can go tighter as long as the stress tests still pass.

Hit areas and focus belong to better-accessibility, radius and motion to better-ui, measure and text spacing to better-typography.

Grouping and hierarchy

  • Space first, shapes second, lines last. Gap between groups at least 2x the gap within one (8px inside, 16px+ between). A separator is for dense data (tables, long settings) and stays quiet; never stack one on a gap that already did the job.
  • Controls look like controls. Every interactive element gets a fill, border, underline or a consistent control zone. The reverse too: a static badge shaped like a button collects dead clicks.
  • Shared edges. Few alignment edges, everything on them. One spacing step per level of nesting (16px is a good default). Numbers in tables align trailing, text leading.
  • Order by importance. Key fact near the top and leading edge; within a row, identity leads, metadata and actions trail. Don't bury the one number the user came for under secondary detail.
  • Light entry point. One primary action per view. Past two or three secondary actions, move them into a menu. A short view linking deeper beats a long one showing everything.

Spacing and edges

  • Between targets. 12px between bordered or filled controls, 24px around borderless text or icon buttons (the space is their only boundary), 24px+ between unrelated groups. Keep an existing usable density instead of inflating it.
  • Inset buttons. Full-width buttons in content stay inside the layout margins (start near 16px on mobile) with a visible radius. Edge-to-edge is fine when it's deliberate platform chrome that respects safe areas.
  • Content bleeds, controls float. Backgrounds, media and scroll lists may reach the viewport edges; text and controls stay inside margins and env(safe-area-inset-*). Sticky chrome floats above content.
  • Hint at hidden content. Collapsed or off-screen content needs a cue: the next card peeking 16 to 32px past the edge, or a disclosure labelled with what it hides ("Show 12 more results", not "More"). A row that ends exactly at the edge looks complete, so nobody scrolls.

Adaptivity

  • Logical properties for anything direction-dependent (ms-4 pe-6 text-start, inset-inline-end). Physical sides only for physical geometry such as a notch. Sequences (steps, ratings, progress) mirror in RTL; digits never reverse.
  • Breakpoints come from content. Break where the layout stops fitting, not at 768/1024 by default. Collapse late. Prefer container queries for components so a card adapts to its column, not the viewport. Test the smallest and largest sizes first.
  • Plan for growth. Translations grow, and short labels grow the most. No fixed width or height on text containers (max-width, min-height, wrapping instead); buttons size from padding, not a fixed width. Test with pseudo-localization.
  • Never clip the critical action. Keep primary actions out of places resizing, a fixed-height modal or the keyboard can cut off. A modal's content scrolls; its action row doesn't.

CSS for the peeking scroller, full-bleed grid, safe-area FAB, container query and the logical property map: references/recipes.md.

Reporting (standalone)

HIGH: content or an action blocked at a supported viewport. MEDIUM: hurts hierarchy, reading order or adaptability. LOW: isolated alignment or spacing. One row per root cause: Severity, Location (path:line), Before, After, Why. Check every supported width, 200% zoom and the RTL mirror; mark what you couldn't run Not verified. End with Block if any HIGH, else Approve.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Better Layout?

Layout structure: grouping, alignment, reading order, spacing, safe areas, breakpoints, RTL. Use when building or reviewing layout, or when a screen feels cluttered, misaligned or breaks on resize.

Perché usare Better Layout su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Better Layout è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Better Layout in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-layout. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Better Layout?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Better Layout?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Better Layout: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Better Layout è gratuita?

È pubblicata su GitHub da hsynozdamar-byte. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇