Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)260k · #476

sketch

Skill này làm gì

Skill dựng nhanh các phiên bản HTML tương tác, dùng một lần, của một màn hình, thường là hai hoặc ba bản, để bạn so sánh bố cục cạnh nhau. Phù hợp với người đang quyết định giao diện nên trông ra sao trước khi xây dựng thật.

Khi nào nên dùng

  • ✓Khi bạn muốn xem vài hướng thiết kế cho một màn hình trước khi chọn một.
  • ✓Khi bạn muốn so sánh bố cục A với bố cục B.
  • ✓Khi bạn muốn một bản mẫu nhanh trước khi ai đó viết code sản xuất.

Liên kết skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/sketch/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/sketch/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phác thảo ba bố cục khác nhau cho trang giá của chúng tôi để tôi so sánh trước khi xây dựng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent viết hai hoặc ba biến thể HTML độc lập của cùng một ý tưởng, mỗi biến thể theo một hướng khác nhau. Bạn mở chúng ra để so sánh, và mã được xem là dùng một lần.

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.

Sketch

Use this skill when the user wants to see a design direction before committing to one — exploring a UI/UX idea as disposable HTML mockups. The point is to generate 2-3 interactive variants so the user can compare visual directions side-by-side, not to produce shippable code.

Load this when the user says things like "sketch this screen", "show me what X could look like", "compare layout A vs B", "give me 2-3 takes on this UI", "let me see some variants", "mockup this before I build".

When NOT to use this

  • User wants a production component — use claude-design or build it properly
  • User wants a polished one-off HTML artifact (landing page, deck) — claude-design
  • User wants a diagram — excalidraw, architecture-diagram
  • The design is already locked — just build it

If the user has the full GSD system installed

If gsd-sketch shows up as a sibling skill (installed via npx get-shit-done-cc --hermes), you can use gsd-sketch for the fuller workflow: persistent .planning/sketches/ with MANIFEST, frontier mode analysis, consistency audits across past sketches, and integration with the rest of GSD. This skill is the lightweight standalone version — one-off sketching without the state machinery.

Note: The upstream GSD project (gsd-build/get-shit-done) is archived / no longer maintained on GitHub. The npm package (get-shit-done-cc) still installs, but treat it as an archived community project — this standalone sketch skill is the maintained path and needs nothing extra.

Core method

intake  →  variants  →  head-to-head  →  pick winner (or iterate)

1. Intake (skip if the user already gave you enough)

Before generating variants, get three things — one question at a time, not all at once:

  1. Feel. "What should this feel like? Adjectives, emotions, a vibe." — "calm, editorial, like Linear" tells you more than "minimal".
  2. References. "What apps, sites, or products capture the feel you're imagining?" — actual references beat abstract descriptions.
  3. Core action. "What's the single most important thing a user does on this screen?" — the variants should all serve this well; if they don't, they're just decoration.

Reflect each answer briefly before the next question. If the user already gave you all three upfront, skip straight to variants.

2. Variants (2-3, never 1, rarely 4+)

Produce 2-3 variants in one go. Each variant is a complete, standalone HTML file. Don't describe variants — build them. The point is comparison.

Each variant should take a different design stance, not different pixel values. Three good variant axes:

  • Density: compact / airy / ultra-dense (pick two contrasting poles)
  • Emphasis: content-first / action-first / tool-first
  • Aesthetic: editorial / utilitarian / playful
  • Layout: single-column / sidebar / split-pane
  • Grounding: card-based / bare-content / document-style

Pick one axis and pull apart from it. Two variants that differ only in accent color are wasted effort — the user can't distinguish them.

Variant naming: describe the stance, not the number.

sketches/
├── 001-calm-editorial/
│   ├── index.html
│   └── README.md
├── 001-utilitarian-dense/
│   ├── index.html
│   └── README.md
└── 001-playful-split/
    ├── index.html
    └── README.md

3. Make them real HTML

Each variant is a single self-contained HTML file:

  • Inline <style> — no build step, no external CSS
  • System fonts or one Google Font via <link>
  • Tailwind via CDN (<script src="https://cdn.tailwindcss.com"></script>) is fine
  • Realistic fake content — actual sentences, actual names, not "Lorem ipsum"
  • Interactive: links clickable, hovers real, at least one state transition (open/close, filter, toggle). A frozen static image is a worse spike than a sloppy animated one.

Open it in a browser. If it looks broken, fix it before showing the user.

Verify variants visually — use Hermes' browser_exec. Don't just write HTML and hope it renders; load each variant and look at it:

browser_exec(code='''
# Checking sketch 001 renders cleanly
new_tab("file:///absolute/path/to/sketches/001-calm-editorial/index.html")
wait_for_load()
capture_screenshot()
''')

Look at the attached screenshot and ask: does this layout look clean and readable, any visible bugs (overlapping text, unstyled elements, broken images)? (non-vision models: `visi

Câu hỏi thường gặp

Kết quả có phải code sản xuất không?

Không. Skill nói mã này dùng một lần và chỉ để so sánh các hướng thiết kế.

Nếu tôi muốn một trang landing hoàn chỉnh thì sao?

Skill gợi ý skill claude-design cho các trang một lần hoàn chỉnh, vì skill này khá nhẹ.

Có hoạt động với skill sketch GSD đầy đủ hơn không?

Nếu skill gsd-sketch đã được cài, skill này gợi ý dùng nó để có quy trình hoàn chỉnh hơn.

Chi tiết

Mô tả gốc của tác giả

Throwaway HTML mockups: 2-3 design variants to compare.

repo: NousResearch/hermes-agent

Độ phổ biến

Sao GitHub
260k
Vị trí xếp hạng
#476
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự