Logo Flow Forms

Flow Forms

Cộng đồng
jpoindexter
flow-forms

Dùng khi thiết kế, xây dựng hoặc đánh giá bất kỳ biểu mẫu, quy trình đăng ký, thanh toán, trang cài đặt hay trình hướng dẫn nhiều bước nào — hoặc khi người dùng bỏ dở biểu mẫu, cho biết lỗi khó hiểu hay mất dữ liệu khi quay lại. Skill này cũng được kích hoạt khi quyết định số lượng trường, vị trí nhãn, thời điểm xác thực, cách đánh dấu trường bắt buộc hoặc việc chia biểu mẫu thành nhiều bước.

Tổng quan

Nhà phát hànhjpoindexter
Kho mãux-flow-skills
Tên kỹ năngflow-forms
Sao
5
Bản fork
0
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 jpoindexter 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 Flow 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/jpoindexter/ux-flow-skills/tree/main/skills/flow-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/jpoindexter/ux-flow-skills.git /tmp/ux-flow-skills
mkdir -p .claude/skills
cp -r /tmp/ux-flow-skills/skills/flow-forms .claude/skills/flow-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 Flow 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 Flow 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 Flow 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.

Forms & Multi-Step Wizards

Overview

Every field costs conversion; every ambiguity costs trust. A form is a conversation with one question at a time, not a database schema rendered to screen.

When to Use

  • Any data-entry surface: signup, checkout, onboarding, settings, application forms, filters-as-forms
  • Splitting a long form into a wizard, or deciding whether to
  • Reviewing a form with drop-off, error-rate, or support-ticket problems
  • NOT for: search boxes and single-input inline edits — no form chrome needed
  • NOT for: command palettes and query builders — interaction patterns, not form patterns

The Proven Flow

  1. Entry screen states the deal. Before field one appears: what completing this gets the user, how long it takes, what they'll need (documents, card number, ID). GOV.UK "start pages" list exactly this. For wizards, set scope upfront — "About 5 minutes" beats "Step 1 of 9" for perceived effort. Primary action: a single prominent "Start" button.
  2. One topic per step. Each wizard screen asks about one thing: "Your address," "Payment method," "Delivery options." GOV.UK's "One thing per page" pattern measurably cuts error rates and support calls on citizen-facing services. Never mix identity fields with payment fields on one step. A step can be a single question — that's fine (Typeform's entire model).
  3. Fields render single-column with top-aligned labels. The user completes the step in one vertical scan line, top to bottom. Primary action sits at the bottom of the column, full-width or wide, labeled with the verb and outcome ("Continue," "Pay €49") — never "Submit."
  4. Validation fires on blur. User leaves a field → validate that field → show the inline error directly below it. Once a field has errored, revalidate on every keystroke so the error clears the instant it's fixed. Never validate while the user is still typing into a fresh field — premature "invalid email" after two characters is the most common validation bug. Stripe Checkout's card fields are the reference implementation: silent while typing, error on blur, live-clear on correction.
  5. Submit surfaces all errors at once. On failed submit: preserve every entered value, move focus to the first errored field, and for forms longer than one viewport show an error summary at the top linking to each bad field (GOV.UK error summary — also what screen readers announce). Never reveal errors one-per-submit; users must see the full repair job.
  6. Wizard back is free. Back returns to the previous step with all of its data intact. Data loss on back-navigation is the #1 wizard killer. Persist step data on every step transition — not only at final submit. Browser back should behave like UI back, not eject the user.
  7. Review step before commit. Any wizard with consequences (payment, application, publish) ends with a read-only summary of all answers, each row with a "Change" link that jumps to that step and returns to review afterward. GOV.UK "Check your answers"; every serious checkout's order-review step.
  8. Confirmation screen closes the loop. What just happened, a reference number, what happens next and when, and the single most likely next action. Never dead-end on a bare "Success!" — the moment after completion is peak engagement.

Layout & Structure

Column and label rules

  • Single column, always. Baymard's checkout eye-tracking: multi-column forms cause skipped fields, wrong completion order, and misinterpreted relationships. Only exception: tightly-coupled short fields inline (City / Postcode, Expiry / CVC, First / Last if you must split names).
  • Labels above fields, left-aligned, 4–8px above the input. Not left-of-field (breaks the vertical scan line and wraps badly on mobile). Never placeholder-as-label — it vanishes on focus, fails recall mid-entry, fails WCAG, and breaks autofill review.
  • Placeholders are for format hints only ("DD/MM/YYYY") — and visible hint text below the label beats even that, since it survives focus.
  • Field width signals expected answer length: postcode short, address line long, CVC tiny. Uniform full-width inputs delete a useful cue.
  • One primary button per screen. Secondary actions (Back, Save for later) visually quieter, placed left of or below the primary. Back is a link or ghost button, never a twin of Continue.

Field discipline

  • Every field must justify itself against conversion cost. Baymard: the average checkout can cut roughly half its fields. Defaults to cut: "Confirm email" (echo the typed value prominently instead), "Confirm password" (show-password toggle instead), separate First/Last name where a single "Full name" is legally sufficient, phone number unless you will actually call, company/title fields on consumer products.
  • Run the Question Protocol on every field before it ships (Silver): why are you asking this, and what happens if you don't get an answer? A registration form doesn't need first name, last name, and email to create an account — if you need the name later, ask then. This one habit routinely halves a form's field count without resorting to space-saving tricks. Apply it before reaching for clever UI, not instead of cutting fields.
  • Mark optional, not required. When most fields are required — which should be true — append "(optional)" to the label of the exceptions. Asterisks force users to learn a legend and add noise to every label ("optional" beats a symbol nobody can decode without hunting for its legend — Silver, citing Luke Wroblewski). If most of your fields are optional, the form is too long.
  • Progressive profiling: anything not needed to complete this transaction moves to a later, contextual ask.
  • Never pre-check consent, marketing, or add-on checkboxes. Pre-select only genuinely most-common neutral options (country from locale, standard shipping).

Input mechanics (platform-specific where noted)

  • Web: correct type (email, tel, url), inputmode="numeric" for codes, and autocomplete tokens on every field (given-name, postal-code, cc-number, one-time-code). Browser autofill is the single biggest form-speed win available; breaking it with custom inputs is self-sabotage.
  • iOS/Android: matching keyboard type per field; iOS inputs ≥16px font size or Safari zooms on focus.
  • Touch targets ≥44pt (iOS) / 48dp (Android) — ~44px CSS on web.
  • Radio group / segmented control for 2–4 options — a dropdown hides options that would fit on screen and costs an extra interaction.
  • Autocomplete combo box for huge lists (country, bank) — never a 200-item dropdown.
  • Date of birth: three plain inputs (DD / MM / YYYY) or one masked field. Never a calendar picker — nobody scrolls to 1987 — and never scroll wheels on web.
  • Phone/card numbers: auto-format as typed (spaces in card numbers), accept pasted input with any formatting, never reject a value you could normalize (Postel's law at the field level).

When to split into a wizard

  • Split when: >1 topic, >~7 fields, later questions depend on earlier answers (branching), or the form needs a save-and-resume lifecycle.
  • Stay single-page when: ≤7 fields on one topic (login, simple contact), or expert users repeat the form daily (data-entry staff want one dense page, not steps).
  • Branching earns wizards their keep: ask the discriminating question early ("Business or personal?") and skip irrelevant steps entirely — never show fields the user's earlier answers made moot.
  • Never split to make each screen "feel simple" while tripling total taps — steps must map to real topic boundaries.

Wizard mechanics

  • Default to no progress bar; earn it with research. Silver: GOV.UK's Carer's Allowance team removed a 12-step progress bar with no effect on completion rates or time. A visual bar costs mobile screen space, is hard to make accessible in a small viewport, and actively lies once the flow branches — a bar that promises "4 steps" can't honestly represent a path that skips payment for in-store collection. Ship the flow without one first; add it only if usability testing shows users get lost.
  • If you do add one, put the step text in the heading first, cheaper and more accessible than a bar: <h1>Payment (Step 3 of 4)</h1> (Silver). If research justifies a visual bar too, keep the step text inside the <h1> (visually hidden via a .visually-hidden class, not display:none) so screen readers get it, and mark the decorative bar aria-hidden="true" so it isn't announced twice.
  • Progress indicator for ≥3 steps, once justified: labeled steps ("2 of 4 — Payment"), current step visually distinct, completed steps clickable to revisit where safe. Unlabeled numbered dots help nobody.
  • Step count honesty: conditional steps shouldn't make the total jump around; show ranges or recount silently, never "step 3 of 7" becoming "3 of 11" — this is exactly the branching problem that makes progress bars misleading in the first place.
  • Save-and-resume for any form >5 minutes or requiring documents: autosave per step, an explicit "Save and finish later" exit, and a return path (emailed link or account draft). Government applications and Typeform respondent resume prove the pattern.
  • Session expiry mid-form: re-authenticate in place and return the user to the intact form. A login redirect that discards 20 minutes of entry is a top rage trigger.

Error message anatomy (see also flow-errors)

  • State what's wrong in the user's terms + how to fix it: "Card number must be 16 digits — you entered 15." Never "Invalid input," never the validation rule name, never blame framing.
  • Error text sits directly below its field, colored + icon-marked (never color alone), and is programmatically linked to the input.
  • Write one error string that works in both places (Silver): the same message appears inline and in the top error summary, so don't split effort maintaining two versions. "Enter an 'at' symbol" only makes sense next to the field; "Your email address needs an 'at' symbol" reads correctly standalone in a summary too — write the second form.
  • Silver's checklist for the words themselves: be concise (no filler, no lost clarity); be consistent (same tone, words, punctuation throughout); be specific ("The email is invalid" blames the user for an ambiguous fault — "The email needs an 'at' symbol" names the fix); avoid jargon words like invalid, forbidden, mandatory; skip brand voice and humor in error copy; use active/imperative voice ("Enter your name," not "First name must be entered"); never open with "Please" — it reads as polite but is filler that implies a choice the user doesn't have.
  • Don't fabricate ambiguity to protect security: a login form that shows "the username and password don't match" when only the password is wrong is unhelpful theater — say "the password doesn't correspond to your username" instead (Silver). You can decline to confirm which username exists without punishing users with a useless error.

Per-field playbook

FieldRules
Emailtype=email, autocomplete=email; no confirm field; trim whitespace before validating; don't reject + aliases
Password (create)Show-password toggle; live requirements checklist that ticks off as met; min 8, max ≥64; always allow paste
Password (login)Just the field + "Forgot password?" link; never list requirements at login
One-time codeinputmode=numeric, autocomplete=one-time-code; accept full-code paste; auto-advance/auto-submit on last digit
NameSingle "Full name" where legally possible; no character restrictions — apostrophes, hyphens, unicode all valid
AddressAutocomplete/lookup service with manual-entry fallback always available; correct autocomplete tokens per line
Card numberAuto-space in groups of 4; detect brand from first digits and show its logo; autocomplete=cc-number
CountryAutocomplete combo box, defaulted from locale
Date, memorable (DOB)Three plain inputs or masked field — never a calendar
Date, scheduling (delivery day)Calendar picker is correct here — near-future picking is spatial
Quantity / small numberStepper or plain numeric input, not a dropdown of 1–10
File/document uploadState accepted formats + size limit upfront; progress per file; mobile camera-capture option; failed files retryable individually (see flow-errors partial failure)
Notes / long text (textarea)Never hard-truncate at maxlength — users typing without looking up will find half their entry silently cut. Let them type freely and show a character countdown instead ("You have 100 characters remaining"), updated in a polite live region (aria-live="polite" or role="status") announced only when typing pauses, not per keystroke (Silver's character-countdown pattern)

Accessibility (non-negotiable)

  • Every input has a programmatically associated label (<label for> or platform equivalent); hint text linked via aria-describedby.
  • On failed submit, the error summary receives focus and announces (role="alert"); each inline error is linked to its field via aria-describedby.
  • Related radios/checkboxes grouped in <fieldset> + <legend> ("Delivery method") so the question is announced with each option.
  • Focus order matches visual order; focus visible on every control; never remove outline without replacement.
  • 4.5:1 contrast on labels, values, and error text; error state never conveyed by color alone.
  • Session time limits: warn before expiry and allow extension (WCAG 2.2.1) — silent expiry that eats a form fails both accessibility and trust.

Measuring form health

  • Instrument per-field: drop-off (last field touched before abandon), error rate, correction time. The worst field is usually removable.
  • Track resubmission count (validation churn), total time-to-complete, and back-navigation frequency per wizard step.
  • A step where >20% of users go back is asking its question too early or unclearly.

Quick Reference

SituationPattern
Form >7 fields or >1 topicSplit into wizard, one topic per step
When to validateOn blur; live-revalidate once errored; never mid-first-typing
Error placementInline below field + top error summary on submit (long forms)
Required fieldsMark the optional ones "(optional)"; no asterisks
Label positionAbove the field, always visible
Confirm-email / confirm-passwordDelete; echo value / show-password toggle
Wizard back navigationRestores step with data intact, always
Consequential wizard endRead-only review step, per-answer Change links
Long application (>5 min)Autosave + save-and-resume link
Select with 2–4 optionsRadio group / segmented control
Select with huge listAutocomplete combo box
Date of birthThree text inputs or masked field, never a calendar
Card/phone entryAuto-format, accept any paste format
Password creationShow-password toggle + live requirements checklist
One-time code entryNumeric keyboard, full-code paste, auto-submit
Multi-select from many optionsSearchable checklist with selected-items summary
Session nearing expiry mid-formWarn + extend option; entries preserved regardless
Currency/unit inputSymbol as fixed affix inside the field, locale-aware format
Every text field, alwaysCorrect autocomplete token — autofill is the biggest speed win
Primary button labelVerb + outcome ("Create account", "Pay €49")
After successConfirmation + reference + one next action

Anti-Patterns

Anti-patternWhy it breaksFix
Placeholder text as the only labelVanishes on focus; fails WCAG and recallPersistent label above field
Validating on first keystroke"Invalid email" after one typed characterValidate on blur; live-revalidate only after first error
Error: "Invalid input"Describes the machine's problem, not the fixProblem + fix: "Postcode must be 5 digits"
Clearing the form on errorPunishes the user for the rejectionEvery value survives every error, including 500s
Back button loses wizard dataForced re-entry; most abandon insteadPersist per-step on every transition
Asterisk on every required fieldLegend tax, visual noiseMark optional fields only
Two-column field layoutSkipped fields, broken order (Baymard)Single column; inline-pair only coupled shorts
Disabled submit with no explanationUser can't discover what's missing; disabled buttons are also unfocusable, so screen-reader/keyboard users tabbing through can't even find it (Silver)Enabled submit → validate → error summary
"Step 3 of 12," unlabeled dotsFeels endless; no sense of what's leftFewer, labeled steps + upfront time estimate
Dropdown for 2–4 optionsHides options that fit on screenRadio group / segmented control
Rejecting paste in password/OTP fieldsBlocks password managers and autofillAlways allow paste
Strict input formats ("no spaces")Rejects values you could normalizeNormalize on your side
Asking for data you don't useEvery field costs conversionCut it or defer to progressive profiling
Reset/Clear button beside SubmitCatastrophic misclick, no legitimate useDelete it
CAPTCHA before any typingBlocks the user at peak intentInvisible/risk-based challenge, on suspicion only
Auto-jumping focus between split inputsBackspace breaks; corrections become a fightSingle masked field, or split inputs with back-delete handled
Password max length <64 or paste blockedDefeats password managers, weakens securityLong max, paste always allowed
Home-country validation applied globallyRejects valid foreign postcodes/phonesValidate per selected country, or loosely
Critical instructions hidden in tooltipsMobile users never see themVisible hint text below the label
"Please select" default that submitsSlips through as a valueValidate selection; or pre-select the true common case
Unsaved-changes prompt on an unchanged formCried-wolf warnings get dismissedDirty-check before warning
Success page with no next stepDead end at peak engagementConfirmation + reference + single next action

Proven by: GOV.UK Design System (one-thing-per-page, error summary, check-your-answers, start pages), Stripe Checkout (validation timing, autofill, field minimalism), Typeform (one-question flow, resume), Baymard Institute checkout research (single column, field-count reduction, label placement), Adam Silver's Form Design Patterns (New Riders/Smashing Magazine, 2018) — question protocol, error-copy craft, progress-bar skepticism, character countdown, login error phrasing.

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

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

Dùng khi thiết kế, xây dựng hoặc đánh giá bất kỳ biểu mẫu, quy trình đăng ký, thanh toán, trang cài đặt hay trình hướng dẫn nhiều bước nào — hoặc khi người dùng bỏ dở biểu mẫu, cho biết lỗi khó hiểu hay mất dữ liệu khi quay lại. Skill này cũng được kích hoạt khi quyết định số lượng trường, vị trí nhãn, thời điểm xác thực, cách đánh dấu trường bắt buộc hoặc việc chia biểu mẫu thành nhiều bước.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-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 Flow 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 Flow 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 Flow 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 Flow Forms có miễn phí không?

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