Lightweight skill to capture solved problems and learnings into simple markdown files
From ai-driven-engineeringnpx claudepluginhub saschaheyer/ai-driven-engineering --plugin ai-driven-engineeringThis skill is limited to using the following tools:
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Purpose: A lightweight, frictionless way to automatically document solved problems, bug fixes, and new learnings into searchable markdown files.
This skill captures learnings immediately after confirming a solution, creating simple, structured documentation that serves as a searchable knowledge base. All learnings are saved in a flat directory structure with basic YAML frontmatter.
Auto-invoke after phrases:
OR manual: /learn command
Extract the following from the conversation history:
If context is completely missing, briefly ask the user: "What was the key learning or fix you'd like to document?" </step>
Generate a simple, sanitized filename: docs/learnings/YYYY-MM-DD-[short-topic].md
Sanitization rules:
Ensure the directory exists:
mkdir -p docs/learnings
Write the documentation file populated with the context gathered in Step 1. Use the following simple template:
---
date: [YYYY-MM-DD]
topic: [Short Topic]
---
# [Topic/Symptom]
## The Problem / Context
[Clear description of the issue or what was being attempted]
## The Solution / Learning
[Explanation of how it was fixed or the key takeaway]
</step>
Once the file is created, present a simple confirmation to the user:
ā Learning documented!
Saved to: docs/learnings/[filename].md
Return control to the user. No complex decision menus or cross-referencing required. </step>
</critical_sequence>
MUST do:
docs/learnings/ directory before writing (mkdir -p).MUST NOT do: