What problem does it solve?
Lessons from bugs, CI failures, and code reviews often stay trapped in chat threads or one agent's private memory, so the same mistakes repeat. This Skill inspects the conversation and the repository, then promotes each durable lesson into the right prevention layer: shared agent instructions, regression tests, CI checks, scripts, docs, or ADRs.
Core Features & Use Cases
- Learning Extraction: Analyzes conversations, bug reports, review comments, and CI failures to identify the failure mode and the earliest point it could have been caught.
- Prevention Layer Selection: Uses a promotion matrix to decide whether a lesson belongs in AGENTS.md/CLAUDE.md, a regression test, CI wiring, a script, an ADR, or should be left manual.
- Repository Inspection Scripts: Ships dependency-free Python scripts that audit AGENTS.md/CLAUDE.md symlinks and imports, summarize GitHub Actions workflows and CI cost signals, and classify lessons into likely destinations.
- Use Case: After a content frontmatter bug slipped through review, run the learning loop to get a plain-English verdict, a proposed schema validation test, a budget-aware CI recommendation, and exact AGENTS.md rule text before any file is edited.
Quick Start
Review this conversation about the CI failure we just fixed and recommend what should change in the project so it does not happen again.