mockup-builder

Generate HTML and CSS mockups using Theme.uss variables for Unity UI Toolkit.

10|2|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/raddue/crucible --skill mockup-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-builder
Source: https://github.com/raddue/crucible/tree/main/skills/mockup-builder
Command: npx skills add https://github.com/raddue/crucible --skill mockup-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of visual mockups and UI prototypes by generating HTML and CSS that adheres to project-specific theming variables, ensuring consistency and ease of translation to Unity UI Toolkit.

Core Features & Use Cases

  • Themed Mockups: Generates HTML/CSS mockups using predefined Theme.uss variables for colors, spacing, and fonts.
  • Unity UI Toolkit Ready: Structures HTML and CSS (BEM naming, Flexbox) for direct conversion to Unity's VisualElement system.
  • Translation Notes: Includes a dedicated section detailing CSS features requiring C# equivalents in Unity.
  • Use Case: Quickly design a new settings panel for a game, ensuring all colors and spacing match the established theme and generating notes for the developer on how to implement hover effects in C#.

Quick Start

Use the mockup-builder skill to create an HTML mockup for a new inventory screen, saving it to docs/mockups/inventory-mockup.html.

Frequently Asked Questions about mockup-builder

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

FAQPage Schema
How do I create UI mockups that translate directly to Unity UI Toolkit?

You can create Unity UI Toolkit-ready UI mockups by generating HTML and CSS constrained by Theme.uss variables. This approach uses Flexbox layout and BEM naming conventions, ensuring a direct structural translation to Unity's VisualElement system.

What is the best way to prototype game UI panels using HTML and CSS?

Prototyping game UI panels with HTML and CSS is best handled by using predefined Theme.uss variables for colors and spacing. This ensures visual consistency with your game's established theme while structuring the mockup for easy C# implementation.

Does this HTML mockup approach support Unity UI Toolkit Flexbox layouts?

Yes, the HTML mockup approach fully supports Flexbox layouts for Unity UI Toolkit. The generated CSS uses Flexbox and BEM naming conventions to ensure the visual structure maps directly to Unity's VisualElement hierarchy.

How do I handle CSS hover effects when translating a UI mockup to Unity C#?

To handle CSS hover effects when translating a UI mockup to Unity C#, you can reference the dedicated translation notes included in the mockup. These notes detail specific CSS features and their required C# equivalents for implementation.

Can I use my existing Theme.uss variables in an HTML mockup?

Yes, you can use your existing Theme.uss variables in an HTML mockup. The mockup generation process specifically constrains the CSS to these predefined project variables for colors, spacing, and fonts to maintain theme consistency.

What are the limitations of using HTML and CSS for Unity UI prototypes?

A limitation of using HTML and CSS for Unity UI prototypes is that certain CSS features lack direct VisualElement equivalents. You must manually implement these specific visual behaviors in C# using the provided translation notes as a guide.