Skip documentation navigation

Pattern packs

presets semantics

A built-in pack lists the presets it belongs to. "presets": ["all"] restricts a pack to the all preset. The 8 preset names are default, ryan, technical, ste, minimal, git, statistical, and all, defined in hooks/lib/patterns/presets.json.

A pack of your own with no presets array is active under every preset. Give a pack "presets": ["all"] to keep it off until someone asks for it.

Setting features.aiWriting.categories replaces the preset’s category list, and only the listed category ids run.

Activation is per category. A pack that reuses a built-in category id joins that category, and the whole category then runs under every preset either one is active in. Give a pack its own category block to keep the built-in patterns out.