responsive-web-design

Mobile-first responsive layouts using CSS Grid, Flexbox, and media queries.

aj-geddes/useful-ai-promptsUpdated Apr 8, 2026

Works with

Claude CodeCursorClineWindsurfCodexGooseGitHub CopilotZed

0

total installs

0

this week

162

GitHub stars

0

upvotes

Install Skill

Run in your terminal

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill responsive-web-design

0

installs

0

this week

162

stars

What it does

  • Covers three core layout techniques: Flexbox for flexible component layouts, CSS Grid for structured multi-column designs, and mobile-first media queries for device adaptation

  • Includes reference guides for navigation, typography, cards, and grid-based layouts with working code examples

  • Emphasizes mobile-first development strategy, cross-browser compatibility, and accessible design patterns across all device s

Category

Frontend

Last updated

Apr 8, 2026

Installation Guide

How to use responsive-web-design on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your machine
  • Node.js 16+ with npm — verify with node --version
  • Active project directory where you want to add responsive-web-design
2

Run the install command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill responsive-web-design

Fetches responsive-web-design from aj-geddes/useful-ai-prompts and configures it for Cursor.

3

Select Cursor when prompted

The CLI shows a list of agents. Use arrow keys and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ────────────────
│ · Cline · Codex · Goose · Windsurf
│ ●Cursor(selected)
│ · Cursor · Aider · Continue
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/responsive-web-design

Restart Cursor to activate responsive-web-design. Access via /responsive-web-design in your agent's command palette.

Security Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.

Documentation

Responsive Web Design

Table of Contents

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:

Guide Contents
Mobile-First Media Query Strategy Mobile-First Media Query Strategy
Flexbox Responsive Navigation Flexbox Responsive Navigation
CSS Grid Responsive Layout CSS Grid Responsive Layout
Responsive Typography Responsive Typography
Responsive Cards Component Responsive 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

List & Monetize Your Skill

Submit your Claude Code skill and start earning

Get started →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Steps

  1. 1Install skill using provided installation command
  2. 2Test with simple use case relevant to your work
  3. 3Evaluate output quality and relevance
  4. 4Iterate on prompts to improve results
  5. 5Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use when

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid when

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Related Skills

Reviews

4.658 reviews
  • Y
    Yusuf GhoshDec 16, 2024

    Solid pick for teams standardizing on skills: responsive-web-design is focused, and the summary matches what you get after install.

  • F
    Fatima NdlovuDec 16, 2024

    Registry listing for responsive-web-design matched our evaluation — installs cleanly and behaves as described in the markdown.

  • E
    Emma ShahDec 16, 2024

    Useful defaults in responsive-web-design — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • T
    Tariq AbbasDec 12, 2024

    responsive-web-design has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Z
    Zaid YangDec 8, 2024

    I recommend responsive-web-design for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • S
    Shikha MishraDec 4, 2024

    I recommend responsive-web-design for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • A
    Amelia WangNov 27, 2024

    Solid pick for teams standardizing on skills: responsive-web-design is focused, and the summary matches what you get after install.

  • R
    Rahul SantraNov 23, 2024

    Solid pick for teams standardizing on skills: responsive-web-design is focused, and the summary matches what you get after install.

  • I
    Ira VermaNov 7, 2024

    I recommend responsive-web-design for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • K
    Kiara DixitNov 7, 2024

    responsive-web-design reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 58

1 / 6

Discussion

Comments — not star reviews
  • No comments yet — start the thread.