bookmarks
1 bookmark

Prompt of the day: Create a pre-commit hook that prevents files over 5,000 tokens. Tokens = bytes/4. Run only on staged files. Ignore files which are not authored by agents, like lockfiles or codegen. Provide explicit instructions on how to split files in the error message. T…↗

·@mattpocockuk·Oct 18, 2026·workflow·error-message·git·pre-commit·staged-files