Skip to content
Back to skills

Failure Learning

ASecurity

Use after a non-trivial, recurring, or expensive failure when a concise evidenced lesson could prevent future repeated investigation.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsdebugging

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add ihabkhaled/AI-Psychiatry --skill failure-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Failure Learning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Failure Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ihabkhaled-failure-learning/badge)](https://www.skillsdirectory.com/skills/ihabkhaled-failure-learning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: failure-learning
description: Use after a non-trivial, recurring, or expensive failure when a concise evidenced lesson could prevent future repeated investigation.
---

# Failure Learning

## Core principle

Save reusable conclusions and recovery, never full debugging transcripts or hidden reasoning.

## Procedure

1. Name the observable symptom.
2. State the evidenced root cause.
3. Record the evidence source and successful recovery.
4. Describe how to detect the pattern earlier.
5. Check stability, reuse value, and future token savings.
6. Store it in failure-patterns or lessons, or reject promotion.

## Required output

Symptom, root cause, evidence, recovery, early signal, and memory destination.

## Limits

One concise entry per reusable pattern.

## Common mistakes

Do not save temporary errors, speculative diagnoses, giant output, or raw chain-of-thought.

## Stop condition

Stop when the reusable lesson is stored concisely or judged too temporary.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.