commit-prep-helper

Run pre-commit quality checks and generate Conventional Commits messages.

Updated Jun 11, 2025
One-click install
npx skills add https://github.com/nobu007/connective-byte --skill commit-prep-helper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-prep-helper
Source: https://github.com/nobu007/connective-byte/tree/main/.claude/skills/commit-prep-helper
Command: npx skills add https://github.com/nobu007/connective-byte --skill commit-prep-helper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines your Git workflow by automating pre-commit quality checks, ensuring every commit adheres to high standards and Conventional Commits specifications. It handles requests like "Commit this change" or "Code review then commit."

Core Features & Use Cases

  • Automated Quality Gates: Runs Lint, tests, and a basic code review (security, quality, complexity) on staged files before committing.
  • Conventional Commit Generation: Crafts commit messages following Conventional Commits rules, including type, scope, and a summary of all quality checks.
  • Multi-Language Support: Automatically detects project types (Node.js, Python, Rust, Go) and applies appropriate tools (ESLint, Black, Jest, pytest, cargo, gofmt, etc.).

Quick Start

I've staged my changes. Please run all quality checks and create a Conventional Commit message for them.

Frequently Asked Questions about commit-prep-helper

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

FAQPage Schema
How do I automate pre-commit checks before pushing Git commits?

Pre-commit checks automate quality gates—linting, testing, and code review—on staged files before committing. This Skill detects your project type (Node.js, Python, Rust, Go), runs language-specific tools like ESLint or pytest, and generates a Conventional Commits message, ensuring every commit meets quality standards without manual steps.

Does this work with Node.js, Python, Rust, and Go projects?

Yes. This Skill automatically detects your project type and applies appropriate tools: ESLint and Jest for Node.js/TypeScript, Black and pytest for Python, cargo for Rust, and gofmt for Go. It adapts to your language, so you don't configure tooling per project.

What is Conventional Commits and why should I use it?

Conventional Commits is a specification for commit messages that include type (fix, feat, etc.), scope, and description. It standardizes commit history, automates changelog generation, and clarifies intent. This Skill generates compliant messages automatically from your changes and quality checks.

Can I run code review and linting together before committing?

Yes. This Skill performs staged file detection, runs project-specific linting and tests with coverage, executes static code review (checking security, quality, and complexity), then generates a commit message summarizing all findings—all in one workflow.

What happens if my code fails quality checks?

Quality checks (lint, tests, code review) run on staged changes. If issues are found, the Skill reports them before committing, letting you fix problems locally. The commit only proceeds when checks pass, preventing flawed commits from reaching your repository.