| name | visual-concept |
| description | Collaborative UI concept mode โ agent + human co-craft HTML artifacts
with live preview, clean structure, and inline documentation. Use for
wireframes, UI mockups, flow diagrams, and design exploration.
This is "plan mode but in HTML": propose a concept, review the rendered
preview, request changes, iterate until approved. The HTML artifact
becomes shared documentation for both human and AI readers.
|
| tags | ["design","ui","concept","solo"] |
Visual Concept โ Collaborative UI Concept Mode
Overview
This skill enables a structured collaboration loop where agent and human
co-create HTML UI concepts with live preview. Each concept is a self-contained
HTML file (Tailwind CDN, no build step) with:
- All 4 states โ loading, empty, error, populated โ toggleable in-browser
- Inline comments explaining design intent for both human and AI readers
- Companion README.md โ printable, markdownable, shareable as docs
- Live auto-refresh โ edit HTML โ browser updates instantly
When to use
| Scenario | Why |
|---|
| Exploring a new UI concept | Before writing production code |
| Communicating a design idea | When words alone aren't enough |
| Reviewing interaction flow | To check all states and transitions |
| Documenting a UI decision | The HTML + README become the artifact |
| Comparing alternatives | Create two concepts side by side |
Quick start
Launch a new concept via the solo command:
/solo:concept "a bot overview dashboard with metric tiles and recent activity"
The agent will:
- Create
.concepts/<slug>/ directory with template.html + README.md
- Fill the template with your concept's HTML
- Start the live server using
.claude/skills/visual-concept/scripts/live-server.py
- Report the URL
- Enter the collaboration loop
Workflow
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ LOOP: Propose โ Review โ Revise โ Approve โ
โ โ
โ 1. HUMAN: /solo:concept "describe concept" โ
โ 2. AGENT: Creates .concepts/<slug>/ with template.html + โ
โ README.md, starts live server, reports URL โ
โ 3. HUMAN: Views preview, requests change โ
โ 4. AGENT: Edits HTML, adds comments explaining intent โ
โ 5. Browser auto-refreshes โ HUMAN reviews again โ
โ 6. ... repeat until concept is final โ
โ 7. HUMAN: "approve" โ concept is ready for PR/docs โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Template reference
The base template at templates/base.html includes:
Header comment block
CONCEPT: [Name]
TARGET: [Screen/Component]
STATUS: Draft โ Review โ Final
DESIGNER: Human + AI
Tailwind CDN
Served from cdn.tailwindcss.com โ no npm, no build. Add custom styles
in the <style> block only when Tailwind utilities cannot express them.
State toggles (.no-print)
Floating buttons at bottom-right to switch between loading/empty/error/
populated states. Hidden when printing.
4-state component pattern
Each component has data-state on its container and data-state-content
on each state's div. CSS hides/shows the matching state:
<section id="demo-card" data-state="populated">
<div data-state-content="loading">...</div>
<div data-state-content="empty">...</div>
<div data-state-content="error">...</div>
<div data-state-content="populated">...</div>
</section>
Call setState('demo-card', 'loading') from the browser console, or click
the state toggle buttons.
Print styles
@media print hides .no-print elements and sets clean black-on-white text.
The page is ready for PDF export or physical printing.
README.md companion
Every concept comes with a README.md file documenting:
- States covered (with checkbox checklist)
- Design decisions (layout, colors, interactions)
- Review notes (iteration history)
- File manifest
This file can be:
- Printed โ clean markdown-to-PDF via any markdown renderer
- Shared โ paste into PR descriptions, tickets, or docs
- Archived โ keep as a design decision record
Live server
python3 .claude/skills/visual-concept/scripts/live-server.py --port 0 --dir .concepts/<slug>/
- Auto-assigns a free port (or specify
--port 8080)
- Injects live-reload script into HTML responses
- With
watchdog installed: instant reload on file changes
- Without
watchdog: polls every 2 seconds
- Press
Ctrl+C to stop
Design principles
See references/design-principles.md for the full doctrine:
- Every surface defines all 4 states โ loading, empty, error, populated
- HTML is a communication artifact โ commented for human + AI
- Self-contained โ Tailwind CDN, no build step
- Printable + markdownable โ
@media print + README.md companion
- Progressive disclosure โ start with populated, add other states
Anti-patterns
- โ No raw hex colors without token comments
- โ No unfilled placeholders
[...] in a "final" concept
- โ No framework imports โ pure HTML only
- โ No Lorem Ipsum โ use realistic copy
- โ No concept without at least populated + empty states
Attribution
This skill was created for the MeKnow platform. The template structure and
collaboration workflow are original. The state-coverage and anti-ai-slop
doctrines are adapted from design-taste-meknow/references/.
See design-taste-meknow/ATTRIBUTION.md for upstream lineage of the shared
design principles (MIT via Leonxlnx/taste-skill, Apache-2.0 via
nexu-io/open-design/craft/).