commit-validator — for Claude Code commit-validator, agent-studio, community, for Claude Code, ide skills, References, archive, SCAFFOLD_SKILLS_ARCHIVE_MAP.md, commit, validation

v1.0.0

Acerca de este Skill

Ideal para Agentes de Revisión de Código que necesitan una validación automática de mensajes de confirmación contra la especificación de Commits Convencionales. Resumen localizado: Validates commit messages against Conventional Commits specification using programmatic validation. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Características

Commit Message Validator - Programmatically validates commit messages against the Conventional
Before committing code
In pre-commit hooks
In CI/CD pipelines
During code review

# Core Topics

oimiragieo oimiragieo
[16]
[0]
Updated: 3/10/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
50
Canonical Locale
en
Detected Body Locale
en

Ideal para Agentes de Revisión de Código que necesitan una validación automática de mensajes de confirmación contra la especificación de Commits Convencionales. Resumen localizado: Validates commit messages against Conventional Commits specification using programmatic validation. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

¿Por qué usar esta habilidad?

Habilita a los agentes a aplicar mensajes de commit estandarizados utilizando Conventional Commits, integrándose perfectamente con ganchos pre-commit y tuberías de CI/CD, y aprovechando commitlint para la validación.

Mejor para

Ideal para Agentes de Revisión de Código que necesitan una validación automática de mensajes de confirmación contra la especificación de Commits Convencionales.

Casos de uso accionables for commit-validator

Validar mensajes de commit contra la especificación de Commits Convencionales durante la revisión de código
Automatizar las comprobaciones de mensajes de commit en ganchos pre-commit para garantizar la coherencia
Integrar la validación de commit en tuberías de CI/CD para mejorar la calidad del código

! Seguridad y limitaciones

  • Requiere integración con ganchos pre-commit o tuberías de CI/CD
  • Específico de la especificación de Commits Convencionales
  • Necesita acceso a los mensajes de commit para la validación

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is commit-validator?

Ideal para Agentes de Revisión de Código que necesitan una validación automática de mensajes de confirmación contra la especificación de Commits Convencionales. Resumen localizado: Validates commit messages against Conventional Commits specification using programmatic validation. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install commit-validator?

Run the command: npx killer-skills add oimiragieo/agent-studio/commit-validator. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for commit-validator?

Key use cases include: Validar mensajes de commit contra la especificación de Commits Convencionales durante la revisión de código, Automatizar las comprobaciones de mensajes de commit en ganchos pre-commit para garantizar la coherencia, Integrar la validación de commit en tuberías de CI/CD para mejorar la calidad del código.

Which IDEs are compatible with commit-validator?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for commit-validator?

Requiere integración con ganchos pre-commit o tuberías de CI/CD. Específico de la especificación de Commits Convencionales. Necesita acceso a los mensajes de commit para la validación.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add oimiragieo/agent-studio/commit-validator. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use commit-validator immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

commit-validator

Resumen localizado: Validates commit messages against Conventional Commits specification using programmatic validation. This AI agent skill supports Claude

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

References (archive): SCAFFOLD_SKILLS_ARCHIVE_MAP.md — commit validation logic inspired by claude-flow v3 git-commit hook, everything-claude-code commitlint.

<identity> Commit Message Validator - Programmatically validates commit messages against the [Conventional Commits](https://www.conventionalcommits.org/) specification. </identity> <capabilities> - Before committing code - In pre-commit hooks - In CI/CD pipelines - During code review - To enforce team standards </capabilities> <instructions> <execution_process>

Step 1: Validate Commit Message

Validate a commit message string against Conventional Commits format:

Format: <type>(<scope>): <subject>

Types:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Code style changes (formatting, etc.)
  • refactor: Code refactoring
  • perf: Performance improvements
  • test: Adding or updating tests
  • chore: Maintenance tasks
  • ci: CI/CD changes
  • build: Build system changes
  • revert: Reverting a previous commit

Validation Rules:

  1. Must start with type (required)
  2. Scope is optional (in parentheses)
  3. Subject is required (after colon and space)
  4. Use imperative, present tense ("add" not "added")
  5. Don't capitalize first letter
  6. No period at end
  7. Can include body and footer (separated by blank line) </execution_process> </instructions>
<examples> <code_example> **Implementation**

Use this regex pattern for validation:

javascript
1const CONVENTIONAL_COMMIT_REGEX = 2 /^(feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert)(\(.+\))?: .{1,72}/; 3 4function validateCommitMessage(message) { 5 const lines = message.trim().split('\n'); 6 const header = lines[0]; 7 8 // Check format 9 if (!CONVENTIONAL_COMMIT_REGEX.test(header)) { 10 return { 11 valid: false, 12 error: 'Commit message does not follow Conventional Commits format', 13 }; 14 } 15 16 // Check length 17 if (header.length > 72) { 18 return { 19 valid: false, 20 error: 'Commit header exceeds 72 characters', 21 }; 22 } 23 24 return { valid: true }; 25}

</code_example>

<code_example> Valid Examples:

feat(auth): add OAuth2 login support
fix(api): resolve timeout issue in user endpoint
docs(readme): update installation instructions
refactor(components): extract common button logic
test(utils): add unit tests for date formatting

</code_example>

<code_example> Invalid Examples:

Added new feature  # Missing type
feat:new feature   # Missing space after colon
FEAT: Add feature  # Type should be lowercase
feat: Added feature  # Should use imperative tense

</code_example>

<code_example> Pre-commit Hook (.git/hooks/pre-commit):

bash
1#!/bin/bash 2commit_msg=$(git log -1 --pretty=%B) 3if ! node .claude/tools/validate-commit.mjs "$commit_msg"; then 4 echo "Commit message validation failed" 5 exit 1 6fi

</code_example>

<code_example> CI/CD Integration:

yaml
1# .github/workflows/validate-commits.yml 2- name: Validate commit messages 3 run: | 4 git log origin/main..HEAD --pretty=%B | while read msg; do 5 node .claude/tools/validate-commit.mjs "$msg" || exit 1 6 done

</code_example> </examples>

<examples> <formatting_example> **Output Format**

Returns structured validation result:

json
1{ 2 "valid": true, 3 "type": "feat", 4 "scope": "auth", 5 "subject": "add OAuth2 login support", 6 "warnings": [] 7}

Or for invalid messages:

json
1{ 2 "valid": false, 3 "error": "Commit message does not follow Conventional Commits format", 4 "suggestions": [ 5 "Use format: <type>(<scope>): <subject>", 6 "Valid types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert" 7 ] 8}

</formatting_example> </examples>

<examples> <usage_example> **Example Commands**:
bash
1# Validate a commit message 2node .claude/tools/validate-commit.mjs "feat(auth): implement jwt login" 3 4# Validate from stdin (e.g. in a hook) 5echo "fix: incorrect variable name" | node .claude/tools/validate-commit.mjs

</usage_example> </examples>

<instructions> <best_practices> 1. **Validate Early**: Check commit messages before pushing 2. **Provide Feedback**: Show clear error messages with suggestions 3. **Enforce in CI**: Add validation to CI/CD pipelines 4. **Team Training**: Educate team on Conventional Commits format 5. **Tool Integration**: Integrate with Git hooks and IDEs </best_practices> </instructions>

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern -> .claude/context/memory/learnings.md
  • Issue found -> .claude/context/memory/issues.md
  • Decision made -> .claude/context/memory/decisions.md

ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

Habilidades relacionadas

Looking for an alternative to commit-validator or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Resumen localizado: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Resumen localizado: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

Resumen localizado: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Resumen localizado: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Desarrollador