Logo Ux Inputs And Forms

Ux Inputs And Forms

Tổ chức
Uxcel-Lab
ux-inputs-and-forms

Thiết kế hoặc đánh giá biểu mẫu và trường nhập liệu — chọn trường, đặt nhãn, bố cục, xác thực, trạng thái lỗi và gửi biểu mẫu. Áp dụng các nguyên tắc luôn đúng (dùng ít trường, bố cục một cột, đặt nhãn bên ngoài ô nhập liệu, xác thực ngay trong dòng) và chỉ dùng các tùy chọn như chia thành nhiều bước, nhãn nổi và giá trị mặc định thông minh khi phù hợp. Kích hoạt khi người dùng muốn thiết kế, xây dựng hoặc đánh giá biểu mẫu, các trường đăng ký/thanh toán/khảo sát, xác thực dữ liệu nhập hoặc thông báo lỗi.

Add to TypingMind

Tổng quan

Nhà phát hànhUxcel-Lab
Kho mãproduct-skills
Tên kỹ năngux-inputs-and-forms
Sao
35
Bản fork
8
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 Uxcel-Lab 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 Inputs And Forms 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/Uxcel-Lab/product-skills/tree/main/ux/components/inputs-and-forms
  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/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/components/inputs-and-forms .claude/skills/ux-inputs-and-forms
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 Inputs And Forms 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 Inputs And Forms 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 Inputs And Forms 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.

Inputs & Forms Skill

How this skill behaves (read first)

This is a generative skill. The default failure modes: over-asking (every field that might be useful, all required), mislabeling (placeholders as labels, jargon, unmarked optionals), and validating late (errors dumped in a modal at submit). The fix is not "apply every form pattern" — helper text, tooltips, progress bars, and multi-step splitting everywhere produce a bloated form. So this skill gates:

  1. Establish context — what the form collects, why each field is needed, platform, and length.
  2. Apply the always-true core — minimal fields, scannable single-column layout, persistent labels, the right input type per field, inline validation.
  3. Surface the context-dependent decisions (multi-step, floating labels, helper text, pickers, smart defaults) with trade-offs.

Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, ux-microcopy-audit, and ux-dark-patterns-audit for validation.


Step 0 — Establish context before designing

Ask if not known; state the assumption if proceeding without an answer:

  • What does each field buy? For every field, name who uses the data and for what. A field with no answer gets cut — the single highest-leverage form decision.
  • Platform — mobile demands contextual keypads, ≥38px touch areas, a submit button that stays in sight while scrolling, one-handed reachability.
  • Length & stakes — a 3-field newsletter signup and a multi-page checkout need different structure (steps, progress, error summaries).
  • Sensitivity — phone numbers, payment, IDs: users ask "why do you need this?" — plan the justification (helper text) and expect dark-patterns scrutiny on anything beyond task needs.

The always-apply core (correct for almost every case)

Ask less

  • Remove every field the task doesn't require. Shorter forms complete more; the system shouldn't ask for what it can detect or already knows (autofill known data, support browser autocomplete, auto-detect country/locale).
  • Mark required and optional fields — asterisk (before the label in LTR; not pale gray) for required, "(optional)" in the label for optional.
    • ❌ Ten required fields, no explanation ✅ Five fields, one marked "(optional)", helper text on the sensitive one

Layout for scanning

  • One column, top to bottom. Multi-column forms cause skipped fields, wrong-field entries, and abandonment (Baymard). Natural reading flow wins.
  • Labels above inputs, outside the input, always visible. Never placeholder-as-label: it disappears on focus, strains memory, and looks like filled data. Placeholders only give example values, visibly muted.
  • Group related fields (personal / billing / shipping) with headings and spacing — proximity does the structure: label-to-its-input gap < input-to-next-field gap; spacing between groups > spacing within.
  • Visible input boundaries — borderless "minimal" inputs make users hunt for where to type. Input height ~32–40px, text ≥16px, labels ~13–14px, traditional restrained styling.

Pick the input type from the data

  • Single-line for short answers; multi-line/text area for prose; password with a show/hide toggle; search with auto-suggest; select/dropdown only for long lists — up to ~5 options use radio buttons (single choice) or checkboxes (multiple); input masks wherever format matters (phone, date, card) — accept any way users type and format it for them; contextual keypads on mobile (numeric pad for numbers); OTP inputs that support paste and auto-fill.
  • Date fields: match the picker to the task — text input + mask for known dates (birth date), calendar picker for near-future scheduling (booking).

Validate inline, kindly

  • Validate on blur, not on every keystroke and not at submit. Let users finish typing; check when focus leaves the field. (Exception: live requirement checklists for new passwords.)
  • Error messages sit at the erroneous input (right side or directly below — never only at the top), in plain, polite, specific language: what happened + how to fix it, ideally one line, never truncated. Color + icon + text — never color alone.
  • Keep the error state visible until the input is actually valid, not just until the user starts typing.
  • Prevent before you correct: constraints, forgiving formats, and masks beat error messages.

Submission is part of the form

  • Primary button always in sight (below the fields; fixed on long mobile forms), labeled with the action — finish the user's sentence "I want to…": ❌ "Submit" ✅ "Subscribe" / "Place order" / "Create account".
  • Button hierarchy: primary visually dominant; "Cancel"/"Back" subdued; enough spacing that the wrong button can't be hit by accident. Touch target ≥1×1cm (~38px+).
  • Show all three states: loading after submit, a clear success message, and a polite, informative failure message (mind security: don't reveal which credential was wrong).

The context-dependent decisions (surface, don't auto-apply)

Present each with its trade-off and a recommendation tied to Step 0. Applying all of these to a 4-field form is the bloat failure mode.

DecisionApply whenAvoid / adapt whenDefault recommendation
Multi-step + progress tracker≥3 logical steps (checkout, surveys); keeps each page digestibleShort forms — splitting adds clicks; >5–6 steps overwhelmsSingle page until grouping alone stops working
Floating labelsSpace-tight layouts wanting label + example in one slotComplex/rarely-used forms where a permanent label is saferStatic labels above inputs; floating labels as a space-saving variant
Helper textSensitive fields ("why do you need my phone?"), nuanced requirements (password rules)Every field "just in case" — noise that buries the signalOnly where users predictably hesitate; one line max
Icons / tooltips for guidanceVisual questions (CVV location) where a picture beats wordsTooltip-only help on mobile (extra tap, unreliable hover)Icon first; tooltip as a supplement, not the sole carrier
Auto-suggest / incremental searchLong option lists (countries); bold the matched charactersShort lists where radio/checkboxes are fasterAuto-suggest for any list users would have to scroll
Smart defaults / auto-detectionGeo-detect country, prefill known data — fewer actionsDefaults that look like a choice the user made (consent, marketing opt-ins — dark-patterns territory)Prefill facts, never decisions
Single full-name fieldReducing friction; more inclusive across culturesThe product must reliably split first/last nameOne name field unless the data model truly needs two
Error summary at topLong forms where multiple errors may be off-screen; each item links to its fieldShort forms — inline messages sufficeInline always; summary added for long forms
CAPTCHA / verificationAbuse is real; prefer accessible alternatives (magic links, OTP, passkeys)Distorted-text CAPTCHAs; blocking paste in password fieldsRisk-based, accessible verification; never block paste
Left-side labelsExtremely long desktop forms where vertical space is scarceMobile, mixed label lengths, anything responsiveLabels above inputs

Validate the result (orchestration)

Hand-offs name each lens by its installable skill name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.

After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics, microcopy, and dark-patterns are Tier A (auto-run); accessibility, aesthetics, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.

  • ux-heuristics-audit (Tier A) — visibility of system status (states, loading, success), error prevention, user control, recognition over recall.
  • ux-accessibility-audit (Tier B — offer; narrow under a design system) — keyboard operability and focus indicators, label/contrast minimums, aria-describedby error linking, multi-cue error states, accessible authentication.
  • ux-aesthetics-audit (Tier B — offer; suppress under a design system) — spacing rhythm, grouping clarity, whether "minimal" styling destroyed input affordance.
  • ux-microcopy-audit (Tier A) — label clarity, helper-text brevity, error-message tone and specificity, action-button phrasing.
  • ux-dark-patterns-audit (Tier A) — over-collection of personal data, pre-checked opt-ins, sneaky defaults, required fields that should be optional.
  • ux-mobile-responsiveness-audit (Tier B — offer; applies only on mobile) — when the context is mobile: keypads, touch areas, fixed submit, one-handed reach.

If the audits surface a conflict (e.g., marketing wants more fields vs. completion rate), resolve back toward the primary task: the user came to finish something — every field and interruption must earn its cost.


Common do/don't patterns

❌ Don't✅ Do
Ask for everything that might be useful somedayEvery field justified by who uses the data and why
Placeholder text as the only labelPersistent label above the input; placeholder = example only
Two-column field grid to "save space"One column, logical groups, natural reading flow
Dropdown for a 3-option choiceRadio buttons (single) / checkboxes (multiple) under ~5 options
Force a strict typing format ("no dashes!")Forgiving formats + input masks that format for the user
Validate on every keystroke, or only at submitValidate on blur; live checklist only for password creation
Error modal at the top listing field numbersSpecific, polite message at the erroneous input (+ summary only on long forms)
Generic "Submit" on everythingContextual action labels: "Create account," "Place order"
Submit with no feedbackLoading → success/failure states, always
Pre-checked marketing opt-in as a "smart default"Prefill facts, never decisions (→ dark-patterns)
Ship without checkingHand off to heuristics + accessibility + aesthetics + microcopy + dark-patterns

Source lessons (Uxcel)

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

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

Thiết kế hoặc đánh giá biểu mẫu và trường nhập liệu — chọn trường, đặt nhãn, bố cục, xác thực, trạng thái lỗi và gửi biểu mẫu. Áp dụng các nguyên tắc luôn đúng (dùng ít trường, bố cục một cột, đặt nhãn bên ngoài ô nhập liệu, xác thực ngay trong dòng) và chỉ dùng các tùy chọn như chia thành nhiều bước, nhãn nổi và giá trị mặc định thông minh khi phù hợp. Kích hoạt khi người dùng muốn thiết kế, xây dựng hoặc đánh giá biểu mẫu, các trường đăng ký/thanh toán/khảo sát, xác thực dữ liệu nhập hoặc thông báo lỗi.

Vì sao nên dùng Ux Inputs And Forms 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 Inputs And Forms 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 Inputs And Forms trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/inputs-and-forms. 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 Inputs And Forms?

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 Inputs And Forms 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 Inputs And Forms 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 Inputs And Forms có miễn phí không?

Có. Kỹ năng này được Uxcel-Lab 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 👇