learn

Extract actionable lessons from mistakes and update AGENTS.md sections.

3.5k|340|Updated Sep 9, 2023
One-click install
npx skills add https://github.com/langwatch/langwatch --skill learn-langwatch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/langwatch/langwatch/tree/main/.claude/skills/learn
Command: npx skills add https://github.com/langwatch/langwatch --skill learn-langwatch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Learn from mistakes by updating AGENTS.md to prevent repeated errors across sessions and teams.

Core Features & Use Cases

  • Analyze a mistake and extract a concrete, shareable lesson.
  • Identify the appropriate AGENTS.md section (e.g., General, TypeScript, Database, Orchestration Model) and ensure the lesson sits in the right context.
  • Update AGENTS.md with a concise, actionable row that codifies the anti-pattern and the corrected behavior.
  • Use cases include post-incident retrospectives, training prompts, and governance documentation.

Quick Start

Analyze the latest mistake and append an actionable lesson to AGENTS.md under the appropriate section.

Frequently Asked Questions about learn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document lessons learned from incident retrospectives into AGENTS.md?▼

You can update AGENTS.md by analyzing the mistake, extracting a shareable lesson, identifying the correct documentation section, and appending an actionable row that codifies the anti-pattern and corrected behavior to prevent repeated errors.

What is the best way to prevent repeated agent mistakes across sessions?▼

Preventing repeated mistakes across sessions involves recording actionable lessons in AGENTS.md, ensuring the added entries are generalizable, correctly sectioned, and codify both the anti-pattern and the corrected behavior for future reference.

Can I use this process to add agent-training prompts to my documentation?▼

Yes, you can use this process for agent-training by extracting generalizable lessons from past mistakes and appending them as concise, actionable rows to the appropriate AGENTS.md section for governance and training purposes.

How do I ensure retrospective lessons are actionable and generalizable?▼

You ensure retrospective lessons are actionable and generalizable by extracting a concrete, shareable lesson from the mistake and formatting it as a concise documentation row that codifies the anti-pattern and the corrected behavior in the right context.

What sections should I target when updating AGENTS.md with process improvements?▼

When updating AGENTS.md with process improvements, target appropriate sections such as General, TypeScript, Database, or Orchestration Model to ensure the lesson sits in the correct technical context.