lesson-learned

Installation
Summary

Extract software engineering lessons from recent git changes by analyzing actual code patterns.

  • Analyzes code diffs against a curated principles reference to identify dominant patterns, trade-offs, and structural decisions
  • Supports multiple scopes: feature branches vs. main, specific commits, commit ranges, or uncommitted working changes
  • Maps findings to concrete SE principles with specific file and line references, avoiding generic advice
  • Presents lessons in a reflective format that mirrors the user's own code back to them rather than prescribing rules
SKILL.md

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.

  1. Read references/se-principles.md to have the principle catalog available
  2. Optionally read references/anti-patterns.md if you suspect the changes include areas for improvement
  3. 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 |

Related skills

More from softaworks/agent-toolkit

Installs
2.6K
GitHub Stars
1.8K
First Seen
Feb 8, 2026