learnable-pattern-search

Extract learnable coding patterns from GitHub pull request review comments.

4|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/brave-experiments/brave-core-bot --skill learnable-pattern-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learnable-pattern-search
Source: https://github.com/brave-experiments/brave-core-bot/tree/main/.claude/skills/learnable-pattern-search
Command: npx skills add https://github.com/brave-experiments/brave-core-bot --skill learnable-pattern-search

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of analyzing GitHub PR review comments to identify recurring patterns, coding conventions, and best practices that are not yet documented, thereby improving the overall quality and consistency of the codebase and bot documentation.

Core Features & Use Cases

  • Pattern Discovery: Identifies generalizable and actionable insights from review comments.
  • Documentation Improvement: Updates existing documentation or flags new patterns for human review.
  • Mode Flexibility: Supports analysis of specific PRs or all PRs reviewed by a given GitHub user.
  • Use Case: Automatically scan all reviews on a critical feature's PRs to ensure adherence to new architectural guidelines and update the relevant design documents.

Quick Start

Analyze review comments from pull requests 1234 and 5678 for learnable patterns.

Frequently Asked Questions about learnable-pattern-search

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

FAQPage Schema
How do I extract coding conventions from GitHub PR review comments?

You can extract learnable patterns from GitHub PR review comments by analyzing them for recurring architectural approaches and best practices. This process identifies generalizable, actionable insights to improve codebase consistency and update documentation.

Can I analyze all pull requests reviewed by a specific GitHub user?

Yes, you can analyze all pull requests reviewed by a specific GitHub user. The analysis mode is flexible, supporting both individual PR number extraction and comprehensive review of all PRs associated with a given user.

Do I need GitHub CLI to analyze pull request review patterns?

Yes, you need the GitHub CLI installed to fetch pull request data for pattern analysis. The tool relies on the CLI for data fetching and strictly adheres to GitHub's rate limiting protocols during the extraction process.

How do I identify undocumented best practices from code reviews?

To identify undocumented best practices from code reviews, analyze PR review comments for recurring patterns and architectural conventions. This process flags generalizable insights that are not yet documented for human review and documentation improvement.

Does GitHub CLI rate limiting affect PR review pattern analysis?

Yes, GitHub CLI rate limiting affects PR review pattern analysis, as the extraction process strictly adheres to GitHub's rate limiting protocols. This ensures stable data fetching when analyzing specific PR numbers or all reviews by a given user.

What's the best way to automate code review pattern discovery on GitHub?

The best way to automate code review pattern discovery on GitHub is to extract learnable patterns from PR review comments using the GitHub CLI. This identifies recurring coding conventions and architectural approaches, generating actionable insights for documentation updates.