Logo van Responsive Design

Responsive Design

Community
nahid-sparktales
responsive-design

Make a layout hold from 320px to wide desktop — content-driven breakpoints, intrinsic layout before media queries, fluid type that still zooms, touch targets, reflow without hiding content, and what to check at each width. Fires when building or fixing layout, when something overflows or collapses at a size, or when a design only exists at one width. Not for proving it renders (browser-verification) and not for semantics or screen readers (accessibility).

Overzicht

Uitgevernahid-sparktales
Repositoryagent-dispatcher
Skillnaamresponsive-design
Sterren
58
Forks
5
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door nahid-sparktales op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Responsive Design in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/responsive-design
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/design/responsive-design .claude/skills/responsive-design
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Responsive Design in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Responsive Design automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Responsive Design niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Responsive design

Most responsive bugs are a layout that was designed at one width and then defended with media queries. Layouts that adapt on their own need fewer breakpoints and break in fewer places.

When this fires

Building or repairing any layout that will be seen at more than one width, and whenever a design hand-off shows a single desktop frame. It does not fire for the proving pass — screenshots, console and interaction checks belong to browser-verification.

Procedure

  1. Let the content choose the breakpoints. Widen and narrow until the layout actually breaks — a line gets too long, a card squashes, a nav wraps badly — and put a breakpoint there. Device names are marketing; the content is the constraint.
  2. Start from the small layout and add. Write the base styles for the narrow case, then use min-width queries to add complexity. Going the other way means every small screen pays to undo desktop rules, and undoing is where the leaks are.
  3. Reach for intrinsic layout before a media query. flex-wrap, grid-template-columns: repeat(auto-fit, minmax(…, 1fr)), min()/max()/clamp(), and container queries where the component's size — not the viewport's — is what should drive it. A component that adapts to its own container survives being moved; a viewport-keyed one does not.
  4. Make type fluid without breaking zoom. A clamp() with a rem term in the middle scales with the viewport and still responds to the user's font size and browser zoom. A size expressed in vw alone does not — it ignores zoom entirely, which is a genuine accessibility failure, not a stylistic choice. Keep an explicit floor and ceiling; line length around 45–75 characters.
  5. Keep spacing on one scale. Fluid gutters and section padding from the same tokens as the type scale. Ad-hoc pixel values per breakpoint are how layouts drift apart over time.
  6. Size targets for fingers, not cursors. 24×24 CSS px is the floor for any interactive target, with clear spacing between adjacent ones; make primary and frequently-tapped actions comfortably larger. Check the real hit area, not the icon — padding counts, a bare glyph does not.
  7. Reflow, never remove. At narrow widths, content stacks, wraps, collapses into a disclosure or moves into a menu. It does not disappear. Anything only reachable on desktop is a feature that does not exist on mobile — if a design asks for that, stop and ask, because it changes what the product does rather than how it looks.
  8. Handle media explicitly. Responsive images with srcset/sizes so small screens do not download desktop assets; an aspect-ratio or explicit dimensions so nothing jumps as images load; object-fit so crops behave. Long tables, code blocks and diagrams are the legitimate exception — give them their own horizontal scroll container rather than shrinking the page around them.
  9. Distrust viewport units on mobile. 100vh is taller than the visible area while browser chrome is showing; prefer the dynamic/small viewport units with a plain fallback underneath. Where a layout goes edge to edge on a notched device, pad with the safe-area environment variables and set the viewport meta to cover — and never disable user scaling.
  10. Do not tie behaviour to width. Wide does not mean mouse and narrow does not mean touch. Gate hover-only affordances on @media (hover: hover) and make sure anything revealed on hover has a tap or focus path too.
  11. Check at sizes, not at one size. Walk 320, 375, 768, 1024 and 1440 CSS px, plus 1280 at 400% zoom — which is the same reflow constraint as 320 and catches the zoom bugs that resizing misses. Reload after each change, do not just drag the window: layout-time breakpoints, container query registration and device gates only re-run on load.
  12. At every size, look for the same six things. Horizontal page scroll; clipped or overlapping content; text squeezed under ~40 characters or stretched past ~80; targets and their spacing; images loading at the right size with no jump; and whether the reading order still matches the visual order after items reflow.

Checklist

  • Breakpoints correspond to where content broke, not to device names
  • Base styles are the narrow case; complexity added with min-width
  • Intrinsic layout used where it removes a media query
  • Fluid type keeps a rem term, a floor and a ceiling; zoom still works
  • Every interactive target is at least 24×24 CSS px with real spacing
  • No content removed at small sizes — reflowed, collapsed or moved instead
  • No horizontal page scroll at 320px; exceptions scoped to their own container
  • Images sized responsively and reserve their space before loading
  • 100vh assumptions and safe areas handled; scaling not disabled
  • Hover-only affordances have a tap and focus equivalent
  • Each width was reloaded, not just resized
  • 1280 at 400% zoom checked alongside 320px

Failure handling

  • Something overflows and the culprit is not obvious — find the element wider than its container before changing anything. Long unbroken strings, fixed pixel widths, negative margins and 100vw inside a padded parent cause most of it. Do not apply overflow: hidden to the page: it hides the symptom and clips content for everyone.
  • The design only exists at one width — say which breakpoints you inferred and why, and get them confirmed. Inventing the mobile layout silently and calling it done is how two people ship two different products.
  • A fix at one width breaks another — re-walk the whole set of widths after every fix, not just the one you were working on. This is the most common regression in this area.
  • A third-party or embedded component will not reflow — contain it and its scroll, record it as a known limit, and do not claim the page reflows cleanly.
  • You cannot open a browser — report the layout as changed but unchecked. Reading CSS is not checking layout, and resizing without reloading is not checking breakpoints.

Evidence to report

The widths walked and whether each was reloaded; a screenshot per width where the layout meaningfully differs; what overflowed or clipped and what fixed it; the breakpoints added or moved, with the content reason for each; the zoom result at 400%; and the sizes, states or components not checked. "Made it responsive" without the width list is not evidence — hand the rendered proof to browser-verification.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Responsive Design?

Make a layout hold from 320px to wide desktop — content-driven breakpoints, intrinsic layout before media queries, fluid type that still zooms, touch targets, reflow without hiding content, and what to check at each width. Fires when building or fixing layout, when something overflows or collapses at a size, or when a design only exists at one width. Not for proving it renders (browser-verification) and not for semantics or screen readers (accessibility).

Waarom Responsive Design gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Responsive Design bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Responsive Design in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/design/responsive-design. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Responsive Design gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Responsive Design gebruiken?

Zoveel als je wilt. Je kunt Responsive Design gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Responsive Design gratis?

Ja. Deze skill is door nahid-sparktales op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇