pr-size-guard

Community

Enforces pull request size limits to improve review efficiency.

AuthorFScoward
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers often submit large pull requests that are difficult to review, leading to reduced code quality and slower feedback cycles.

Core Features & Use Cases

  • Size Monitoring: Automatically measures code change metrics such as line count, file count, and affected layers before pushing.
  • Size Threshold Detection: Alerts users if the changed code exceeds predefined thresholds, facilitating timely split or justification.
  • Use Case: When preparing a PR, run this script to ensure that the code volume stays within manageable limits, promoting better review practices.

Quick Start

Execute the measurement script to evaluate your current branch against the main branch and assess if the PR size is suitable for review.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pr-size-guard
Download link: https://github.com/FScoward/senju/archive/main.zip#pr-size-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.