agentleFS
adymireadymire/CraftLayer/skills/responsive-design/SKILL.md

responsive-design

Skill0 starsChanged 3 days agoMITView on GitHub

Adapt layouts and interactions to available space and input modes without hiding essential content or functionality.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use visual-hierarchy, web-component-design and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • launchapp-devSkill

    visual-hierarchy

    Establish clear visual hierarchy through size, weight, color, spacing, and positioning.

    Also in 3 projects that use this

  • Aver005Skill

    web-component-design

    Master React, Vue, and Svelte component patterns including CSS-in-JS, composition strategies, and reusable component architecture. Use when building UI component libraries, designing component APIs, or implementing frontend design systems.

    Also in 3 projects that use this

  • CodeWithBehnamSkill

    accessibility-compliance

    Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

    Also in 3 projects that use this

  • CodeWithBehnamSkill

    visual-design-foundations

    Apply typography, color theory, spacing systems, and iconography principles to create cohesive visual designs. Use when establishing design tokens, building style guides, or improving visual hierarchy and consistency.

    Also in 3 projects that use this

  • wpankSkill

    design-system-patterns

    Foundational design system architecture — token hierarchies, theming infrastructure, token pipelines, and governance. Use when creating design tokens, implementing theme switching, setting up Style Dictionary, or establishing multi-brand theming. Triggers on design tokens, theme provider, Style Dictionary, token pipeline, multi-brand theming, CSS custom properties architecture.

    Also in 3 projects that use this

  • rastianSkill

    interaction-design

    Apply interaction design (IxD) principles and frameworks to product and service design work. Use this skill when designing or evaluating interaction flows, micro-interactions, feedback mechanisms, affordances, mental models, component states, response time, animation and transitions, error recovery, input validation, task flows, or navigation patterns. Core audiences: product designers, UX designers, UI designers, service designers, and interaction designers working on digital products and services. Trigger on: interaction flow, micro-interaction, affordance, feedback design, state design (hover/focus/error/loading/empty), response time, transition, animation, mental model, task flow, user flow, navigation design, interaction spec, handoff annotation, gesture, input validation, error state, loading state, empty state, system feedback, signifier, design review, interaction audit, IxD principles.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for new or changed web layouts, navigation, tables, dialogs, forms, and other interfaces that must work across viewport sizes.

    line 10
  2. Distinctive:

    Do not equate responsive design with shrinking desktop content or adding breakpoints without testing actual content and task behavior.

    line 15
  3. Distinctive:

    Start with content order and priority.

    line 25
  4. Distinctive:

    Use fluid sizing and existing breakpoints before adding arbitrary device-specific rules.

    line 27
  5. Distinctive:

    Check menus, dialogs, forms, charts, and long labels, not just the hero.

    line 32
  6. Distinctive:

    Test keyboard and touch interactions at narrow, medium, and wide widths.

    line 33
  7. Distinctive:

    Do not remove essential information on small screens without an alternative.

    line 37
  8. Distinctive:

    Avoid fixed heights for content that can wrap or localize.

    line 39
  9. Distinctive:

    Ensure zoom and text resizing do not clip controls.

    line 41
  10. Distinctive:

    Test real content at narrow and wide sizes, zoom, keyboard, touch, overflow, focus order, and all essential actions.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Responsive Design

When to use

Use for new or changed web layouts, navigation, tables, dialogs, forms, and other interfaces that must work across viewport sizes.

When not to use

Do not equate responsive design with shrinking desktop content or adding breakpoints without testing actual content and task behavior.

Inputs and assumptions

Identify supported viewport ranges, touch and keyboard use, content variation, existing breakpoints, and browser support.

Workflow

  1. Start with content order and priority; decide what may wrap, reflow, scroll, collapse, or move.
  2. Use fluid sizing and existing breakpoints before adding arbitrary device-specific rules.
  3. Preserve action visibility, readable text, and adequate targets.
  4. For wide data tables, choose a deliberate strategy such as prioritized columns, horizontal scrolling with cues, or a detail view.
  5. Check menus, dialogs, forms, charts, and long labels, not just the hero.
  6. Test keyboard and touch interactions at narrow, medium, and wide widths.

Decision rules

  • Do not remove essential information on small screens without an alternative.
  • Avoid fixed heights for content that can wrap or localize.
  • Focus order must follow the visual and task order.
  • Ensure zoom and text resizing do not clip controls.

Example

A dense table may retain a few decision-critical columns on mobile and open the full record in a detail page; hiding arbitrary columns without telling the user is not acceptable.

Common failures

  • Horizontal page overflow from fixed widths.
  • Desktop-only hover controls.
  • Mobile navigation that traps focus or obscures the current location.

Validation

Test real content at narrow and wide sizes, zoom, keyboard, touch, overflow, focus order, and all essential actions.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.