learn

Automate post-mortem documentation from GitHub issues, pull requests, and git logs.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/dallenpyrah/pi --skill learn-dallenpyrah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/dallenpyrah/pi/tree/main/skills/learn
Command: npx skills add https://github.com/dallenpyrah/pi --skill learn-dallenpyrah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill aids in capturing and formalizing learnings from engineering cycles, ensuring that knowledge gained from projects is retained and can inform future endeavors.

Core Features & Use Cases

  • Post-Mortem Documentation: Automates the process of creating a comprehensive post-mortem for engineering cycles.
  • Analysis Extraction: Gathers information from issues, pull requests, review comments, git logs, and diffs to inform the analysis.
  • Automated Documentation: Writes, commits, and pushes learning documents, streamlining the knowledge retention process.

Quick Start

Execute the /learn command with the pull request number to capture the post-mortem for the specified PR.

Frequently Asked Questions about learn

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

FAQPage Schema
How do I automate post-mortem documentation for engineering cycles?

Automating post-mortem documentation involves analyzing issues, pull requests, and git logs to capture engineering learnings. This Skill extracts review comments and diffs to generate comprehensive post-mortem documents automatically.

Can I capture pull request learnings directly from GitHub?

Yes, you can capture pull request learnings by executing the /learn command with the PR number. It requires GitHub authentication via the gh CLI to retrieve issue analysis, review comments, and diffs for documentation.

What is the best way to retain engineering knowledge from completed projects?

Retaining engineering knowledge is achieved by formalizing post-mortem learnings into documents. This Skill analyzes git logs and pull request data, then writes, commits, and pushes the learning documents to streamline knowledge retention.

Do I need the gh CLI to generate post-mortem learnings?

Yes, the gh CLI is required to generate post-mortem learnings. The Skill depends on GitHub authentication through the gh CLI for API interaction to retrieve issues, pull requests, and git log data.

What data sources are used for engineering post-mortem analysis?

Engineering post-mortem analysis uses issues, pull requests, review comments, git logs, and diffs as data sources. The Skill gathers this information to inform the analysis and create comprehensive documentation of learnings.

Does this post-mortem tool work with existing GitHub repositories?

Yes, this post-mortem tool works with existing GitHub repositories by integrating through the gh CLI. It retrieves data from your repository's issues and pull requests to automate the capture and documentation of learnings.