TLDRCommunity

Should agent skills be lint rules instead of text instructions?

I've been moving my agent skills from text instructions to lint rules, and it's been the most useful change to my setup in a while.

Text instructions are suggestions. The model reads them, mostly follows them, and drifts a few sessions later. A lint rule is a hard boundary. The agent gets a concrete error, fixes it, and the mistake doesn't come back. It's also cheaper, since the rule doesn't sit in the context window every turn.

These days, if I've given the same correction twice, it becomes a check. Text stays for things that can't be checked, like intent, tone, and judgment calls.

Curious what others think of this approach.

Young_Kim57m

0 comments

No comments yet.