L

lesson

by @win4rv
4.7(7)

Records lessons learned from conversations, triggered by the `/lesson` command.

Educational ContentLesson PlanningKnowledge RetentionLanceDBLearning DesignGitHub
Installation
npx skills add win4r/memory-lancedb-pro --skill lesson
compare_arrows

Before / After Comparison

1
Before

Important dialogue insights or solutions are scattered across chat records, making them difficult to find, review, and easily forgotten.

After

By using the `/lesson` command, key lessons learned are structurally extracted and stored, facilitating long-term retention and future reference.

description SKILL.md


name: lesson description: Store a lesson learned from the current conversation. Triggered by /lesson command. Use when Master signals that the recent conversation contains a pitfall, fix, or key insight that should be persisted to long-term memory.

Lesson Extraction & Storage

When triggered, extract and store lessons from the recent conversation context.

Steps

  1. Scan recent context — identify the pitfall, bug fix, or key insight just discussed
  2. Store technical layer (category: fact, importance ≥ 0.8):
    Pitfall: [symptom]. Cause: [root cause]. Fix: [solution]. Prevention: [how to avoid].
    
  3. Store principle layer (category: decision, importance ≥ 0.85):
    Decision principle ([tag]): [behavioral rule]. Trigger: [when]. Action: [what to do].
    
  4. Verifymemory_recall with anchor keywords to confirm both entries retrievable
  5. Report — tell Master what was stored (brief summary)

Rules

  • Keep entries short and atomic (< 500 chars each)
  • If the lesson also affects a checklist or SKILL.md, update those files too
  • If no clear lesson is found in recent context, ask Master what to store

forumUser Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs222
Rating4.7 / 5.0
Version
Updated2026年3月17日
Comparisons1

User Rating

4.7(7)
5
0%
4
0%
3
0%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月17日
Last Updated2026年3月17日