Λογότυπο Flow Errors

Flow Errors

Κοινότητα
jpoindexter
flow-errors

Χρησιμοποιήστε το κατά τη σχεδίαση ή την αξιολόγηση καταστάσεων σφάλματος, ανάκαμψης από αποτυχίες, λειτουργίας εκτός σύνδεσης, προστασίας από καταστροφικές ενέργειες ή σελίδων 404/500 — ή όταν οι χρήστες αναφέρουν απώλεια εργασίας, μηνύματα σφάλματος που προκαλούν σύγχυση, τυχαίες διαγραφές ή αποτυχίες χωρίς δυνατότητα συνέχισης. Ενεργοποιείται επίσης όταν επιλέγετε ανάμεσα σε ειδοποίηση toast, banner, ενσωματωμένο ή πλήρους σελίδας μήνυμα σφάλματος, ή όταν υλοποιείτε λογική επανάληψης που είναι ορατή στον χρήστη.

Επισκόπηση

Εκδότηςjpoindexter
Αποθετήριοux-flow-skills
Όνομα δεξιότηταςflow-errors
Αστέρια
5
Διακλαδώσεις
0
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό jpoindexter. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Flow Errors στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα 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-errors
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή 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-errors .claude/skills/flow-errors
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Flow Errors σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Flow Errors μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Flow Errors δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Error Handling & Recovery Flows

Overview

An error state is a fork where the product either keeps the user's trust and work, or loses both. Every error must answer three questions: what happened (in human terms), how to fix it, and where the user's work went — and the answer to the last one must be "nowhere, it's safe."

When to Use

  • Building any surface that can fail: forms, saves, payments, uploads, network calls, agent runs
  • Adding delete, archive, cancel, overwrite, or send actions
  • Designing offline or flaky-network behavior; building 404/500 pages
  • NOT for: validation timing and error summaries inside forms — see flow-forms
  • NOT for: logging/observability plumbing with no user-facing surface

The Proven Flow

  1. Failure is caught; work is preserved first. Before any message renders, the user's input and state are held: form values stay in their fields, drafts persist locally, uploads keep partial progress, unsaved edits go to local storage. Preservation precedes messaging — a perfect error message over lost work is still a catastrophe. Gmail keeps the draft through any send failure; Figma holds every offline edit.
  2. The message renders at the point of failure. Inline next to the failed field or object if the error is local. Banner at the top of the affected region if it blocks the whole task. Toast only if the failure is non-blocking and self-explanatory. The message states human cause + concrete fix: "Couldn't save — you're offline. We'll retry automatically; your changes are stored on this device."
  3. A recovery action ships with every message. Retry button, "Edit and resend," jump-link to the fixable field, or "Contact support" with the error reference pre-attached. An error without an affordance is a dead end, and dead ends convert to rage-refresh and churn.
  4. Retries are visible. Automatic retry with backoff shows its state: "Retrying in 5s… · Retry now." A silent spinner during retries reads as a hang and triggers duplicate actions elsewhere. Cap visible auto-retries (~3 attempts), then hand control to the user: manual retry + persistent status.
  5. Success after failure confirms reconciliation. "Back online — all changes saved" (Figma, Linear). The user must learn the queue flushed, not merely notice the warning banner disappeared. Brief, then gone.
  6. Destructive actions are protected before an error can exist. Default: perform the action optimistically, then offer undo in a toast with a visible window (Gmail undo-send: 5–30s user-configurable). Confirmation dialogs only where undo is technically impossible — and then they name the consequence, never just "Are you sure?"
  7. Total failures get honest full pages. Route missing → 404 with exits. Server down → 500 with a reference ID and a status link. Both keep global navigation so the user is lost on a page, not lost in the product.

Layout & Structure

Display-surface decision rules

SurfaceUse whenRules
Inline (below field/object)Error is local to one input or itemRed text + icon, 4–8px below the element; focus moves to first error on submit
Banner (top of page/region)Blocks the current task; must persistStays until resolved or dismissed; contains the fix action; never auto-dismisses
Toast / snackbarNon-blocking, informational, or undo-carrierAuto-dismiss 5–10s; never the sole surface for an error requiring action; never for payment or permission failures
Full pageNothing on this route can render (404, 500, no access)Anatomy below; global nav intact
ModalAlmost never for errorsOnly when the user must decide before anything else can proceed

Error message anatomy (every message, every surface)

  1. What went wrong, in the user's vocabulary — name the object ("Couldn't upload invoice.pdf"), never the subsystem ("Request failed: 422").
  2. Why, if known and useful ("The file is over the 25 MB limit").
  3. What to do next, phrased as an action ("Compress it or choose a smaller file").
  4. Where their work is, whenever work is at stake ("Your other 3 files uploaded fine").

Never: raw status codes as the headline; blame framing ("You entered an invalid…" → "We couldn't match that…"); ALL-CAPS or exclamation marks; "Oops!" cuteness on high-stakes failures. The error code belongs in small text for support reference, not in the headline.

Copy examples: bad → good

BadGood
"Error 422: Unprocessable entity""Couldn't save — that project name is already taken. Try a different name."
"Payment failed""Your card was declined by your bank. No charge was made. Try another card or contact your bank."
"Upload error""invoice.pdf is 32 MB — the limit is 25 MB. Compress it or split it into parts."
"Session expired""You were signed out after 30 minutes of inactivity. Sign in again — your entries are saved."
"Network error occurred""Can't reach the server — check your connection. We'll keep retrying; your draft is saved on this device."
"Permission denied""You need editor access to change this. Ask Maria (owner) or request access."

Severity → surface mapping

SeverityExampleSurface
Field-levelBad postcodeInline below field
Task-blockingCard declined, no permissionPersistent banner + fix action
Degraded serviceOne integration down, rest worksDismissible banner, scoped to the affected feature
Non-blockingOne background sync retried fineToast, or nothing
Route-fatal404, 403Full page with exits
System-fatal500, outageFull page + reference ID + status link

Full-page anatomy

  • 404: plain statement ("This page doesn't exist or has moved") + search box + links to the 3–5 most likely destinations + normal global nav. Never a bare joke with no exits.
  • 500: "It's a problem on our end, not yours" + auto-generated incident/reference ID + link to the status page + an explicit "your data is safe" statement when true + a retry action. GOV.UK's error pages are the canon: no branding jokes, maximum clarity, calm register.
  • 403/permission: state what's restricted and the path to access (request access button, who to ask) — not a bare "Forbidden."

Destructive action protection (in order of preference)

  1. Undo beats confirm. Execute immediately, show a toast with "Undo" for 5–30 seconds (Gmail undo-send; Linear's delete-issue undo). Applies to delete, archive, send, move, and bulk edits. Confirms interrupt everyone to protect against a rare mistake; undo protects only the mistaken, at the moment of mistake.
  2. Soft-delete / trash with ~30-day recovery for containers: projects, boards, documents, files. Undo covers seconds; trash covers "realized on Tuesday."
  3. Confirm only when truly irreversible (permanent purge, account deletion, prod deploy). The dialog names object and consequence: "Delete 'Q3 Report' and its 14 pages? This can't be undone." Generic "Are you sure?" trains blind clicking and carries zero information.
  4. Type-to-confirm (repo name, the word DELETE) reserved for the highest tier — GitHub repo deletion. Overuse destroys the signal.
  5. Button mechanics: destructive actions styled distinctly (red), never the default/focused action (Enter must not destroy), never placed adjacent to a frequent safe action.

Offline handling

  • Detect and announce once: a persistent, subtle indicator ("Offline — changes saved on this device"), not a blocking modal and not a re-toasting loop.
  • Queue mutations locally with per-item pending state (Linear's offline queue). Persist the queue to local storage/DB — queued writes must survive tab close and app restart.
  • Keep reads alive from cache. Never disable the whole app when cached content could render.
  • On reconnect: sync automatically, confirm briefly ("Back online — synced"); auto-merge non-conflicting changes at operation/field level (Figma, Google Docs); show the both-versions picker only for true conflicts on the same content — never silent last-write-wins.

Partial failure

  • When a batch half-succeeds, report per-item: "7 of 9 files uploaded · 2 failed — Retry failed items." Never collapse a batch into one merged spinner→error, and never re-run the successes on retry.
  • Same rule for multi-step agent/import flows: name which steps completed; retry resumes, not restarts.

Form data preservation

  • Values survive server errors, session expiry, and navigation. Session-expired flow: keep the form rendered, re-authenticate in a modal or side flow, return to the intact form. Losing a long form to a login redirect is a top-3 rage trigger.
  • On browser back / accidental close with unsaved changes: restore drafts on return (preferred) or warn before unload (fallback).

Accessibility

  • Blocking errors announce via role="alert" / aria-live="assertive"; toasts via aria-live="polite".
  • On failed submit, focus moves to the error summary or first errored field; never trap focus in an error state without an escape.
  • Undo must be keyboard-reachable within its window; for critical undo, pair the toast with a persistent path (Edit menu, trash).
  • Error state is never color-alone: icon + text alongside red.
  • The offline indicator lives in the accessibility tree with a text label, not as a decorative dot.

Metrics that prove recovery works

  • Retry success rate (auto and manual) — low manual-retry success means the message promises a fix it can't deliver.
  • Undo usage rate on destructive actions — near-zero may mean the window is too short to catch mistakes.
  • Support tickets quoting error text — each one is a message that failed to self-serve.
  • Rage-refresh / repeated-submit within 10s of an error — the signature of a dead-end error state.

Quick Reference

SituationPattern
One field failedInline error below field + move focus
Whole-task blocker (payment declined, permission)Persistent banner with fix action
Non-blocking hiccupToast, auto-dismiss 5–10s
Delete / send / archiveDo it + undo toast (5–30s window)
Deleting a container (project, doc)Soft-delete to trash, 30-day recovery
Truly irreversible destructionConsequence-naming confirm; type-to-confirm at highest tier only
Network call failedAuto-retry with visible countdown, cap ~3, then manual
Went offlinePersistent indicator + local queue + cached reads
Back onlineAuto-sync + brief "synced" confirmation + explicit conflict UI
Batch partially failedPer-item results + retry-failed-only
Server error on form submitPreserve all values + banner with cause + retry
Session expired mid-formRe-auth in place, return to intact form
Payment failedBanner: bank's reason + "no charge was made" + try-another-card
Upload failed midwayKeep partial progress; resume, don't restart
Route not found404: statement + search + likely links + nav
Server down500: reference ID + status link + "data safe" + retry

Anti-Patterns

Anti-patternWhy it breaksFix
"Something went wrong" with no actionDead end; only move is rage-refreshCause + fix + retry, always
Blocking error shown only in a 5s toastVanishes before it's read or acted onPersistent inline/banner for anything requiring action
Confirm dialog on every deleteTrains blind confirmation; still loses dataUndo-first; confirms only for irreversible
"Are you sure?" with no object or consequenceCarries zero informationName what's deleted and what's unrecoverable
Form cleared on server errorDestroys work to report a failureValues survive every error class
Silent auto-retry foreverLooks frozen; user duplicates action elsewhereVisible retry state, capped, then manual control
Raw exception / stack / status code shownMeaningless and alarmingHuman message; code in fine print for support
Offline = whole app disabledPunishes reads cache could serveCached reads + queued writes + indicator
Queued offline writes lost on tab closeBetrayal discovered laterPersist the queue durably
Sync conflicts silently overwrittenData loss found weeks laterExplicit both-versions conflict UI
Batch error as one blobCan't tell what succeeded; retry duplicatesPer-item status, retry-failed-only
Red destructive button as default focusEnter key destroys dataSafe action is default; destructive needs deliberate selection
Undo toast under 5 secondsGone before the mistake registers5–30s window; pair with trash for containers
Repeated failures spawn stacked toastsNotification spam buries the actual problemCoalesce into one updating banner with count
Error modal steals focus mid-typingUser's keystrokes hit the dialog's buttonsNon-modal surfaces for anything not requiring a decision
Same visual style for errors, warnings, promosUsers learn to dismiss everything red-ishReserve the error style for errors only
Joke-heavy 500 during an outageReads as mockery when work is lostPlain, calm, reference ID, status link

Proven by: GOV.UK Design System (error messages, error pages), Gmail (undo send, draft preservation), Figma (offline editing, reconnect sync), Linear (offline queue, optimistic updates + undo), GitHub (type-to-confirm tiering).

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Flow Errors;

Χρησιμοποιήστε το κατά τη σχεδίαση ή την αξιολόγηση καταστάσεων σφάλματος, ανάκαμψης από αποτυχίες, λειτουργίας εκτός σύνδεσης, προστασίας από καταστροφικές ενέργειες ή σελίδων 404/500 — ή όταν οι χρήστες αναφέρουν απώλεια εργασίας, μηνύματα σφάλματος που προκαλούν σύγχυση, τυχαίες διαγραφές ή αποτυχίες χωρίς δυνατότητα συνέχισης. Ενεργοποιείται επίσης όταν επιλέγετε ανάμεσα σε ειδοποίηση toast, banner, ενσωματωμένο ή πλήρους σελίδας μήνυμα σφάλματος, ή όταν υλοποιείτε λογική επανάληψης που είναι ορατή στον χρήστη.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Flow Errors στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Flow Errors είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Flow Errors στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-errors. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Flow Errors;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Flow Errors;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Flow Errors με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Flow Errors;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό jpoindexter με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇