git-commit

Validate Conventional Commits format and run pre-commit quality checks.

Updated Apr 14, 2025
One-click install
npx skills add https://github.com/theinterneti/TTA.dev --skill git-commit-theinterneti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/theinterneti/TTA.dev/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/theinterneti/TTA.dev --skill git-commit-theinterneti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, pyright, pytest, and includes scripts (resource) components.

What problem does it solve?

This Skill helps maintain code quality and consistency in the TTA.dev repository by enforcing Conventional Commits format and pre-commit quality checks.

Core Features & Use Cases

  • Conventional Commits Format: Ensures all commits follow the Conventional Commits standard for better readability and tooling integration.
  • Pre-commit Quality Checks: Performs formatting, checking, and fixing code style issues before committing.
  • Use Case: When making a commit in the TTA.dev repository, use this Skill to validate the commit message format and ensure code quality.

Quick Start

Use the git-commit skill to make a commit with a conventional commit message.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I enforce Conventional Commits format before pushing code?

You enforce Conventional Commits format by validating commit messages and running pre-commit quality checks before finalizing the commit. This Skill ensures formatting, type checking, and unit tests pass.

What pre-commit checks are required for passing code quality validation?

Required pre-commit checks for code quality validation include Ruff for code formatting, Pyright for type checking, and pytest for unit tests. The Skill runs these to fix style issues before committing.

Can I use Ruff and Pyright to automatically fix code style issues during a commit?

Yes, you can use Ruff and Pyright to fix code style issues automatically. This Skill performs formatting, checking, and fixing of style issues before allowing a commit to proceed.

Why do my git commits fail when they don't follow the Conventional Commits standard?

Git commits fail validation because the Skill strictly enforces the Conventional Commits standard. It blocks non-compliant messages from entering the repository to maintain consistency and tooling integration.

Does this pre-commit validation tool work specifically for the TTA.dev repository?

Yes, this pre-commit validation tool works specifically for the TTA.dev repository. It is designed to validate commit messages and ensure code quality checks within that specific project environment.