failure-mode-analysis
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Use when systematically identifying failure scenarios for proposed features and infrastructure changes. Covers component enumeration, failure mode discovery, cascade analysis, mitigation design, monitoring signals, and rollback planning. Do not use for security threat modeling (use threat-model) or input boundary testing (use edge-case-enumeration).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- abhisheksharma2411/distributed-systems-skillstheir own version, first seen Aug 27, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- abhisheksharma2411/distributed-systems-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository65 other files it gives its agents.
- a11y-auditSkill
- i18n-reviewSkill
- interaction-designSkill
- journey-mappingSkill
- ml-workflowSkill
- pipeline-designSkill
- schema-evaluationSkill
- api-designSkill
- codebase-contextSkill
- distributed-patternsSkill
- schema-designSkill
- design-system-architectureSkill
- motion-designSkill
- visual-auditSkill
- adr-templateSkill
- changelog-designSkill
- documentation-planSkill
- crypto-reviewSkill
- pqc-readinessSkill
- protocol-analysisSkill
- e2e-testingSkill
- pattern-analysisSkill
- testing-strategySkill
- finance-close-checklistSkill
- finance-controls-auditSkill
- finance-journal-entriesSkill
- finance-reconciliationSkill
- finance-tax-researchSkill
- finance-variance-analysisSkill
- audit-trail-designSkill
- compliance-reviewSkill
- data-classificationSkill
- growth-engineeringSkill
- messaging-strategySkill
- monetization-designSkill
- cost-analysisSkill
- deployment-planSkill
- finops-analysisSkill
- observability-designSkill
- ai-evaluationSkill
- prompt-engineeringSkill
- rag-architectureSkill
- device-integrationSkill
- navigation-designSkill
- platform-auditSkill
- formal-specSkill
- invariant-analysisSkill
- competitive-analysisSkill
- enterprise-search-strategySkill
- library-evaluationSkill
- technology-radarSkill
- embedded-architectureSkill
- fleet-managementSkill
- protocol-designSkill
- edge-case-enumerationSkill
- threat-modelSkill
- analytics-designSkill
- impact-estimationSkill
- mvp-scopingSkill
- caching-strategySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
No user-provided values are used in commands or file paths.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Failure Mode Analysis
Purpose
Systematically identify failure scenarios for proposed features and design mitigations that maintain system resilience.
Scope Constraints
Analyzes system architecture, dependency graphs, and infrastructure configurations for failure scenarios. Does not modify infrastructure, execute chaos tests, or access production systems. Limited to design-time failure identification and mitigation planning.
Inputs
- Feature or infrastructure change being analyzed
- System architecture (services, databases, APIs, third-party dependencies)
- Current reliability requirements (SLA/SLO targets)
- Existing monitoring and alerting setup
Input Sanitization
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Procedure
Step 1: List System Components
Enumerate all components involved: services, databases, APIs, third-party dependencies, caches, queues, CDNs, DNS, and any shared infrastructure.
Step 2: Enumerate Failure Modes Per Component
For each component, systematically consider:
- Network failures: Timeout, DNS resolution failure, TLS handshake failure, connection reset, packet loss
- Data failures: Corruption, inconsistency between stores, migration errors, schema drift, encoding issues
- Resource exhaustion: Memory leak, CPU saturation, connection pool exhaustion, disk full, file descriptor limits
- Dependency failures: Third-party API down, rate limited, schema change, authentication revoked, region outage
- State failures: Race conditions, stale cache serving wrong data, split-brain in distributed systems, phantom reads
Step 3: Assess Cascade Potential
Map the failure tree: if component X fails, what else breaks? Identify single points of failure and shared dependencies. Determine blast radius for each failure mode.
Step 4: Design Mitigations
For each failure mode, define:
- Graceful degradation: What functionality survives? What's the user experience during failure?
- Retry strategy: Exponential backoff with jitter, circuit breaker thresholds, max retry limits
- Fallback behavior: Cached data, default values, error states, read-only mode
- Recovery procedure: Automatic vs manual recovery, estimated time to recovery, data reconciliation steps
Step 5: Define Monitoring Signals
For each failure mode, specify the metric, log pattern, or alert that detects it. Include detection latency — how quickly will you know?
Step 6: Plan Rollback Strategy
Define rollback approach: feature flags for instant disable, database rollback scripts, deployment rollback procedure, data cleanup if needed.
Progress Checklist
- Step 1: System components listed
- Step 2: Failure modes enumerated per component
- Step 3: Cascade potential assessed
- Step 4: Mitigations designed
- Step 5: Monitoring signals defined
- Step 6: Rollback strategy planned
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
Output Format
Failure Mode Table
| Component | Failure Mode | Severity | Cascade Risk | Mitigation | Monitoring Signal |
| [Component] | [What fails] | Critical/High/Medium/Low | [What else breaks] | [Specific mitigation] | [Metric/alert] |
Cascade Diagram
[Component A fails]
├── [Component B] — degraded (uses cached data)
├── [Component C] — down (hard dependency)
│ └── [Component D] — down (depends on C)
└── [Component E] — unaffected (independent)Rollback Checklist
- Feature flag to disable: [flag name]
- Database rollback: [migration name / script]
- Deployment rollback: [procedure]
- Data cleanup: [steps if needed]
- Communication: [who to notify]
Handoff
- Hand off to threat-model if security vulnerabilities are discovered during failure analysis.
- Hand off to operator/observability-design if monitoring gaps require comprehensive observability planning.
Quality Checks
- Every external dependency has failure analysis
- Cascade paths are fully mapped with blast radius
- Mitigations don't introduce new failure modes
- Monitoring covers detection of each identified failure
- Rollback strategy is defined and tested
- Recovery time estimates are documented
Evolution Notes
<!-- Observations appended after each use -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

