nextjs-design-craft

Designs and refines Next.js frontend interfaces using design system tokens and responsive breakpoints.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/lucaszhh/agents --skill nextjs-design-craft-lucaszhh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nextjs-design-craft
Source: https://github.com/lucaszhh/agents/tree/main/skills/front/nextjs-design-craft
Command: npx skills add https://github.com/lucaszhh/agents --skill nextjs-design-craft-lucaszhh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve? Designing or polishing frontend interfaces often leads to inconsistent spacing, hardcoded colors, missing UI states, and broken responsive layouts. This Skill enforces a structured design methodology so every screen or component follows the project's design system, accessibility rules, and responsive standards. ## Core Features & Use Cases - Design methodology with modes: Classifies each surface as Persuade, Operate, Read, or Experiment, then applies matching design principles for spacing (8px grid), typography, color contrast (≥4.5:1), and layout. - Command-based refinement: Provides commands like critique, audit, polish, bolder, distill, harden, animate, adapt, and optimize to evaluate, refine, improve, or fix interfaces. - Visual verification with Playwright: Captures screenshots at mobile (375px), tablet (768px), and desktop (1280px) breakpoints, with graceful fallback to static code inspection when Playwright is unavailable. - Use Case: Ask it to redesign a dashboard settings page; it reads the design system tokens, writes a spec to .agents/designs/, creates the components in src/modules/, and verifies all UI states (loading, empty, error, success) across three breakpoints. ## Quick Start Ask the agent to redesign the settings screen using the design craft skill and verify it on mobile, tablet, and desktop breakpoints.

Frequently Asked Questions about nextjs-design-craft

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

FAQPage Schema
How do I redesign a Next.js landing page with a design system?▼

Invoke the design craft workflow, which reads your design system tokens and similar screens first, then applies spacing, typography, and color principles. It writes a spec file and component code, iterating at least twice before delivery.

How to make a React component responsive across mobile, tablet, and desktop?▼

Use the adapt command, which verifies layouts at 375px, 768px, and 1200px breakpoints. It adapts information density per breakpoint, not just element sizes, and uses Playwright screenshots for visual confirmation.

Does this design workflow work without Playwright installed?▼

Yes, it degrades gracefully. If Playwright or its browsers are missing, it falls back to static inspection of JSX/TSX code and design tokens, noting that final visual verification is delegated to manual browser review.

When should I not use a UI design skill for frontend work?▼

Do not use it for visual QA of already-implemented components, architecture audits, pre-merge code review, or functional bug fixing. Those tasks belong to dedicated audit, architecture, review, and debugging workflows.

What UI states should a production-ready React component cover?▼

A production-ready component must handle loading (skeletons), empty (message plus CTA), error (descriptive message with retry), and success states, plus edge cases like long strings, empty arrays, and null data.