commit

Run format, lint, type-check, and test steps before Git commits.

1.1k|68|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0 --skill commit-vm0-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/vm0-ai/vm0/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/vm0-ai/vm0 --skill commit-vm0-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures code quality by automating the pre-commit workflow: running format, lint, type checks, and tests, and validating commit messages before every commit.

Core Features & Use Cases

  • Automated Quality Checks: Execute formatting, linting, type checking, and test suites to catch issues early.
  • Conventional Commit Validation: Enforce standard commit messages and provide guidance to maintain a clean history.
  • Pipeline Integration: Run both operations together for a complete, repeatable pre-commit workflow across projects.

Quick Start

Run the pre-commit workflow locally by executing the following sequence in your project:

  • cd turbo
  • pnpm format
  • pnpm lint
  • pnpm check-types
  • pnpm test

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate pre-commit checks for formatting, linting, and type checking in a Node project?

Automate pre-commit checks by configuring a workflow that sequentially executes formatting, linting, type checking, and testing commands. This validates code quality across Node/TypeScript projects before finalizing any commit in local or CI environments.

How do I enforce conventional commit messages in my Git workflow?

Enforce conventional commit messages by integrating validation rules into your Git workflow. This checks commit messages against project guidelines automatically, ensuring a clean and standardized history for every commit.

Can I run format, lint, and test steps sequentially in a CI pipeline?

Yes, you can run format, lint, type-check, and test steps sequentially in a CI pipeline. The automated workflow executes these functional requirements in order to catch issues early before completing the commit process.

What is the best way to run a complete pre-commit workflow locally?

Run a complete pre-commit workflow locally by executing your project's format, lint, check-types, and test scripts in sequence. This repeatable pipeline ensures all code quality checks pass before committing changes.

Does this pre-commit workflow require any specific Git hooks manager?

No specific Git hooks manager is required. The workflow applies standard Git-based commit processes to automate formatting, linting, type checks, and conventional commit validation without additional dependencies.

Why does my conventional commit validation fail on non-standard messages?

Conventional commit validation fails when messages do not match project guidelines. The automated workflow enforces standard commit formatting to maintain a clean history, rejecting any messages that deviate from the defined structure.