pre-commit-review

Community

Ensure code quality before you commit.

Authorawegg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill solves the challenge of inconsistent pre-commit code quality by providing a structured, automated workflow that enforces specification alignment, maintainability standards, and adequate test coverage before changes are committed.

Core Features & Use Cases

  • Automated change analysis using the provided PowerShell scripts to surface changed files, lines touched, and potential issues.
  • Systematic review guided by the references/review-checklist.md to verify specification alignment, maintainability, and security considerations.
  • Test-coverage enforcement via the run_tests_with_coverage.ps1 script to ensure overall code quality exceeds the 50% threshold.
  • Use Case: Before submitting a commit, run the analysis and checklist to produce actionable findings and confirm readiness for review.

Quick Start

Run the pre-commit review workflow on your working tree:

  • Analyze changes: .github/skills/pre-commit-review/scripts/analyze_changes.ps1
  • Open the checklist: references/review-checklist.md
  • Run tests with coverage: .github/skills/pre-commit-review/scripts/run_tests_with_coverage.ps1

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: pre-commit-review
Download link: https://github.com/awegg/BackupChrono/archive/main.zip#pre-commit-review

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 223,000+ vetted skills library on demand.