
Lesson Learned
Turns recent git changes into concrete software engineering lessons, grounded in the actual diffs and commit messages.
- skills.sh installs
- 3K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
What it does
- Covers scope selection across feature branches, the last N commits, specific SHAs, and uncommitted working changes
- Runs
git log,git diff, andgit showagainst a principles catalog inreferences/se-principles.mdand an optionalanti-patterns.md - Enforces a cap of one or two lessons, each tied to specific files and commit intent rather than generic advice
- Designed for developers who want to reflect on recent work and extract a reusable takeaway from their own code
Install
$ npx -y skills add softaworks/agent-toolkit --skill lesson-learned -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Lesson Learned
Extract specific, grounded software engineering lessons from actual code changes. Not a lecture -- a mirror. Show the user what their code already demonstrates.
Before You Begin
Load the principles reference first.
- Read
references/se-principles.mdto have the principle catalog available - Optionally read
references/anti-patterns.mdif you suspect the changes include areas for improvement - Determine the scope of analysis (see Phase 1)
Do not proceed until you've loaded at least se-principles.md.
Phase 1: Determine Scope
Ask the user or infer from context what to analyze.
| Scope | Git Commands | When to Use |
|---|---|---|
| Feature branch | git log main..HEAD --oneline + git diff main...HEAD | User is on a non-main branch (default) |
| Last N commits | git log --oneline -N + git diff HEAD~N..HEAD | User specifies a range, or on main (default N=5) |
| Specific commit | git show <sha> | User references a specific commit |
| Working changes | git diff + git diff --cached | User says "what about these changes?" before committing |
Details
- Repository
- github.com/softaworks/agent-toolkit
- Categories
- Git & Releases, Code Review & Quality
More from softaworks/agent-toolkit
All 40- Gepetto1.6K
- Requirements Clarity1K
- Draw Io851
- Design System Starter835
- Backend To Frontend Handoff Docs833
- Frontend To Backend Requirements831
- Excalidraw827
- Perplexity821
- Web To Markdown792
- Datadog Cli747
- Mermaid Diagrams5.3K
- Humanizer4.5K
- Database Schema Designer4.4K
- Qa Test Planner4.4K
- Writing Clearly And Concisely4.4K
- C4 Architecture4.3K
- Skill Judge4.3K
- Agent Md Refactor4.3K
- Crafting Effective Readmes4.3K
- Session Handoff4.3K
- React Dev4.2K
- Commit Work4.2K
- Marp Slide4.2K
- React Useeffect4.2K
Similar to Lesson Learned
More Git & Releases
reducing-entropySkillsoftaworks/agent-toolkit4.1K installsManual-only skill that biases toward the smallest final codebase, measuring success by end-state code size.
commit-workSkillsoftaworks/agent-toolkit4.2K installsGuided workflow that stages intended changes, splits work into logical commits, and writes Conventional Commits messages.
weekly-reviewSkillcursor/plugins2.6K installsWeekly recap of authored git commits, classified into bug fixes, tech debt, and net-new work.
essentialsPluginnicknisi/claude-plugins114 starsEssential agents and skills for Claude Code workflows - git commits, code simplification, security audits, verified multi-lens code review, thermo-nuclear code-