Agent Self-Learning
Automates error analysis and knowledge retention for AI coding agents to prevent recurring mistakes and improve architectural consistency.
The Self-Learning skill provides Claude Code with a systematic reflective loop that triggers automatically during task failures, unexpected outcomes, or user dissatisfaction. Rather than simply fixing immediate symptoms, this skill forces the agent to pause, conduct a root-cause analysis, and extract generalized, reusable rules for future interactions. By maintaining a persistent AGENT MEMORY.md file, the skill ensures that lessons learned from technical hurdles or architectural conflicts are documented and applied across the entire development lifecycle, preventing the agent from making the same mistake twice.