fail-design
/fail-design
Określa stany awarii, działania naprawcze, obejścia i tryby ograniczonej pracy komponentu już na etapie projektu.
- Autor
- OutlineDriven ↗
- Repozytorium
- outline-driven-development ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 28.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 28.09.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Określa stany awarii, działania naprawcze, obejścia i tryby ograniczonej pracy komponentu już na etapie projektu.
Oryginalny opis (EN)
Use when a user wants to define failure states, recovery actions, bypasses, and degraded modes for a component during design. Not for runtime recovery.
Jak działa
- Contract
- Inputs
- Procedure
- Failure and recovery
- Output
Podgląd SKILL.md
--- name: fail-design description: 'Use when a user wants to define failure states, recovery actions, bypasses, and degraded modes for a component during design. Not for runtime recovery.' --- # Fail design ## Contract | Field | Bound contract | |---|---| | Trigger | User wants to define failure states, recovery, bypasses, and degraded modes at design time for a component. | | Authority | Reversible local: writes only a failure-state design document and degraded-mode specifications; rollback is deleting those artifacts. No remote mutation. | | Side effect | Local write of a failure-state design document. | | Done | A local failure-state design document exists, mapping every bounded failure state to a recovery action, bypass, or degraded mode. | ## Inputs Required: the design artifact or component under design (spec, plan, architecture sketch, or named subsystem). Optional: known constraints, SLAs, dependencies, and prior failure history. ## Procedure 1. Establish the system boundary and identify all reachable failure states. The boundary names what is inside the component, what is outside (dependencies, callers, infrastructure), and what crosses the boundary. Enumerate failure states by walking every boundary crossing: input violations, dependency outages, resource exhaustion, partial data loss, and timeout. The enumeration is closed when every boundary crossing has been examined for its failure mode. Done when: the boundary is stated and every reachable failure state is named. 2. Define a specific recovery action or an explicit bypass for each failure state. A recovery action names what the component does (retry, fallback, circuit break, shed load, fail closed). A bypass names which path is taken when a dependency is unavailable and what correctness or consistency it sacrifices. Every failure state gets exactly one: a recovery action or a bypass. Done when: every enumerated failure state has a named recovery action or bypass with its trade-off. 3. Specify the degraded mode and its user-visible signal for each failure state. Name which features are reduced, disabled, or served from stale data, and the signal that tells the user degradation is active. A failure state that has a bypass or recovery action still needs a degraded-mode specification for the case where the recovery or bypass itself fails. Done when: every failure state has a degraded mode with its user-visible signal. 4. Consolidate these definitions into a single local design document. The document maps each failure state to its recovery action or bypass, its degraded mode, and its user-visible signal. Done when: the design document carries every failure state with its recovery, bypass, and degraded mode, and no implementation code is written. ## Failure and recovery - Unenumerated failure state: stop and report the gap. Do not invent a recovery for a state not yet identified. - Contradictory recovery actions: if two failure states demand mutually exclusive actions, record the conflict and prompt the user to resolve it. Do not silently pick one. - Scope creep: if the request shifts to runtime recovery or implementation, stop. This skill defines failure at design time; it does not execute recovery or write production code. - Partial result: emit the design document with the failure states covered so far and an explicit list of uncovered states. The done predicate does not hold until the uncovered list is empty. ## Output A failure-state design document containing the system boundary, every enumerated failure state, the recovery action or bypass for each with its trade-off, and the degraded-mode specification with its user-visible signal for each.
Pliki w paczce (2)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
Wersje
W bazie nie ma innych skilli o nazwie fail-design.
Migawka bazy z 13.11.2026 · wersja paczki 5c68626a4f36 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90esp32-degraded-mode-operation
Projektuje tryb pracy ograniczonej dla ESP32 na wypadek, gdy część czujników albo łączność przestaje działać. - 90esp32-error-code-actionable-triage
Pomaga zamienić kody ESP_ERR z ESP32 na konkretne działania naprawcze zamiast ogólnego komunikatu o awarii. - 95correct-by-construction
Projektuje typy tak, aby niepoprawne stany i obejścia ograniczeń były nieosiągalne już na etapie kompilacji. - 90architect-systems-design
Tworzy dokument projektu systemu z wieloma komponentami: diagram, przepływ danych, tryby awarii i wymagania niefunkcjonalne. - 100frontend-ui-engineering
Z góry ustala decyzje budowy UI: granice komponentu i API propsów, miejsce stanu, wymagane stany, responsywność i dostępność, przy tworzeniu lub refaktoryzacji komponentu.