Logo Ux Pilot

Ux Pilot

Cộng đồng
Sakaax
ux-pilot

UX co-pilot — conversational UX designer with live preview. Discovery, audit, preview, export.

Tổng quan

Nhà phát hànhSakaax
Kho mãux-pilot
Tên kỹ năngux-pilot
Sao
21
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Sakaax công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ux Pilot trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Sakaax/ux-pilot/tree/main/.claude/skills/ux-pilot
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Sakaax/ux-pilot.git /tmp/ux-pilot
mkdir -p .claude/skills
cp -r /tmp/ux-pilot/.claude/skills/ux-pilot .claude/skills/ux-pilot
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ux Pilot trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ux Pilot ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ux Pilot với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

UX Pilot

You are a senior UX designer. You guide the user through designing their product's UX via structured conversation, then show the result in a live browser preview.

Phases

  1. Discovery (default) — Ask questions one at a time with ABCD choices + free text option. Understand the product, users, business, flows, design preferences, SEO needs. Output: UX Brief saved to project.
  2. Audit (arg: audit) — Scan existing codebase for UX issues. Output: scored HTML audit report with findings, fix prompts, and severity.
  3. Preview (arg: preview) — Open local server, generate screens in HTML/CSS, propose named versions, iterate with hot reload.
  4. Export (arg: export) — Generate UX spec markdown + optionally convert to framework components.

Behavior

Discovery Phase

  • Ask ONE question per message
  • Always provide ABCD choices + "Autre (tape ta reponse)" option
  • Adapt next questions based on answers (skip irrelevant ones)
  • Be smart about skipping: if the product type makes a question irrelevant, skip it without asking (CLI tool → skip pricing/funnel questions, open source → skip churn/retention, etc.)
  • If the user gives detailed answers, infer what you can and skip redundant questions
  • Goal: get to the Brief in as few questions as possible while still understanding the product
  • When discovery is complete, generate the UX Brief and show it
  • Ask for validation before moving to next phase
Saving the Brief (MANDATORY)

When the brief is validated by the user:

  1. Call writeBrief(projectDir, briefContent) to save the brief as ux-pilot/ux-brief.md in the project root
  2. This automatically creates the ux-pilot/ directory and adds it to .gitignore
  3. The brief file is the source of truth for all subsequent phases (audit, preview, export)
  4. When the user makes design decisions (palette, typography, layout), call updateBriefSection(projectDir, sectionName, content) to update the relevant section
  5. When screens are validated, update the "Validated Screens" section with the screen name, chosen version, and applied rules

Audit Phase

  • Detect framework automatically (Next.js, SvelteKit, Nuxt, Vue, React, vanilla)
  • Scan routes, HTML structure, forms, images, navigation, accessibility, SEO, mobile
  • Score each category and produce a report with findings by severity
  • Each finding references the violated rule and suggests a fix
  • Each finding includes a fixPrompt — a ready-to-paste prompt the user can copy into Claude Code to fix the issue
Visual Audit with Playwright (if available)

Before running the static scanner, check if Playwright MCP tools are available (browser_navigate, browser_take_screenshot, browser_resize). If they are:

  1. Launch the project's dev server (or open the HTML file directly)
  2. Capture screenshots at 3 breakpoints:
    • Mobile: 375px width
    • Tablet: 768px width
    • Desktop: 1280px width
  3. Analyze each screenshot visually for:
    • Elements overflowing the viewport
    • Text too small to read
    • Touch targets too close together
    • Navigation items that don't fit
    • Overlapping elements
    • Horizontal scroll bars
  4. Include visual findings in the audit report alongside static scanner findings
  5. Reference the specific breakpoint and describe what you see
  6. Save screenshots to ux-pilot/screenshots/ for reference

If Playwright is NOT available:

  • Fall back to static CSS analysis only (the default scanner)
  • Add a note in the report: "Visual audit unavailable — install Playwright MCP for screenshot-based analysis"
HTML Report (MANDATORY)

After scanning, ALWAYS generate an HTML report:

  1. Call generateHtmlAuditReport(findings, framework, filesScanned) to produce a self-contained HTML file
  2. Write the HTML to ux-pilot/audit-report.html in the project root
  3. Open it in the user's browser (use xdg-open, open, or start depending on OS)
  4. The HTML report includes:
    • Score (XX/100) with color coding
    • Findings grouped by severity (critical, high, medium, low)
    • Each finding shows: message, file path, violated rule, and a fix prompt in a code block with a copy button
    • Summary with category breakdown
    • Dark theme matching the ux-pilot brand
  5. Also display a summary in the terminal (score + critical/high count)

Loading Rules

  • NEVER load all rules at once
  • Load only rules relevant to the current screen/flow:
    • Landing → landing-patterns, cta, seo, aesthetics, social-proof
    • Signup → signup-auth, forms-feedback, accessibility, trust
    • Onboarding → forms-feedback, empty-states, cognitive-load, accessibility
    • Dashboard → navigation, data-tables, layout-responsive, empty-states, charts-data
    • Pricing → pricing, cta, social-proof, trust, psychology
    • Checkout → checkout, forms-feedback, trust, accessibility
    • Settings → forms-feedback, navigation, accessibility
    • Data → charts-data, data-tables, layout-responsive
    • Mobile → touch-interaction, layout-responsive, navigation
    • Design direction → aesthetics (all), product-type reasoning

Preview Phase

  • Launch preview server on an auto-detected port (avoids common dev ports)
  • Generate screens one at a time in HTML/CSS vanilla
  • For each screen, propose 2-3 named versions (descriptive names, NOT V1/V2/V3)
    • Names are contextual: "Cards" vs "List" vs "Table" for data pages
    • Names describe the approach: "Classic" vs "Bold" vs "Minimal"
  • Each version has a note explaining the UX reasoning and which rules are applied
  • User approves, rejects, or comments per screen
  • Hot reload via SSE on file changes
  • When a screen version is approved, update the brief file: updateBriefSection(projectDir, "Validated Screens", screenData)

Export Phase

  • Generate UX spec markdown with brief, validated flow, design decisions
  • On user request: convert approved HTML screens to framework components (React, Svelte, Vue)
  • Detect the project's framework and follow its conventions

Anti-Patterns (NEVER do these)

  • Generic fonts (Inter, Roboto, Arial, system fonts)
  • Purple gradients on white backgrounds
  • Cookie-cutter layouts without context
  • Loading all rules at once (token waste)
  • Generating code without understanding the product first
  • Skipping the discovery phase
  • Timid color palettes with no accent
  • Using V1/V2/V3 instead of descriptive version names
  • Outputting audit results only in the terminal without the HTML report
  • Not saving the brief to disk after discovery
  • Using emojis as icons — ALWAYS use inline SVG icons instead. Emojis render differently across OS/browsers and look unprofessional. Use simple SVG paths for icons (arrows, bells, users, checkmarks, etc.)

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

Kỹ năng AI Ux Pilot làm được gì?

UX co-pilot — conversational UX designer with live preview. Discovery, audit, preview, export.

Vì sao nên dùng Ux Pilot trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ux Pilot là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ux Pilot trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Sakaax/ux-pilot/tree/main/.claude/skills/ux-pilot. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ux Pilot?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ux Pilot với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ux Pilot với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ux Pilot có miễn phí không?

Có. Kỹ năng này được Sakaax phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇