run-pre-commit-checks

Community

Ensure code quality before committing.

Authormahmoud20138
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the essential checks required before committing code, preventing common errors and maintaining code integrity.

Core Features & Use Cases

  • Automated Linting: Enforces code style and catches potential issues using ESLint.
  • Type Checking: Verifies TypeScript types to prevent runtime errors.
  • Unit Testing: Runs all unit tests to ensure existing functionality is not broken.
  • Use Case: Before submitting a new feature, run this skill to guarantee your code adheres to project standards and passes all tests, saving review time and preventing regressions.

Quick Start

Run the pre-commit checks using the command npm run lint followed by npm run compile-tests and npm run unittest.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: run-pre-commit-checks
Download link: https://github.com/mahmoud20138/Claude-Skills-Collection/archive/main.zip#run-pre-commit-checks

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.