design-implement-web

Generate token-compliant React and Next.js components from approved HTML mockups or PNG baselines.

1|2|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/joi-fairshare/agentic-workflow --skill design-implement-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-implement-web
Source: https://github.com/joi-fairshare/agentic-workflow/tree/main/skills/design-implement-web
Command: npx skills add https://github.com/joi-fairshare/agentic-workflow --skill design-implement-web

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill turns approved mockups into token-aligned web production code so designers and engineers can ship consistent experiences without manual front-end assembly.

Core Features & Use Cases

  • Token-driven generation: Convert design-tokens.json through Design Token Bridge tools to produce tokens.css and tailwind.preset.js, ensuring no hardcoded colors or spacing.
  • Mockup selection workflow: Prefer HTML mockups, surface PNG baselines when needed, and ask which screen to implement before generating React/Next.js components structured around the approved design.
  • Compliance and reporting: Run the Dark Factory compliance pipeline, enforce focus/hover states, and remind teams to refine and verify the implementation before shipping.

Use case: after mockups are approved in a /design-mockup session, run this skill to translate the visual assets directly into deployable web components.

Quick Start

Invoke /design-implement-web with the approved mockup reference to produce token-compliant React/Next.js components.

Frequently Asked Questions about design-implement-web

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

FAQPage Schema
How do I convert mockups to React components without hardcoding colors and spacing?

You can generate token-compliant React components by providing design-tokens.json alongside generated tokens.css and tailwind.preset.js. This skill processes approved HTML mockups or PNG baselines to output Next.js code without hardcoded colors or spacing.

Do I need a design-tokens.json file to generate Next.js web components from mockups?

Yes, a design-tokens.json file plus generated tokens.css and tailwind.preset.js are required. These inputs ensure the generated React and Next.js components avoid hardcoded values and correctly map colors and spacing from your mockups.

What is the best way to turn approved HTML mockups into production-ready Tailwind code?

Using a design token bridge workflow is the best way to turn approved HTML mockups into production-ready Tailwind code. This skill converts your mockups into Next.js components using tailwind.preset.js to enforce token compliance and prevent hardcoded styles.

Can I use PNG mockup baselines to generate React components if I don't have HTML mockups?

Yes, you can use PNG baselines to generate React components. This skill prefers HTML mockups but will surface PNG baselines when needed, asking which screen to implement before generating the Next.js web components.

How to ensure focus and hover states are included when generating web components from mockups?

To ensure focus and hover states are included, this skill enforces compliance for every interactive element during generation. It runs a Dark Factory compliance pipeline to verify that token constraints and interactive states are honored before shipping.

Why does my mockup-to-web generation workflow require a Tailwind preset file?

A tailwind.preset.js file is required to prevent hardcoded values in your mockup-to-web workflow. This preset bridges design-tokens.json into Tailwind configuration, ensuring generated Next.js components maintain strict visual consistency.