next.js
7fb24bf4 - docs: clarify directory-specific test gate guidance (#101200)

Commit
24 days ago
docs: clarify directory-specific test gate guidance (#101200) ### What? Clarify when test mode gates are unnecessary in the agent guidance for `@gate` and `@force-gate`. ### Why? Test directories already constrain the modes in which their tests run. Repeating those constraints in gate directives adds noise without changing test coverage. ### How? Add directory-aware guidance to the existing gate skill: development tests do not need a dev gate, production tests do not need a start gate, and tests outside `test/e2e/` do not need a non-deploy gate. Apply the same guidance to both directive forms without changing test behavior. ### Verification - `git diff canary...HEAD --check` passed. - Markdown formatting reviewed manually; Prettier was not run because workspace dependencies are not installed. - Runtime tests not run (documentation-only change). <!-- NEXT_JS_LLM --> <!-- fleet 82be5d3d-0218-41a7-9fdb-f06cae848907 --> Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Author
Parents
Loading