What problem does it solve?
This Skill ensures multi-agent teams do not repeat the same mistakes by providing a structured protocol to read prior lessons before work and to write concise lessons after retries succeed, preserving institutional knowledge across sessions.
Core Features & Use Cases
- Read-before-work enforcement: Agents consult the centralized LESSONS-LEARNED.md before performing tasks to avoid known pitfalls.
- CLI-driven lesson creation: Agents use the opencastle lesson command to add atomic, categorized lessons after successful retries, ensuring consistent formatting and indexing.
- Governance and quality standards: Enforces categories, severity levels, and quality criteria so lessons are actionable and discoverable.
- Use Case: When an agent encounters a flaky build step, it retries with a new approach and immediately documents the working workaround to prevent future agents from repeating wasted effort.
Quick Start
Use the opencastle lesson CLI to record a concise lessons-learned entry immediately after a successful retry.