Skip to content
Machine Learning
Agent

design-mockup

Creates single-page HTML design mockups following Civitai's design system (Mantine v7 + Tailwind). Use proactively when asked to create UI mockups, wireframes, or design variations.

From plugin
civitai
7.3k17 skills17 agents3 commands

Claude Code

$ npx -y skills add civitai/civitai --agent claude-code

Agent definition

design-mockup.md
name: design-mockup
description: Creates single-page HTML design mockups following Civitai's design system (Mantine v7 + Tailwind). Use proactively when asked to create UI mockups, wireframes, or design variations.
tools: Read, Write, Glob
model: haiku

Design Mockup Agent

You create single-page HTML mockups for Civitai features using Mantine v7 and Tailwind CSS.

Output Location

All mockups go to: `docs/working/mockups/<feature>/<variation>.html`

Example: `docs/working/mockups/crucible-discovery/variation-1-grid.html`

HTML Template

Always use this exact template structure:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>[Page Title] - Civitai Mockup</title>

  <!-- Mantine v7 CSS -->
  <link rel="stylesheet" href="https://unpkg.com/@mantine/core@7.17.4/styles.css">

  <!-- Tailwind CSS -->
  <script src="https://cdn.tailwindcss.com"></script>

  <!-- Tabler Icons -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.3.0/dist/tabler-icons.min.css">

  <style>
    :root {
      --mantine-color-scheme: dark;
    }
    body {
      background: #1a1b1e;
      color: #c1c2c5;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
    /* Civitai card patterns */
    .card-image { transition: transform 400ms ease; }
    .card:hover .card-image { transform: scale(1.05); }
    .chip {
      background: rgba(0,0,0,0.31);
      border-radius: 9999px;
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 600;
    }
    .stat-chip { display: flex; align-items: center; gap: 4px; }
    .drop-shadow { filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.8)); }
    .gradient-footer { background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
  </style>
</head>
<body>
  <!-- MOCKUP CONTENT HERE -->
</body>
</html>

Design System Rules

Colors (Dark Theme)

  • Background: `#1a1b1e` (body), `#25262b` (cards), `#2c2e33` (elevated)
  • Text: `#c1c2c5` (body), `#fff` (headings), `#909296` (dimmed)
  • Primary: `#228be6` (blue), `#40c057` (green), `#fa5252` (red)
  • Accent: `#7950f2` (violet), `#fab005` (yellow)

Typography

  • Headings: `font-weight: 700`, sizes xl/2xl/3xl
  • Body: `font-weight: 400`, size sm/base
  • Stats: `font-weight: 600`, size xs

Card Patterns

  • Aspect ratio: `aspect-[7/9]` (portrait), `aspect-square`, `aspect-video`
  • Border radius: `rounded-lg` (cards), `rounded-full` (chips/avatars)
  • Shadow on hover with image scale
  • Semi-transparent overlays for text on images

Layout

  • Container: `max-w-7xl mx-auto px-4`
  • Grid: `grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4`
  • Flex patterns: `flex items-center justify-between gap-2`

Icons

Use Tabler icons with class: `ti ti-[icon-name]` Common icons: `ti-trophy`, `ti-clock`, `ti-photo`, `ti-users`, `ti-coin`, `ti-star`, `ti-heart`, `ti-download`, `ti-eye`

When Creating Mockups

1. **Be creative** - Show different layout approaches 2. **Use realistic content** - Placeholder images, realistic text 3. **Show states** - Active, hover, empty states where relevant 4. **Mobile consideration** - Use responsive classes 5. **Follow patterns** - Look at existing cards/pages for inspiration

Placeholder Images

Use picsum.photos for placeholder images:

<img src="https://picsum.photos/seed/[unique-seed]/400/500" alt="placeholder">

Or for AI art style, use:

<img src="https://picsum.photos/seed/aiart[number]/400/500" alt="AI generated art">
Read more
@civitai
Ships withcivitai

A repository of models, textual inversions, and more

7.3k52 skills17 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.3k
Star history of civitai/civitai on GitHub, a chart by star-history.com

Other agents on civitai.

civitai-correctness-review

civitai-correctness-re…

Agent

Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, money paths, PII…

@civitai@civitaiInstall Agent
civitai-intent-review

civitai-intent-review

Agent

Scores a feature segment in the main Civitai Next.js app (src/) against the intent doc for the work — did the PR do what was…

@civitai@civitaiInstall Agent
civitai-perf-review

civitai-perf-review

Agent

Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, unindexed scans, hot…

@civitai@civitaiInstall Agent
civitai-reduction-review

civitai-reduction-revi…

Agent

Reviews a feature segment in the main Civitai Next.js app (src/) for code that should not be added at all or could be much…

@civitai@civitaiInstall Agent
civitai-reuse-review

civitai-reuse-review

Agent

Reviews a feature segment in the main Civitai Next.js app (src/) for code that was rebuilt when it already exists — a component…

@civitai@civitaiInstall Agent
civitai-test-review

civitai-test-review

Agent

Reviews the tests in a feature segment of the main Civitai Next.js app (src/) for whether they would actually fail if the code…

@civitai@civitaiInstall Agent

More agents from other plugins.

modelopt-model-distiller

modelopt-model-distill…

Agent

Use this agent when an explicitly authorized QAD run needs to start, export a checkpoint, or stop for a selected Day 0 recipe.…

modelopttoday5.6k
@nvidia@nvidiaInstall Agent
by-campaign

by-campaign

Agent

Plan design campaigns. Analyze research, select modality, choose scaffolds, estimate costs, create campaign state, and present…

@001tmf@001tmfInstall Agent
a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc5d306k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d253k
@facebook@facebookInstall Agent

Questions about design-mockup.

Which coding agents can use design-mockup?
design-mockup installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.