session-learnings

Analyzes code changes and session context to propose documentation and skill updates.

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/sumrae412/claude-skills --skill session-learnings-sumrae412
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-learnings
Source: https://github.com/sumrae412/claude-skills/tree/main/session-learnings
Command: npx skills add https://github.com/sumrae412/claude-skills --skill session-learnings-sumrae412

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of reflecting on completed work sessions, identifying key learnings, and proposing updates to documentation and skills to prevent future mistakes and codify best practices.

Core Features & Use Cases

  • Proactive Reflection: Automatically analyzes code changes and session conversations after significant commits.
  • Skill & Documentation Updates: Proposes specific, actionable updates to personal skills, project skills, and CLAUDE.md based on learnings.
  • Use Case: After implementing a complex new feature and resolving several user-reported bugs, invoke this skill to ensure the lessons learned about edge cases, user corrections, and new patterns are immediately documented and integrated into your knowledge base.

Quick Start

Run the session-learnings skill after committing significant work to capture lessons learned.

Frequently Asked Questions about session-learnings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically document session learnings after committing code?

Session learnings can be captured by analyzing code changes and conversation context to propose updates for project documentation and skills. This process automates post-commit reflection to codify best practices and prevent future mistakes by extracting actionable insights from completed work sessions.

What is the best way to analyze bug investigations and update CLAUDE.md?

Analyzing bug investigations requires compiling structured session context and executing background agents to generate documentation proposals. This captures edge cases and user corrections discovered during the investigation and integrates them into your project knowledge base.

When do I need to run post-commit reflection for code review best practices?

Post-commit reflection for code review best practices is needed after implementing complex features or resolving bugs to capture session learnings. This ensures that lessons about edge cases, user corrections, and new patterns are immediately documented and integrated into your development workflow.

Does session-learnings require any dependencies or specific environment setup?

Session-learnings requires no external dependencies, operating with standard scripts. It requires structured session context compilation and background agent execution to analyze code changes and generate documentation proposals.

How do I establish coding conventions from session analysis without manual review?

Establishing coding conventions from session analysis involves applying automated reflection to propose specific updates to personal skills, project skills, and documentation. This codifies best practices automatically, preventing future mistakes without requiring manual review of the entire session.