To prepare this recipe gluten-free, substitute the all-purpose flour with a certified gluten-free 1:1 baking flour blend. Ensure that the remaining ingredients, particularly the chocolate chips and vanilla extract, are labeled gluten-free, as some brands may contain traces of wheat or be processed in shared facilities.