شعار Flow Checkout

Flow Checkout

المجتمع
jpoindexter
flow-checkout

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

Add to TypingMind

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Checkout & Payment Flows

Overview

Checkout is a funnel where every field, click, and surprise costs conversion — average cart abandonment sits near 70%, and roughly 1 in 4 abandoners cite forced account creation or a too-long checkout. The proven flow minimizes steps, defers everything deferrable, and never loses user state.

When to Use

  • Building any cart → payment → confirmation sequence, web or native
  • Adding express payment: Apple Pay, Google Pay, Shop Pay, PayPal
  • Reviewing an existing checkout for abandonment causes
  • Designing error handling for declined or failed payments
  • Adding saved payment methods or one-click reorder for returning customers
  • Not for: subscription pricing and paywall flows (see flow-paywall)
  • Not for: OS-controlled in-app purchase sheets — StoreKit/Play Billing render their own UI; you only choose the trigger point and the screen before it

The Proven Flow

  1. Cart

    • Line items: thumbnail, name, variant, quantity stepper, per-item remove, line price.
    • Removing an item offers an inline undo instead of a confirm dialog.
    • Order summary — subtotal, estimated shipping, estimated tax, total — pinned visible.
    • Surprise costs at the last step are the #1 abandonment cause (~48% in Baymard's data), so estimate shipping and tax from the cart onward, from geolocation or a zip prompt.
    • Primary action: "Checkout" — one button, high contrast, above the fold on mobile.
    • Express pay buttons (Apple Pay / Shop Pay / PayPal) directly above or beside it, so ready buyers skip the entire form. Shopify carts and Amazon's "Buy Now" both prove this placement.
    • Promo code field collapsed behind a "Have a code?" link. An open field invites users to leave the flow and hunt for coupons.
    • Free-shipping threshold nudge, if you have one: "Add $12 for free shipping" with a progress bar — honest and proven to raise order value.
  2. Guest gate (only if you must have one at all)

    • Never a wall. The default path is guest checkout with an email field only.
    • "Sign in" is the secondary link, not the primary button.
    • Stripe Checkout collects only email; Shopify's Shop detects returning users by email and offers one-tap sign-in with saved details.
    • Account creation is offered after purchase, on the confirmation screen ("Save your info for next time — add a password"). It converts far better there because the user has nothing left to lose.
  3. Shipping

    • Email first — the guest gate's email IS the first shipping field, collected once on one screen and never re-asked; it enables abandonment-recovery email even if the user quits on the very next screen.
    • Name as a single full-name field, not first/last.
    • Address with autocomplete (Google Places or equivalent): user types 3–5 characters of street, picks from a dropdown, and city/state/zip/country auto-fill.
    • Manual entry always remains available — autocomplete fails on new buildings and rural addresses.
    • Shipping method as a radio list with price and a concrete date range ("Arrives Thu, Jul 16 — $4.99"), cheapest or free option preselected.
    • Primary action: "Continue to payment."
  4. Payment

    • Express pay buttons repeated at the top, with an "or pay with card" divider below — Stripe Checkout's exact layout.
    • Card form: one card-number field with inline brand detection, expiry as a single MM/YY field, CVC, and postal code only if the processor requires AVS. Four fields max.
    • Returning signed-in users see saved cards (brand + last 4) as the default, with "Use a different card" below — Amazon's core one-click mechanic.
    • Billing address defaults to "Same as shipping" (checked); the billing form appears only when unchecked.
    • Trust signals near the pay button — lock icon, "Secured by Stripe" — not banner-sized badge walls.
    • Primary action is the money button: "Pay $48.20" — the exact amount on the button, never a bare "Submit" or "Continue."
  5. Review

    • A distinct review screen only for high-consideration orders: travel, B2B, roughly >$500.
    • Otherwise fold review into the payment screen as an editable summary — Stripe and Shopify both do this, because an extra screen is an extra abandonment point.
    • Every summary section gets an "Edit" link that returns the user without wiping other entered data.
  6. Processing

    • Disable the pay button on tap; swap the label to a spinner + "Processing…".
    • Never allow double-submit; pair the disabled button with server-side idempotency keys.
    • Never navigate away until the processor responds.
    • 3-D Secure / SCA challenges open in a modal or inline frame — avoid full redirects that lose context.
  7. Confirmation — see the anatomy section below. The order is confirmed on screen and by email within a minute.

Express Pay Placement Rules

  • Show express buttons in two places: the cart (skip everything) and the top of the payment screen (skip the card form). Detect availability first — render Apple Pay only when canMakePayments is true; a dead button erodes trust.
  • Order the buttons by your audience's actual wallet share; 2–3 wallets max. Five wallet buttons is a choice-paralysis wall.
  • Express pay returns shipping address and contact from the wallet sheet — don't re-ask for anything the sheet already provided.
  • The wallet sheet shows the final total; make sure shipping and tax are computed before invoking it, or the user approves a number that then changes.
  • Keep the card form visible below a divider ("or pay with card") — express-only checkouts strand users whose wallet fails.

Layout & Structure

  • Single-column form. Multi-column checkout forms consistently test worse (Baymard Institute).
  • Order summary: sticky right sidebar on desktop; collapsible accordion at the top on mobile — collapsed by default, always showing the total.
  • One primary action per screen. Back, edit, and sign-in are links or ghost buttons, never competing filled buttons.
  • Field budget: guest checkout in ≤8 interactions is achievable — email, name, address autocomplete, card ×3. Every added field must justify itself.
  • Optional fields say why: phone number labeled "for delivery updates only," marked optional.
  • Step count: default to 2–3 steps; go single-page only when the total field budget is ≤8 and express pay dominates.
  • Progress indicator for multi-step checkouts: 3–4 labeled steps ("Shipping → Payment → Review"), current step highlighted, completed steps clickable to go back.
  • Persist state through everything: back button, refresh, validation error, card decline, 3DS failure. Losing a filled form after a decline is the single most rage-inducing checkout bug.
  • Inline validation on blur, not on submit. Errors sit next to the field, red text + icon (never color alone), and state the fix: "Card number is 15 digits — Amex has 15, most cards have 16."
  • Tax display is regional: US audiences expect tax added at checkout; EU/UK audiences expect VAT-inclusive prices throughout. Showing exclusive prices to EU users reads as a bait-and-switch and can be unlawful.
  • Mobile keyboards: inputmode="numeric" for card, zip, and phone fields.
  • Autofill: correct autocomplete attributes on every field (cc-number, cc-exp, postal-code, shipping address-line1) so browser and OS autofill work — this is free conversion.
  • Accessibility: every field has a real <label>; errors are announced via aria-live and linked with aria-describedby; the pay button's accessible name includes the amount; touch targets ≥44px.
  • Native apps: Apple Pay via PKPaymentButton at Apple's mandated sizes and styles — don't restyle it. Same rule for the Google Pay brand button.
  • Stability: the payment screen must never reflow under the user's finger — a layout shift that moves the pay button is a misclick generator.
  • Currency: detect and display the buyer's local currency with the code where ambiguous ("$" means five different currencies); never switch currency between cart and charge.
  • Order notes / gift options: collapsed behind links, like promo codes — present for those who need them, invisible friction for everyone else.
  • Instrument the funnel: fire events at cart-view, checkout-start, shipping-complete, payment-attempt, payment-error (with reason), and purchase. Without per-step drop-off data you cannot diagnose abandonment.

Error Recovery Mid-Payment

  • Card declined: stay on the payment screen, all fields intact, card fields highlighted. Say what to do, not processor jargon: "Your card was declined. Try another card or contact your bank." Offer express-pay alternatives right there.
  • 3DS/SCA abandoned or failed: return to the payment screen with state intact, a one-line explanation, and a retry button.
  • Network timeout after submit: show "Checking your payment…" and poll. Never report "failed" when the charge may have succeeded. If genuinely unknown, say so: "We're confirming your payment — check your email in a few minutes before retrying." This prevents double-charges.
  • Item out of stock at payment time: name the item, remove or adjust it, recalculate the total, and let the user proceed with the rest. Never dump them back to an emptied cart.
  • Expired session: re-authenticate inline; restore the cart and form exactly.
  • Address validation failure: show the suggested correction side-by-side with what they typed — "Use suggested / Keep what I entered." Never silently rewrite the address.
  • Price or tax changed since cart: flag the change explicitly before charging; never charge a different amount than the button showed.

Order Confirmation Anatomy

  1. Success signal first: checkmark, "Order confirmed," order number (copyable).
  2. What happens next: delivery estimate, "Confirmation sent to jane@…".
  3. Order recap: items, shipping address, payment method (last 4 digits), total.
  4. Actions in priority order: track order → create account (for guests) → continue shopping.
  5. Support escape hatch: "Problem with your order?" link.

Amazon and Shopify both follow this hierarchy. A bare "Thank you" with no order number reads as a failed transaction and generates support tickets and duplicate orders.

Quick Reference

SituationPattern
User has Apple Pay / Shop PayExpress buttons above the card form, on cart AND payment screens
Returning customerEmail-first detection → offer sign-in + saved card, never require it
Guest userGuest checkout default; account offer on the confirmation screen
Address entryAutocomplete after 3–5 chars; manual fallback always visible
Card entry4 fields max; inline brand detection; exact amount on the pay button
Payment declinedStay on screen, keep state, plain-language fix, offer alternatives
High-value / B2B orderDistinct review step; otherwise an inline editable summary
Mobile order summaryCollapsed accordion at top, total always visible
Promo codesCollapsed behind a link, never an open field
Charge state unknown"Confirming…" + poll; never a premature "failed"
Out-of-stock at paymentAdjust the line item inline, recalculate, proceed
Double-click on payButton disabled on first tap + idempotency key server-side
EU/UK audienceVAT-inclusive prices end to end
Removing a cart itemInline undo, not a confirm dialog

Anti-Patterns

Anti-patternWhy it breaksFix
Account-creation wall before checkout~25% of abandoners cite it directlyGuest default; offer an account post-purchase
Coupon field wide openUsers leave to hunt codes; many never returnCollapse behind a "Have a code?" link
Surprise shipping/tax at the final stepTop cited abandonment reason (~48%)Show the estimated total from the cart onward
"Submit" / "Continue" on the money buttonAmbiguity at the moment of maximum anxiety"Pay $48.20" with the real amount
Wiping form state on error or declineUser must re-type card + address; most won'tPersist all fields through every error path
Express pay below the card formReady buyers forced through 8 fields firstExpress pay first, "or pay with card" divider below
First/last/street/apt/city/state/zip all separate and required10+ fields of frictionAddress autocomplete; a single full-name field
Redirect to a third-party page that looks unrelatedTrust collapse mid-paymentEmbedded, branded payment (Stripe Elements/Checkout)
Double-charge on double-clickSupport tickets and chargebacksDisable on first tap; idempotency keys
Generic error: "Payment error (code 402)"User can't act on itState the cause and the next step in plain words
Pre-checked upsells or insurance in the cart"Sneak into basket" dark pattern; illegal in the EUAll add-ons opt-in, clearly priced
Confirmation page without an order numberReads as failure; triggers re-orders and support loadFull confirmation anatomy above
Validation only on submit, errors listed at the topUser hunts for which field is wrongInline on-blur validation beside each field
Charging a different amount than the button showedChargebacks and lost trustRe-confirm any price change before charging
Required phone number with no stated reasonPerceived data grab; field-level abandonmentOptional, labeled "for delivery updates only"
Cart emptied on session expiryReturn visitors start from zeroPersist carts server-side (signed-in) or in local storage
Shipping options without delivery datesUser can't trade cost against time"Arrives Thu, Jul 16" on every option
Express-pay-only checkoutWallet failure strands the purchaseCard form always available below a divider

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Flow Checkout؟

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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