← Spike adatlapja

Skill · 1.0.0 verzió

Szélső esetek és állapotváltások

Bemeneti határokon, megszakításoknál és működő funkciók találkozásánál keresi a működési réseket.

edge-cases-state-transitions

Ezt a skillt használó ügynökök

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha alapteszt sikeres, valódi használat mégis szokatlan hibát hoz.

Miben segít neked?

  • Üres, szélsőséges, hibás és határértékes bemeneteket próbál.
  • Megszakítja az állapotváltást lemondással, navigálással és ismételt művelettel.
  • Ellenőrzi a helyreállítást és összekapcsolódó funkciók állapotait.

Például ezt kérheted

Tesztelj mentést közbeni jogosultságváltozással és elnavigálással, egyértelmű végállapotot megőrizve. A válasz csak navigáció és jogosultság-visszavonás után érkezzen. Tiltott mentést ne jelezzen sikeresnek, és legyen világos, megmaradt-e a szerkesztés.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Edge Cases & State Transitions

Most production defects hide at the boundaries of data domains and in non-linear state transitions where users pause, go back, double-click, or lose connectivity.

Systematic Edge-Case Heuristics

  1. Input & boundary value probing:
    • Empty / null / whitespace: Empty strings "", whitespace-only " ", null, missing optional vs. required fields, empty arrays [].
    • Zero, one, maximum, and overflow: 0, 1, maxAllowed, maxAllowed + 1, negative numbers, fractional values where integers are expected.
    • Text & encoding extremes: Very long inputs, leading/trailing spaces, emojis, accented characters (őűáéíóöü), RTL text, HTML/Markdown/SQL/JSON special characters (< > & " ' \).
    • Temporal boundaries: Midnight UTC vs. local timezone, DST transitions, leap days, expired tokens/invitations, past vs. future timestamps.
  2. State-transition & interruption hazards:
    • Double / rapid submission: Clicking Save, Submit, Start, or Delete twice in rapid succession before the first request resolves.
    • Navigation & lifecycle interruptions: Browser Back/Forward buttons, page refresh (F5) mid-step, closing and reopening a modal, switching tabs or workspaces while an async request is in flight.
    • Cancel -> Restart -> Resume: Aborting a running job or upload and immediately starting it again or viewing partial output.
    • Stale / concurrent state: Acting on an item in Tab A after it was already edited, archived, cancelled, or deleted in Tab B.
  3. Failure recovery & state rollback:
    • Verify that when a save, transition, or external call fails:
      • The UI does not get stuck in an infinite spinner or disabled state.
      • User-entered form input is preserved so the user does not lose their work.
      • Partial database or local state is rolled back cleanly rather than leaving a half-created orphan record.
  4. Cross-feature interactions:
    • Check how the changed feature interacts with search/filtering, sorting, pagination, notifications, exports, and audit history.

Csomagban lévő fájlok 1

  • SKILL.md