CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/commit-msg-lint

Check and fix commit messages against Conventional Commits 1.0.0 with ten rules (C001-C010) and safe auto-fix suggestions. Use when the user asks to write, review or validate a commit message, or to set up commit message rules.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

hook.mdreferences/

Enforcing the rules in your own commit-msg hook

This skill never installs a hook. If the user wants one, they can create .git/hooks/commit-msg in their repository themselves, make it executable, and point it at the script they copied:

#!/bin/sh
# .git/hooks/commit-msg  (runs with the message file path as $1)
exec python3 path/to/skill/scripts/commit_lint.py "$1"

Exit code 1 blocks the commit and prints the findings. Add --fix to rewrite the message automatically when a safe suggestion exists. Remind the user that hooks are local to each clone; a team convention also needs a check in CI.

references

SKILL.md

tile.json