--- name: document-lessons-as-snippets description: When you make a mistake or discover a better approach, immediately suggest creating an Agent Beha... Use when configuring AI agent workflows and patterns. Agent Behavior category skill. metadata: category: Agent Behavior priority: medium is-built-in: true session-guardian-id: builtin_document_lessons_learned --- # Document Lessons as Snippets When you make a mistake or discover a better approach, immediately suggest creating an Agent Behavior snippet to prevent future occurrences. Treat errors as opportunities to build institutional knowledge. Every mistake should teach the system something new.