learning

Extract reusable patterns from development sessions into a structured knowledge base.

49|3|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/xiaobei930/claude-code-best-practices --skill learning-xiaobei930
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learning
Source: https://github.com/xiaobei930/claude-code-best-practices/tree/main/skills/learning
Command: npx skills add https://github.com/xiaobei930/claude-code-best-practices --skill learning-xiaobei930

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineers capture debugging insights and project-specific knowledge from development sessions, turning ad hoc learnings into a structured memory.

Core Features & Use Cases

  • Automatic extraction of errors, debugging tips, reusable code snippets, and project knowledge after sessions.
  • Structured organization into the knowledge base with folders like errors, debugging, workarounds, patterns, and project.
  • Use Case: at the end of a long debugging session, summarize lessons learned and create reusable patterns for future reference.

Quick Start

Run this skill at the end of a session to extract and archive reusable patterns into your knowledge base.

Frequently Asked Questions about learning

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

FAQPage Schema
How do I extract reusable debugging patterns from development sessions?

You can extract reusable debugging patterns from development sessions by running this skill at session end to automatically categorize and archive errors, workarounds, and project knowledge into a structured knowledge base.

What is the best way to preserve project knowledge after a long debugging session?

The best way to preserve project knowledge is to run this skill at the end of your session, which extracts debugging insights and stores them in structured folders like errors, debugging, and workarounds for future reference.

Can I configure the knowledge base paths and extraction thresholds?

Yes, you can configure knowledge base paths and extraction thresholds for session learnings by adjusting settings in the config.json file to match your project's specific directory structure and requirements.

Does this pattern extraction skill require external dependencies?

No, this pattern extraction skill operates without external dependencies, using frontmatter-driven templates and optional automation scripts to safely handle and store your development session data.

How are extracted development learnings organized in the knowledge base?

Extracted development learnings are organized into a structured knowledge base with dedicated folders for errors, debugging tips, workarounds, patterns, and project-specific knowledge to ensure easy retrieval.

When should I run the session knowledge extraction process?

You should run the session knowledge extraction process at the end of a development or debugging session to capture ad hoc learnings and transform them into reusable patterns before context is lost.