AGENT SKILL

open-design

Open Design (nexu-io/open-design) advisor — open-source Claude Design alternative, local-first, agent-native vibe design workspace. Kích hoạt skill này khi user hỏi về: GUI design với AI agent, tạo prototype/dashboard/deck/landing page bằng Open Design, dùng Skills/Plugins/Design Systems trong Open Design, setup Open Design với Claude Code, BYOK provider config, DESIGN.md workflow, od CLI commands, MCP integration cho design. Trigger aggressively cho: "open design", "od cli", "design GUI", "vibe design", "prototype bằng AI", "DESIGN.md", "od plugin", "od skill", "design system", "tạo UI bằng agent", "Claude Design alternative", "thiết kế UI với Claude Code".

License 许可
MIT
最近更新
2026-07-21
Stars
★ 0
Forks
0

01 前言 Front Matter

name
open-design
description
Open Design (nexu-io/open-design) advisor — open-source Claude Design alternative, local-first, agent-native vibe design workspace. Kích hoạt skill này khi user hỏi về: GUI design với AI agent, tạo prototype/dashboard/deck/landing page bằng Open Design, dùng Skills/Plugins/Design Systems trong Open Design, setup Open Design với Claude Code, BYOK provider config, DESIGN.md workflow, od CLI commands, MCP integration cho design. Trigger aggressively cho: "open design", "od cli", "design GUI", "vibe design", "prototype bằng AI", "DESIGN.md", "od plugin", "od skill", "design system", "tạo UI bằng agent", "Claude Design alternative", "thiết kế UI với Claude Code".

03 SKILL.md 正文

Open Design — AI-Native GUI Design Advisor

⚡ BEHAVIOR KHI ĐƯỢC GỌI (BẮT BUỘC)

Khi skill được kích hoạt để hỏi hướng dẫn Open Design, LUÔN hỏi ngay:

"Bạn muốn làm gì với Open Design?"

  • Setup — Cài đặt lần đầu, chưa có gì
  • Design GUI — Tạo prototype, landing page, dashboard, mobile app
  • Deck / Slides — Tạo pitch deck, presentation
  • Design System — Thiết lập DESIGN.md brand cho team/project
  • Skills — Dùng hoặc tạo skill mới
  • Plugins — Dùng od plugin CLI commands
  • MCP / Agent — Tích hợp vào Claude Code, Codex, Cursor
  • Export — Xuất file HTML, PDF, PPTX, MP4
  • Không biết — Chưa rõ bắt đầu từ đâu

Nếu user trả lời "không biết" → show Quick Map đầy đủ dưới đây.


Quick Map (Hiển thị khi user nói "không biết")

MỤC TIÊU               TOOL/COMMAND                     OUTPUT
────────────────────────────────────────────────────────────────────────
Tạo web prototype       od plugin apply web-prototype     HTML (iframe preview)
                        brief="mô tả UI cần làm"

Tạo mobile app UI       od plugin apply mobile-app        iPhone/Pixel framed HTML
                        brief="mô tả màn hình"

Tạo dashboard           od plugin apply dashboard         Admin/analytics HTML
                        brief="KPI cần show"

Tạo landing page        od plugin apply saas-landing      Hero+features+CTA HTML

Tạo pitch deck          od plugin apply guizang-ppt       Web PPT, export PPTX/PDF
                        brief="nội dung pitch"

Dùng brand cụ thể       Chọn DESIGN.md từ 150 systems     Mọi output theo brand đó
                        (linear, stripe, vercel, tesla...)

Export file             od plugin apply [skill]           HTML/PDF/PPTX/ZIP/MP4
                        + --export html|pdf|pptx|mp4

Tích hợp Claude Code    od mcp install claude             Dùng OD trong claude chat

Tạo custom brand        DESIGN.md (9-section schema)      Brand contract cho team

Open Design là gì?

Open Design (nexu-io/open-design, 74.8k stars) là open-source alternative của Claude Design:

  • 🤖 Agent-native — không có AI riêng, dùng Claude Code / Codex / Cursor / Gemini CLI
  • 🎨 100+ Skills — web prototype, dashboard, mobile, deck, video, email, magazine
  • 🏷️ 150 Design Systems — Linear, Stripe, Vercel, Tesla, Apple, Notion, FPT... (DESIGN.md format)
  • 📦 261 Plugins — scenarios, atoms, templates, migrations
  • 🖥️ Local-first BYOK — chạy trên máy, không cloud, không tracking
  • 📤 Export: HTML · PDF · PPTX · ZIP · MP4

Core loop:

Brief (mô tả UI) → Skill (loại output) → Design System (brand) → Artifact (HTML preview) → Export

Setup

Option A — Desktop App (Khuyến nghị, zero config)

# Download từ: https://open-design.ai
# macOS: .dmg → sau khi install chạy:
xattr -cr "/Applications/Open Design.app"   # macOS Sequoia 15+

# Windows: .exe → SmartScreen → "Run anyway"

App tự detect coding agent CLIs trên PATH, load 100+ skills và 150 design systems.

Option B — Tích hợp vào Claude Code (không cần UI)

# Install Open Design daemon
git clone https://github.com/nexu-io/open-design.git
cd open-design
corepack enable && pnpm install
pnpm tools-dev run web   # chạy tại http://localhost:7456

# Wire vào Claude Code
od mcp install claude

Option C — Docker

git clone https://github.com/nexu-io/open-design.git
cd open-design/deploy
cp .env.example .env
echo "OD_API_TOKEN=$(openssl rand -hex 32)" >> .env
docker compose up -d
# open http://localhost:7456

BYOK Config (nếu không có local CLI)

# Set env vars để dùng API trực tiếp
ANTHROPIC_API_KEY=sk-ant-...
ANTHROPIC_BASE_URL=https://api.anthropic.com   # hoặc FCI endpoint

# Hoặc config trong Settings UI → Provider → Paste API key

Workflow Design GUI — Từng bước

BƯỚC 1 — Chọn Design System (Brand)

150 DESIGN.md systems có sẵn. Với CoworkAthon/FPT projects:

# List available design systems
od search-files "design system"

# Dùng trong Desktop App: Settings → Design System → Chọn từ picker
# Recommended cho AI/tech products:
#   - linear-app (clean, developer-friendly)
#   - vercel (dark mode first, minimal)
#   - notion (readable, content-heavy)
#   - claude (Anthropic native look)
#   - default (Neutral Modern - safe choice)

Tạo custom DESIGN.md cho project:

# MyProject DESIGN.md

## Colors
primary: #0066FF
background: #FFFFFF
text: #1A1A1A
accent: #FF4500

## Typography
heading: "Inter", sans-serif, 32px/40px bold
body: "Inter", sans-serif, 16px/24px regular

## Spacing
base: 8px
section: 48px

## Components
button: rounded-8, primary bg, white text, 16px padding H
card: white bg, 1px border #E5E5E5, 12px radius, 24px padding

## Anti-patterns
- No drop shadows on flat UI
- No rainbow gradients
- No Comic Sans or decorative fonts

→ Save vào design-systems/myproject/DESIGN.md


BƯỚC 2 — Chọn Skill (Loại output)

Skill Dùng khi Brief example
web-prototype Landing page, hero section "AI cowork dashboard homepage với sidebar nav và chat panel"
saas-landing Marketing page, SaaS "Landing cho FCI API service: hero + features + pricing"
dashboard Admin, analytics, KPI "Dashboard quản lý task team với charts và status cards"
mobile-app Mobile UI, app screens "Chat app screen với message list và input bar (iPhone 15 Pro)"
mobile-onboarding Onboarding flow "3-screen onboarding cho AI cowork app"
guizang-ppt Pitch deck, slides "Demo deck CoworkAthon 2026 - 8 slides"
email-marketing Email template "Welcome email cho FCI API users"
pm-spec Product spec doc "PRD cho AI cowork feature"
eng-runbook Technical doc "Runbook cho FCI deployment"
live-dashboard Interactive dashboard "KPI dashboard với live tweaks panel"

BƯỚC 3 — Chạy trong Desktop App

Cách 1 — Web UI (dễ nhất):

1. Mở http://localhost:7456
2. Click "New Project"
3. Chọn Skill từ picker (ví dụ: web-prototype)
4. Chọn Design System (ví dụ: linear-app)
5. Type brief: "AI cowork chat interface with sidebar, message list, 
   input box. Dark sidebar, white main area."
6. Agent streams artifact vào iframe → preview ngay
7. Iterative: type follow-up để refine

Cách 2 — od CLI:

# Apply skill trực tiếp
od plugin apply web-prototype \
  --brief "AI cowork dashboard với sidebar nav, chat panel, streaming responses" \
  --design-system linear-app

# Kết quả: artifact HTML tại http://localhost:7456/artifacts/<id>

Cách 3 — Trong Claude Code (sau khi MCP install):

> Use open-design to generate a dashboard UI with the Linear design system.
  Brief: team task manager with kanban board, member list, and progress charts.

BƯỚC 4 — Iterate và Refine

Sau khi artifact được generate, refine bằng follow-up prompts:

# Thêm component
"Add a notification bell icon in the top-right corner"

# Thay màu
"Change the sidebar to dark (#1A1A1A) with white text"

# Thêm màn hình
"Add a second screen showing the task detail view"

# Fix layout
"Make the main content area scrollable, keep sidebar fixed"

# Apply tweaks panel
od plugin apply tweaks   # AI emit tweaks panel → kéo slider để refine mà không re-generate

BƯỚC 5 — Export

# HTML (default, inline assets)
od plugin apply web-prototype --brief "..." --export html
# → output: ./artifacts/myproject/index.html

# PDF
od plugin apply web-prototype --brief "..." --export pdf
# Cần Chrome local

# PPTX (cho deck)
od plugin apply guizang-ppt --brief "..." --export pptx

# ZIP (tất cả assets)
od plugin apply web-prototype --brief "..." --export zip

# MP4 (chỉ cho hyperframes skill)
od plugin apply hyperframes --brief "30s SaaS promo video" --export mp4

od CLI — Full Command Reference

# === SETUP ===
od mcp install claude          # Wire MCP vào Claude Code
od mcp install cursor          # Wire vào Cursor
od mcp install codex           # Wire vào Codex
od mcp install --print         # Dry-run preview
od mcp install --uninstall     # Remove

# === PLUGIN COMMANDS ===
od plugin list                              # List installed plugins
od plugin list --mode prototype             # Filter by mode
od plugin search "landing page"             # Search by keyword
od plugin info od-default                   # Chi tiết plugin
od plugin install od-figma-migration        # Install từ registry
od plugin install ./my-local-plugin         # Install local folder
od plugin apply <plugin-id>                 # Run plugin
od plugin apply web-prototype \
  --brief "..."                             # Run với brief
od plugin apply web-prototype \
  --brief "..." \
  --design-system linear-app               # Run với design system
od plugin upgrade od-default                # Upgrade
od plugin uninstall od-default              # Uninstall

# === FILE/PROJECT COMMANDS ===
od search-files "primary button"            # Tìm trong project files
od get-file design-systems/linear/DESIGN.md # Đọc file cụ thể
od get-artifact <slug>                      # Get latest artifact

# === SKILL AUTHORING ===
od plugin scaffold --id my-plugin \
  --title "My Custom Plugin"               # Tạo skeleton
od plugin validate ./my-plugin             # Validate manifest

Design System — 150 Systems Có Sẵn

Chọn theo category:

Category Recommended Systems
AI/Tech claude · openai · mistral-ai · ollama · vercel
Dev Tools cursor · linear-app · supabase · posthog · sentry
Productivity notion · figma · airtable · raycast
SaaS/B2B stripe · intercom · zapier
Consumer spotify · airbnb · uber · pinterest
Automotive tesla · bmw · ferrari
Neutral default (Neutral Modern) · warm-editorial

Tạo brand riêng từ screenshot/Figma:

# Trong Desktop App hoặc Claude Code:
"Drop a screenshot or Figma export, then ask the agent to 
 extract a brand into a DESIGN.md file"

# CLI approach:
od get-file design-systems/default/DESIGN.md  # Xem template
# Copy và modify 9 sections: color, typography, spacing, layout,
# components, motion, voice, brand, anti-patterns
# Save vào design-systems/<your-brand>/DESIGN.md

Skills Catalog — Top Picks

Prototype Skills

od plugin apply web-prototype        # Landing page / hero
od plugin apply saas-landing         # SaaS marketing page
od plugin apply dashboard            # Admin với sidebar
od plugin apply mobile-app           # Mobile UI (iPhone/Pixel frame)
od plugin apply mobile-onboarding    # Multi-screen onboarding flow
od plugin apply social-carousel      # 3-card 1080x1080 carousel
od plugin apply email-marketing      # Table-safe brand email
od plugin apply magazine-poster      # Single-page magazine layout
od plugin apply motion-frames        # CSS looping motion hero

Deck Skills

od plugin apply guizang-ppt          # Magazine-style web PPT (default deck)
# 15 deck templates × 36 themes:
od plugin apply html-ppt-swiss       # Swiss grid, monochrome
od plugin apply html-ppt-editorial   # Editorial magazine layout

Document Skills

od plugin apply pm-spec              # PM spec doc với TOC
od plugin apply team-okrs            # OKR scorecard
od plugin apply eng-runbook          # Incident runbook
od plugin apply finance-report       # Exec finance summary

Utility Skills

od plugin apply critique             # 5-dim design critique scoresheet
od plugin apply tweaks               # AI tweaks panel (kéo slider refine)
od plugin apply live-dashboard       # KPI wall với editable tweaks panel

Code Export Plugins (Scenarios)

od plugin apply od-react-export      # Export → React components
od plugin apply od-nextjs-export     # Export → Next.js pages
od plugin apply od-vue-export        # Export → Vue components
od plugin apply od-figma-migration   # Figma → React/Next/Vue code
od plugin apply od-code-migration    # Refresh existing codebase → brand spec

Tích Hợp với Claude Code (MCP)

# 1. Install MCP server vào Claude Code
od mcp install claude
# → Tạo ~/.config/claude/open-design.json tự động

# 2. Trong Claude Code chat, gọi trực tiếp:
> Use open-design to generate a landing page with the Vercel design system.
  Brief: developer tool homepage with hero, 3 feature cards, and pricing table.

> Use open-design skill dashboard with linear-app design system.
  Brief: team productivity dashboard showing tasks, members, and velocity chart.

# 3. Agent tự:
#    - Đọc skill từ skills/
#    - Bind DESIGN.md
#    - Stream <artifact> → preview tại http://localhost:7456

Prompt Patterns Hiệu Quả

Pattern 1 — Screen Description

Brief: "[Screen name] screen for [app type]. 
Contains: [component 1], [component 2], [component 3].
Style: [adjective 1], [adjective 2].
Color: [primary color] primary, [bg color] background."

Ví dụ:

Brief: "Chat screen for AI cowork app. 
Contains: left sidebar with conversation list, main chat area with message bubbles, 
bottom input bar with send button, streaming indicator.
Style: clean, professional, minimal.
Color: #0066FF primary, white background, #F5F5F5 sidebar."

Pattern 2 — Component Focus

Brief: "Design a [component] that shows [data].
States: [state 1], [state 2].
Interaction: [hover/click/active behavior]."

Pattern 3 — Reference-based

Brief: "Similar to [reference app] but for [use case].
Key difference: [what's different]."

Pattern 4 — Iterative Refine

Turn 1: "Create a dashboard layout with sidebar and main content"
Turn 2: "Add 4 KPI cards at the top with icons"
Turn 3: "Make the sidebar collapsible with a toggle button"
Turn 4: "Change color scheme to match the Linear design system"

Anti-Patterns Cần Tránh

Anti-pattern Vấn đề Fix
Brief quá ngắn ("make a dashboard") Output generic, boring Mô tả components cụ thể + use case
Không chọn Design System Output vô brand Luôn pick design system trước
Regenerate từ đầu khi muốn sửa Tốn token, mất context Dùng follow-up prompt + tweaks panel
Export ngay lần đầu Chưa review Preview iframe trước, iterate, rồi export
Copy-paste code từ iframe Fragile Dùng od plugin apply od-react-export
Dùng generic brief cho deck Slides vô nội dung Cung cấp đủ content bullets cho từng slide

Quick Reference cho CoworkAthon / Hackathon

Với 7 ngày hackathon, workflow nhanh nhất:

# Ngày 1 — Setup + Design System
od mcp install claude
# Tạo design-systems/coworkathon/DESIGN.md

# Ngày 1–2 — Core UI Screens
od plugin apply dashboard \
  --brief "AI cowork main dashboard: sidebar nav, chat panel, task list" \
  --design-system coworkathon

od plugin apply web-prototype \
  --brief "Chat interface with streaming message support, agent status indicator" \
  --design-system coworkathon

# Ngày 2–3 — Iterate
# Follow-up prompts để refine từng component

# Trước demo
od plugin apply od-react-export   # Nếu cần React components
# Hoặc export HTML trực tiếp cho demo

Resources

04 同仓库更多 Skills