Rechercher

PythonReactSEOPDF
GitHub Skill

commit-lint

Validate commit messages against conventional commit format

shunkakinoki☆ 6 Étoiles du dépôt1 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

/commit-lint — Commit message validation

Ensure commits follow conventional commit format and pass quality checks.

Commit Format

<type>[scope]: <description>

[body]

[footer]

Commit Types

Type Purpose
feat New feature
fix Bug fix
docs Documentation
style Formatting (no code change)
refactor Code restructuring
test Adding/fixing tests
chore Build/tooling changes
perf Performance improvement
ci CI configuration
build Build system changes
revert Revert previous commit

Pre-commit Checks

Auto-detected based on lock files (bun/pnpm/yarn/npm):

$PM run format   # Biome formatting
$PM run lint     # Linting checks
$PM run check    # Quality verification

Hook Detection

File System
lefthook.yml lefthook (automatic)
.pre-commit-config.yaml pre-commit (automatic)
Neither Manual validation

Examples

feat: add user authentication
fix(auth): resolve login validation error
docs: update API documentation
feat!: change API interface

BREAKING CHANGE: Method now requires email parameter

Guidelines

  • Keep header under 72 characters
  • Use present tense: "Add" not "Added"
  • Solo-authored commits only (no co-authorship)
  • AI attribution goes in PR description, not commits

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!