home / skills / ehtbanton / claudeskillsrepo / commitlint-config-generator
This skill generates a complete commitlint configuration file enforcing conventional commits for projects.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill commitlint-config-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: commitlint-config-generator
description: Generate commitlint configuration files for enforcing conventional commit messages. Triggers on "create commitlint config", "generate commit lint", "commitlint setup", "commit message rules".
---
# Commitlint Config Generator
Generate commitlint configuration files for enforcing conventional commit message formats.
## Output Requirements
**File Output:** `commitlint.config.js` or `.commitlintrc.js`
**Format:** Valid commitlint configuration
**Standards:** Conventional Commits 1.0.0
## When Invoked
Immediately generate a complete commitlint configuration with rules for conventional commits.
## Example Invocations
**Prompt:** "Create commitlint config for conventional commits"
**Output:** Complete `commitlint.config.js` with conventional commit rules.
This skill generates a ready-to-use commitlint configuration to enforce Conventional Commits 1.0.0. It produces either commitlint.config.js or .commitlintrc.js files with rules tuned for conventional commit message format. Use it to standardize commit messages across projects and CI pipelines.
When invoked with triggers like "create commitlint config" or "commitlint setup", the skill emits a complete JavaScript config file that commitlint can consume. The configuration includes rules for type/scope/subject formats, header length, lowercase requirements, and required ticket or scope conventions when requested. Output is valid commitlint configuration compatible with commitlint v* and conventional commit tooling.
What file will this skill output?
It generates a complete commitlint.config.js or .commitlintrc.js file containing Conventional Commits rules.
Can I require custom types or ticket prefixes?
Yes. The generated config can be customized to enforce specific types, require ticket prefixes, or mandate scopes.