extract-learnings

Extract reusable learnings from development logs into dated .context/learnings files.

14|1|Updated May 6, 2026
One-click install
npx skills add https://github.com/wzyxdwll/ccgx-workflow --skill extract-learnings-wzyxdwll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-learnings
Source: https://github.com/wzyxdwll/ccgx-workflow/tree/main/templates/skills/tools/extract-learnings
Command: npx skills add https://github.com/wzyxdwll/ccgx-workflow --skill extract-learnings-wzyxdwll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract reusable knowledge from recent development activity and write into .context/learnings/<YYYY-MM-DD>-extract.md to avoid repeating mistakes.

Core Features & Use Cases

  • Collect raw material: decision logs, sessions, and git commits.
  • Classify into patterns, anti-patterns, ADR-like decisions, tooling pitfalls, and pain points.
  • Write a Learnings Extract report named "Learnings Extract — <date-range>" and store in .context/learnings.
  • Optional PR suggestions to promote patterns to rules.

Quick Start

Run the extraction command to generate a dated learnings file from the latest sessions.

Frequently Asked Questions about extract-learnings

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

FAQPage Schema
How do I extract learnings from development conversations and git logs?

You can extract learnings by scanning decision logs, development sessions, and git commits to classify patterns, anti-patterns, and tooling pitfalls into a searchable knowledge base file.

What is the best way to automate a retrospective knowledge base from ADRs?

Automating a retrospective knowledge base involves scanning raw materials like ADRs and decision logs, then classifying them into patterns and pain points to write a dated extract report.

How does writing decision logs to a context store prevent repeating mistakes?

Writing decision logs to a context store prevents repeating mistakes by capturing classified patterns and tooling pitfalls from recent sessions into a centralized, searchable learnings file.

Can I generate PR suggestions to promote patterns into rules from git histories?

Yes, you can generate optional PR suggestions to promote identified patterns into rules after extracting and classifying reusable knowledge from git histories and development sessions.

Do I need a specific context store directory to save extracted learnings files?

You need a .context/learnings directory to store the generated dated extract files, which organizes your knowledge base by naming reports with the specific date range.

What are the limitations of extracting knowledge from raw development sessions?

Extracting knowledge from raw development sessions requires available raw materials like decision logs and git commits, limiting output to classified patterns and pain points written into a markdown file.