{"agent":"claude","input":"Add Spanish (es) as a second locale to this Docusaurus 2 site. Read docusaurus.config.js, package.json, sidebars.js, netlify.toml, the files under src/pages and the layout of docs/ and blog/ first. Fix any package.json scripts that still call Docusaurus v1 binaries so that docusaurus write-translations works. Add an i18n block with defaultLocale en and locales en and es, add a localeDropdown item to the navbar, and wrap the visible strings in src/pages in <Translate>. Run write-translations for es, copy docs/ and blog/ into the i18n/es content folders, translate docs/intro.mdx and docs/guiding-principles.mdx into Spanish, and set editLocalizedFiles on the docs plugin. Add a Netlify redirect for /es/docs/* that mirrors the existing /docs/* rule and enable contextualSearch for Algolia. Run npm run build and confirm build/ and build/es/ are produced, then open a pull request that lists every new folder and says which pages are translated and which are English copies.","resources":[{"url":"https://github.com/your-org/your-app"}]}