frontend-design

Generates modern frontend UI layouts and components using Tailwind CSS design patterns.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill frontend-design-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-design
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/frontend-design
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill frontend-design-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-generated UIs often look generic and unpolished, with default fonts, purple gradients, and inconsistent spacing. This Skill provides design-system-level guidelines for building landing pages, dashboards, and web app interfaces that follow professional visual design principles. ## Core Features & Use Cases - Page-type patterns: Structured layout blueprints for landing pages, dashboards, settings forms, content pages, and app shells. - Design system foundations: Predefined spacing scales, typography scales, and color strategies that enforce visual consistency. - Anti-pattern detection: Explicit rules to avoid common AI-generated UI tells like pure grays, nested cards, purple gradients, and bounce easing. - Use Case: Ask for a hero section for a SaaS product and receive production-quality JSX with proper hierarchy, tinted neutrals, dual CTAs, and responsive Tailwind classes. ## Quick Start Design a responsive landing page hero section for my developer tool with a headline, subheading, and two call-to-action buttons.

Frequently Asked Questions about frontend-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a landing page hero section with Tailwind CSS?

Structure the hero with a badge, headline, subheading, and dual CTA buttons centered in a max-w-4xl container. Use a bold text-4xl to text-6xl headline, an 18px subhead in a tinted neutral, and a primary solid button paired with a secondary outlined button.

How to build a responsive dashboard stats row with metric cards?

Use a grid with grid-cols-1 on mobile, sm:grid-cols-2, and lg:grid-cols-4 for four metric cards. Each card uses rounded-xl borders, p-6 padding, a text-3xl semibold value, and conditional green or red text for trend indicators.

What are common AI-generated UI mistakes to avoid?

Avoid defaulting to Inter or Arial fonts, pure gray neutrals, purple gradient backgrounds, cards nested inside cards, and bounce easing animations. Use tinted neutrals like slate or zinc, brand-derived colors, and ease-out transitions instead.

Does this design guidance work with frameworks other than Tailwind CSS?

The design principles for spacing, typography, color, and hierarchy apply to any CSS approach. The code examples use Tailwind utility classes, but the same scales and patterns translate to plain CSS or other frameworks.

What accessibility requirements apply to frontend UI design?

Body text must meet WCAG AA contrast of 4.5:1 and large text 3:1. Use semantic HTML, proper heading hierarchy, alt text, 44px minimum touch targets on mobile, and respect prefers-reduced-motion for animations.