aj-geddes/useful-ai-prompts7 files

Responsive Web Design

>

Specification
Skill ID
aj-geddes/useful-ai-prompts/responsive-web-design
Publisher
aj-geddes
Repository
useful-ai-prompts
Installs
0
Files
7
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

aj-geddes/useful-ai-prompts/responsive-web-designInstalls these files
  • SKILL.md
  • references/css-grid-responsive-layout.md
  • references/flexbox-responsive-navigation.md
  • references/mobile-first-media-query-strategy.md
  • references/responsive-cards-component.md
  • references/responsive-typography.md
  • templates/component-template.tsx

What this skill tells the agent

Responsive Web Design

Table of Contents

  • Overview
  • When to Use
  • Quick Start
  • Reference Guides
  • Best Practices

Overview

Build mobile-first responsive interfaces using modern CSS techniques including Flexbox, Grid, and media queries to create adaptable user experiences.

When to Use

  • Multi-device applications
  • Mobile-first development
  • Accessible layouts
  • Flexible UI systems
  • Cross-browser compatibility

Quick Start

Minimal working example:

/* Mobile styles (default) */
.container {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
}

.card {
  padding: 16px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Tablet (640px and up) */
@media (min-width: 640px) {
  .container {
    flex-direction: row;
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Mobile-First Media Query StrategyMobile-First Media Query Strategy
Flexbox Responsive NavigationFlexbox Responsive Navigation
CSS Grid Responsive LayoutCSS Grid Responsive Layout
Responsive TypographyResponsive Typography
Responsive Cards ComponentResponsive Cards Component

Best Practices

✅ DO

  • Follow established patterns and conventions
  • Write clean, maintainable code
  • Add appropriate documentation
  • Test thoroughly before deploying

❌ DON'T

  • Skip testing or validation
  • Ignore error handling
  • Hard-code configuration values

Use this skill in a project

Open any RiverX project, search the Skills panel for aj-geddes/useful-ai-prompts/responsive-web-design, and install it in one click.

Use this skill