design
Skill này làm gì
Skill này viết một bản brief thiết kế cho sản phẩm hoặc giao diện và giữ nó trong kho mã. Skill dành cho các nhóm muốn lựa chọn thiết kế được ghi lại và chia sẻ.
Khi nào nên dùng
- ✓Khi một quyết định về sản phẩm hoặc giao diện cần một nguồn thông tin bằng văn bản duy nhất.
- ✓Khi một tính năng cần bản brief thiết kế trước khi nhà thiết kế hoặc lập trình viên bắt đầu.
- ✓Khi các màn hình hoặc tài nguyên hiện có cần một bản tóm tắt thiết kế có thể hành động.
Liên kết skill
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/design/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một file DESIGN.md cho ứng dụng của chúng tôi, bao gồm người dùng, bố cục và các thành phần.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill xem lại dự án hiện có và mọi tài nguyên thiết kế, chỉ lấp các khoảng trống ngữ cảnh thật sự quan trọng, rồi viết DESIGN.md. File ghi lại mục tiêu, người dùng, ngôn ngữ thị giác, thành phần, khả năng tiếp cận và các câu hỏi còn mở.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Design Skill
Use $design to discover product and UI evidence, close only design-critical context gaps, and create or refresh the repository’s durable DESIGN.md contract. It is a maintained design brief, not a pixel-matching loop or one-off critique.
Shared operating, delegation, state, hook, team, cancellation, and verification invariants live in templates/AGENTS.md. Follow that source instead of duplicating its rules here.
Use when
- Product, UX, frontend, or design-system decisions need a repo-local source of truth.
- A feature needs a design brief before a designer lane or implementation.
- Existing UI, assets, screenshots, or constraints need an actionable design summary.
Do not use it for visual-reference implementation matching (use $visual-ralph), screenshot comparison alone, or backend/infrastructure work without user-facing design impact.
Relationship to $visual-ralph
$design owns product goals, users, information architecture, visual language, components, accessibility, constraints, and open questions in DESIGN.md. $visual-ralph owns implementation against an approved visual reference or live-URL baseline, measured verdicts, and pixel-diff evidence. Run $design first when both are needed; DESIGN.md supports but does not replace the visual verdict target.
Workflow
1. Discover local evidence
Inspect and cite existing DESIGN.md, design/UX/frontend docs, README/specs/issues, routes/pages/layouts/components/stories, theme and token files, assets, screenshots/mockups, Storybook or Playwright baselines, and accessibility/responsive/i18n/platform constraints. Separate observations from inferences; note absent evidence.
2. Interview only missing context
Ask concise questions only for gaps the repository cannot resolve: users/jobs, goals/non-goals, brand personality and forbidden aesthetics, primary flows, accessibility/device/browser targets, or unavailable assets/references. If answers are unavailable, record explicit assumptions and open questions rather than blocking.
3. Create or refresh DESIGN.md
Preserve useful content, remove contradictions, mark unknowns, and keep decisions actionable. The root file must contain these sections:
Design
Source of truth
Status (Draft | Active | Needs refresh), date, product surfaces, evidence reviewed.
Brand
Personality, trust signals, avoid.
Product goals
Goals, non-goals, success signals.
Personas and jobs
Primary personas, user jobs, contexts of use.
Information architecture
Navigation, routes/screens, content hierarchy.
Design principles
Principles and tradeoffs.
Visual language
Color, typography, spacing, shape/elevation, motion, imagery/iconography.
Components
Existing/new components, variants/states, token ownership.
Accessibility
Target standard, keyboard/focus, contrast, semantics, reduced motion/sensory concerns.
Responsive behavior
Breakpoints/devices, layout adaptations, touch/hover differences.
Interaction states
Loading, empty, error, success, disabled, offline/slow network where applicable.
Content voice
Tone, terminology, microcopy rules.
Implementation constraints
Framework/styling, tokens, performance, compatibility, test/screenshot expectations.
Open questions
[ ] question, owner, and impact.
4. Apply the contract
Before UI decisions, cite relevant DESIGN.md sections, reuse documented components/tokens, and update the file or add an open question when implementation exposes a contradiction. Do not invent a parallel design-system layer.
5. Handoff
For normal frontend work, provide the relevant sections, repo evidence, and acceptance criteria. For visual-reference, image, or live-URL matching, hand off to $visual-ralph with the approved baseline and identify DESIGN.md as supporting context only.
Evidence and completion
Complete only when design docs/assets/components/screenshots were inspected or noted absent; missing context is answered, assumed, or listed; root DESIGN.md contains every required section; recommendations cite it; and any Visual Ralph handoff is clearly separated from design governance.
Task: {{ARGUMENTS}}
Câu hỏi thường gặp
Có giống việc khớp từng điểm ảnh không?
Không. Đây là một bản brief thiết kế được duy trì, không phải vòng lặp cố khớp ảnh chụp màn hình từng điểm ảnh.
Khác gì với skill visual ralph?
Skill này xử lý các quyết định thiết kế, còn skill visual xử lý việc triển khai theo một tham chiếu đã được duyệt.
Nó có bao gồm công việc backend không?
Không. Nó dành cho công việc có tác động thiết kế đến người dùng, không phải backend hay hạ tầng.
Chi tiết
Mô tả gốc của tác giả
Canonical repo-local DESIGN.md workflow for product, UI/UX, and frontend decision source of truth
repo: Yeachan-Heo/oh-my-codex
Độ phổ biến
- Sao GitHub
- 34k
- Vị trí xếp hạng
- #8418
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-slop-cleaner
34kGiúp agent của bạn dọn dẹp mã cồng kềnh, lặp lại hoặc do AI tạo ra bằng cách loại bỏ mã chết và các lớp bọc không cần thiết, đồng thời giữ nguyên hành vi.
analyze
34kGiúp agent của bạn trả lời một câu hỏi về mã nguồn bằng cách đọc các đoạn mã liên quan và báo cáo các giải thích được xếp hạng kèm bằng chứng, mà không thực hiện thay đổi nào.
ask
34kCho phép agent của bạn hỏi một công cụ dòng lệnh Claude hoặc Gemini đã cài sẵn trên máy để lấy ý kiến thứ hai hoặc đánh giá, rồi lưu câu trả lời thành file.
autopilot
34kChạy một dự án trọn gói, không cần can thiệp, từ ý tưởng qua yêu cầu, lập kế hoạch và thực hiện, chỉ tạm dừng khi gặp trở ngại thật sự.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.