شعار Flow Forms

Flow Forms

المجتمع
jpoindexter
flow-forms

استخدم هذه المهارة عند تصميم أي نموذج أو صفحة تسجيل أو إتمام شراء أو إعدادات أو معالج متعدد الخطوات، أو إنشائه أو مراجعته — أو عندما يتخلى المستخدمون عن النماذج، أو يبلغون عن أخطاء مربكة، أو يفقدون البيانات عند الرجوع. وتُفعّل أيضًا عند تحديد عدد الحقول، وموضع التسميات، وتوقيت التحقق من صحة البيانات، وطريقة تمييز الحقول المطلوبة، أو ما إذا كان ينبغي تقسيم النموذج إلى خطوات.

نظرة عامة

الناشرjpoindexter
المستودعux-flow-skills
اسم المهارةflow-forms
النجوم
5
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها jpoindexter على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Flow Forms في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-forms
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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

فعّل Flow Forms في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Flow Forms تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Flow Forms بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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؟

استخدم هذه المهارة عند تصميم أي نموذج أو صفحة تسجيل أو إتمام شراء أو إعدادات أو معالج متعدد الخطوات، أو إنشائه أو مراجعته — أو عندما يتخلى المستخدمون عن النماذج، أو يبلغون عن أخطاء مربكة، أو يفقدون البيانات عند الرجوع. وتُفعّل أيضًا عند تحديد عدد الحقول، وموضع التسميات، وتوقيت التحقق من صحة البيانات، وطريقة تمييز الحقول المطلوبة، أو ما إذا كان ينبغي تقسيم النموذج إلى خطوات.

لماذا تستخدم Flow Forms على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Flow Forms عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Flow Forms في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-forms. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Flow Forms؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Flow Forms؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Flow Forms معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Flow Forms مجانية؟

نعم. نشرها jpoindexter على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇