This one captures insights from your conversation and stores them in two layers: a technical fact (the specific pitfall, cause, and fix) and a decision principle (the behavioral rule you should follow next time). It scans recent context when you trigger /lesson, writes both entries to memory with high importance scores, verifies they're retrievable, then reports back what got saved. The dual-layer approach is smart because you get both the tactical details and the strategic pattern, which means you're less likely to hit the same issue twice. If it detects the lesson should also update a checklist or skill file, it handles that too.

skills.sh installs
335
GitHub stars
4.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add win4r/memory-lancedb-pro --skill lesson --agent claude-code

Installs into .claude/skills of the current project.

Files

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. Verify — memory_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

Sponsors

Details

Repository
github.com/win4r/memory-lancedb-pro
Category
AI & Agent Building
First seen
Jun 3, 2026
1getsentry avatarsentry-cocoa-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). Use when asked to "add Sentry to iOS", "add Sentry to Swift", "install sentry-c334skills.sh installs
2gohypergiant avataraccelint-ts-best-practicesgohypergiant/agent-skillsComprehensive TypeScript/JavaScript coding standards focusing on type safety, defensive programming, and code correctness. Use when (1) Writing or reviewing TS/334skills.sh installs
3jwynia avatarnpm-packagejwynia/agent-skillsBuild and publish npm packages using Bun as the primary toolchain with npm-compatible output. Use when the user wants to create a new npm library, set up a Type334skills.sh installs
4paradedb avatarparadedb-skillparadedb/agent-skillsparadedb skill334skills.sh installs
5proffesor-for-testing avatarregression-testingproffesor-for-testing/agentic-qeStrategic regression testing with test selection, impact analysis, and continuous regression management. Use when verifying fixes don't break existing functiona334skills.sh installs
6unclecatvn avatardtg-baseunclecatvn/agent-skillsComplete reference for DTG Base module utilities and helpers. DTGBase is an abstract model providing common utility methods for date/time handling, barcode gene333skills.sh installs