Document pre-commit hook setup #24

Open
opened 2026-01-01 22:02:16 +00:00 by HugoNijhuis · 0 comments
Owner

Summary

Add a pre-commit hook script that validates commits reference issues, with documentation on how to install it.

Acceptance Criteria

  • Create scripts/pre-commit hook script
  • Hook validates commit messages reference an issue (e.g., #123 or Closes #123)
  • Hook can be bypassed with --no-verify for WIP commits
  • README or CLAUDE.md documents installation: ln -s scripts/pre-commit .git/hooks/

Technical Notes

  • Add to scripts/ directory
  • Keep it simple - just issue reference validation
## Summary Add a pre-commit hook script that validates commits reference issues, with documentation on how to install it. ## Acceptance Criteria - [ ] Create `scripts/pre-commit` hook script - [ ] Hook validates commit messages reference an issue (e.g., #123 or Closes #123) - [ ] Hook can be bypassed with --no-verify for WIP commits - [ ] README or CLAUDE.md documents installation: `ln -s scripts/pre-commit .git/hooks/` ## Technical Notes - Add to `scripts/` directory - Keep it simple - just issue reference validation
HugoNijhuis added this to the Ensure consistent quality milestone 2026-01-01 22:02:16 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: flowmade-one/architecture#24