i18n-array-groq-query-migration
Installation
SKILL.md
Internationalized Array GROQ Migration
Goal
Help users find GROQ queries that still read locale from _key and rewrite them safely for v5.
When To Use
Use this skill when a user asks to:
- migrate
sanity-plugin-internationalized-arrayfrom v4 to v5 - migrate
@sanity/document-internationalizationfrom v5 to v6 alongsidesanity-plugin-internationalized-arraylanguage field changes - find queries that still use
_keyfor language lookup - update GROQ filters like
_key == "en"or_key == $language
Detection Workflow
Detection commands below use grep. If your environment differs, use your editor's global search with equivalent patterns.