feat: enhance commit-msg hook with full Conventional Commits spec - #556
Open
Prozy wants to merge 2 commits into
Open
feat: enhance commit-msg hook with full Conventional Commits spec#556Prozy wants to merge 2 commits into
Prozy wants to merge 2 commits into
Conversation
Add commit-msg-normalize.sh that validates and auto-normalizes commit messages: enforces valid type prefix, lowercase type, 72-char subject limit, strips trailing periods, wraps body at 72 chars while preserving git trailers and URLs. Integrate into pre-commit-patterns.yml, execution-patterns.yml Commit_Standards, and git.md command docs. Nightshift-Task: commit-normalize Nightshift-Ref: https://github.com/marcus/nightshift Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…port Add perf and ci types to align with the full Conventional Commits specification. Add passthrough for merge, fixup, squash, and amend commits so the hook doesn't interfere with git workflows. Add SKIP_COMMIT_MSG_HOOK env var for CI/automation bypass. Integrate hook installation into install.sh via --install-hooks flag. Update execution-patterns.yml and pre-commit-patterns.yml for consistency. Nightshift-Task: commit-normalize Nightshift-Ref: https://github.com/marcus/nightshift Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
perfandcicommit types to align with the full Conventional Commits specificationSKIP_COMMIT_MSG_HOOK=1environment variable for CI/automation bypassinstall.shvia--install-hooksflagexecution-patterns.ymlandpre-commit-patterns.ymlfor consistencyTest plan
SKIP_COMMIT_MSG_HOOK=1bypasses all validation!) works with and without scopefeat()correctly rejected🤖 Generated with Claude Code
Automated by nightshift