Flow Forms 标志

Flow Forms

社区
jpoindexter
flow-forms

设计、构建或评审任何表单、注册流程、结账流程、设置页面或多步骤向导时使用;用户放弃填写表单、反映错误提示令人困惑,或返回上一页时数据丢失时也适用。在决定字段数量、标签位置、验证时机、必填项标记方式,或是否将表单拆分为多个步骤时同样适用。

概览

发布者jpoindexter
代码仓库ux-flow-skills
技能名称flow-forms
星标数
5
复刻数
0
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 jpoindexter 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Flow Forms AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-forms
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Flow Forms,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Flow Forms。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Flow Forms 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Flow Forms AI 技能有什么作用?

设计、构建或评审任何表单、注册流程、结账流程、设置页面或多步骤向导时使用;用户放弃填写表单、反映错误提示令人困惑,或返回上一页时数据丢失时也适用。在决定字段数量、标签位置、验证时机、必填项标记方式,或是否将表单拆分为多个步骤时同样适用。

为什么在 TypingMind 中使用 Flow Forms?

因为您只需安装一次,就能搭配任何模型使用。Flow Forms 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Flow Forms?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-forms。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Flow Forms?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Flow Forms 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Flow Forms 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Flow Forms AI 技能免费吗?

是的。jpoindexter 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇