moot✳A little more connected.
Join Moot

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.

The simplest investment I ever made in my codebase. So good.

#coding#git#tools#software-development
1
0 comments
0 comments