extract-learnings

Extract engineering learnings from GitHub and Azure DevOps PR feedback into general_coding_instructions.md.

3|16|Updated Mar 14, 2019
One-click install
npx skills add https://github.com/Azure/c-build-tools --skill extract-learnings-azure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-learnings
Source: https://github.com/Azure/c-build-tools/tree/main/.github/skills/extract-learnings
Command: npx skills add https://github.com/Azure/c-build-tools --skill extract-learnings-azure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract learnings about team style, preferences, and engineering practices from PR review comments, then save them to the project's general_coding_instructions.md.

Core Features & Use Cases

  • Automated learning extraction: identify actionable takeaways from PR feedback and categorize them into existing sections in general_coding_instructions.md.
  • Centralized guidance updates: update or create entries in .github/general_coding_instructions.md across repos to reflect team conventions.
  • Cross-platform support: handles PRs from GitHub and Azure DevOps, filtering bot and system messages to preserve quality learnings.
  • Use Case: when PR reviews conclude, run this skill to capture patterns (naming, formatting, error handling) and codify them for the team.

Quick Start

Run the extract-learnings workflow on a target PR to pull feedback and update the project’s general_coding_instructions.md.

Frequently Asked Questions about extract-learnings

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

FAQPage Schema
How do I extract coding guidelines from PR feedback automatically?

To extract coding guidelines from PR feedback, run the extract-learnings workflow on a target PR. It parses review comments, filters out bot messages, and saves actionable team conventions directly to your project's general_coding_instructions.md file.

Does the extract-learnings workflow support both GitHub and Azure DevOps pull requests?

Yes, the extract-learnings workflow supports both GitHub and Azure DevOps pull requests. It parses PR feedback from either platform, filters out system and bot comments, and extracts structured engineering learnings with source references.

What is the best way to document team conventions from code review comments?

Documenting team conventions from code review comments is best handled by categorizing extracted learnings into existing sections like Code Style or Error Handling. This skill automatically updates your .github/general_coding_instructions.md file to codify these patterns.

How do I update general_coding_instructions.md with new engineering learnings?

You can update general_coding_instructions.md by running the extract-learnings workflow after a PR review concludes. The skill automatically categorizes actionable takeaways and applies them to existing or newly created sections in the project documentation.

Can I filter out bot and system messages when parsing PR feedback for learnings?

Yes, you can filter out bot and system messages when parsing PR feedback. The extract-learnings workflow automatically removes these automated comments to ensure only high-quality, human-generated engineering learnings are captured and saved.

When should I run the workflow to capture engineering learnings from PR reviews?

You should run the workflow to capture engineering learnings when PR reviews conclude. Running it at this stage ensures all feedback on naming, formatting, and error handling is parsed and codified into the project's general_coding_instructions.md file.