code-review-memory

Store and surface repo-specific code review lessons before each review.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill code-review-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-memory
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/code-review-memory
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill code-review-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code reviews often repeat the same lessons; this skill stores repo-specific review insights and surfaces them at the start of each review to prevent repeating the same mistakes.

Core Features & Use Cases

  • Memory-backed lesson store: accumulates recurring review findings per repository.
  • Context surface at kickoff: surfaces prior lessons before reviewing a target file or module.
  • Lifecycle & governance: requires explicit user confirmation before committing new lessons to memory.

Quick Start

Load prior review lessons for a target file or module before starting a review.

Frequently Asked Questions about code-review-memory

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

FAQPage Schema
How do I stop repeating the same mistakes in code reviews?

You can prevent repeating code review mistakes by storing repo-specific lessons in a memory-backed store that surfaces prior findings at the start of each new review. This ensures historical context is available before evaluating files or modules.

How do I surface past code review lessons before starting a PR review?

Past code review lessons are surfaced at review kickoff by loading accumulated findings from the memory store. The system automatically presents prior insights before evaluating target files, modules, or pull requests.

Can I use memory-backed code review lessons for module-level reviews?

Yes, memory-backed code review lessons apply to file-level, module-level, PR reviews, and review tool runs across the entire repository. The system surfaces relevant patterns from accumulated lessons regardless of review scope.

Does the code review memory store require confirmation before adding new lessons?

Yes, the code review memory store requires explicit user confirmation before appending new lessons. This governance mechanism ensures only verified review findings are committed to the persistent repository-specific lesson store.

What is the best way to document recurring code review findings per repository?

Documenting recurring code review findings per repository is best handled by a memory lifecycle system that accumulates lessons and surfaces them before each review. Lessons are stored at a default path with optional override and require explicit confirmation before committing.

Are there limitations to using automated memory stores for code review lessons?

A limitation of automated memory stores for code review lessons is that new entries require explicit user confirmation before appending, preventing autonomous memory updates. Additionally, lessons are repository-specific and do not transfer across different repos.