diff --git a/skills/gateguard/SKILL.md b/skills/gateguard/SKILL.md index 2c7fd02bf..553db807a 100644 --- a/skills/gateguard/SKILL.md +++ b/skills/gateguard/SKILL.md @@ -705,7 +705,7 @@ environment variables documented above. - Let the gate fire naturally. Don't try to pre-answer the gate questions — the investigation itself is what improves quality. A real search for the target before editing is investigation, and is credited (see [What Counts as Already Done](#what-counts-as-already-done)). - Customize gate messages for your domain. If your project has specific conventions, add them to the gate prompts. -- Use `GATEGUARD_EXEMPT_GLOBS` to skip first-touch checks for generated trees like `.venv/` and `node_modules/`; the hook does not read `.gateguard.yml`. Do not exempt `.git/**`: a literal `.git/` does not match `.git/config`, and a broad metadata glob would also skip sensitive-target and hard-link checks. +- Use `GATEGUARD_EXEMPT_GLOBS` with recursive patterns such as `.venv/**,node_modules/**,**/node_modules/**`; the hook does not read `.gateguard.yml`. Do not exempt `.git/**`: a literal `.git/` does not match `.git/config`, and a broad metadata glob would also skip sensitive-target and hard-link checks. ## Related Skills