# Óscar Gallego — Portfolio & Blog > Bilingual (ES/EN) technical blog by Óscar Gallego, a software engineer writing about AI-assisted development, agent skills, Claude Code, Astro, TypeScript and developer tooling. Append `.md` to any blog post URL to get its clean-markdown version. ## iOS apps (App Store, free) - [Rydger: Moto & Car Maintenance](https://apps.apple.com/app/id6788900298?ct=portfolio-llms-en&mt=8): iOS app for motorcycles and cars: maintenance reminders, true cost per kilometre and odometer capture from a photo. No account, your data in your iCloud. Details and case study: https://www.oscargallegoruiz.com/en/apps/rydger/#caso - [WealthSim: Compound Interest](https://apps.apple.com/app/id6794881942?ct=portfolio-llms-en&mt=8): Compound interest calculator for iPhone: project monthly contributions at your chosen rate of return and compare your balance with your plan. No account. Details and case study: https://www.oscargallegoruiz.com/en/apps/wealthsim/#caso ## Projects (https://www.oscargallegoruiz.com/en/projects/) - [REBT Calculator](https://calculadorarebt.com/): For electricians: works out cable cross-section, voltage drop and maximum length under Spain's REBT regulation (ITC-BT-19 and UNE-HD 60364-5-52), citing the exact table and why each option was rejected. - [SnapCompress](https://snapcompress.io/): Compress, convert, and resize images and camera RAW files instantly in the browser via WebAssembly. Supports JPEG, PNG, WEBP, HEIC, CR2, NEF, ARW, and DNG. 100% free and private with client‑side processing and zero uploads. - [Link-in-bio](https://links.oscargallegoruiz.com/): Self-hosted link-in-bio running as a single zero-framework Node.js process with zero third-party trackers. Includes a live visual editor, customizable themes, scheduled links, first-party click analytics, and double opt-in newsletter capture. - [GA4 Manager](https://github.com/garbarok/ga4-manager): Open-source CLI and MCP server that automates Google Analytics 4 and Search Console setup using declarative YAML files. Features pre‑flight validation, dry‑run mode, and Admin API integration built in Go. - [libraw-wasm-nothread](https://www.npmjs.com/package/libraw-wasm-nothread): Single-threaded WebAssembly fork of LibRaw compiled with Emscripten without pthreads or SharedArrayBuffer. Fixes recursive Web Worker build hangs in modern bundlers like Next.js 16 Turbopack when decoding RAW photos in the browser. ## Case studies (the problem, decisions, what went wrong, what I would do differently) - [GA4 Manager: case study of a CLI and MCP server](https://www.oscargallegoruiz.com/en/projects/ga4-manager/): How and why I built GA4 Manager, an open-source Go CLI and MCP server: the decisions, the real failures and what I would do differently. - [SnapCompress: case study of a local image tool](https://www.oscargallegoruiz.com/en/projects/snapcompress/): Why SnapCompress processes images in your browser, the technical decisions I made, what broke and what I would do differently. ## Blog posts (English) - [On-device AI: keep wrong numbers out of your forms](https://www.oscargallegoruiz.com/en/blog/on-device-ai-extraction-rules.md): Apple's on-device AI misread my mileage, then my app picked the wrong oil change. Field-level rules, an editable task, and the fallback the fix still misses. - [Testing a SwiftUI app on the iPhone Duo simulator, headless](https://www.oscargallegoruiz.com/en/blog/iphone-duo-simulator-ui-tests.md): Rydger UI tests on the iPhone Duo simulator: Cancel and Save vanished, SpringBoard crash-looped, and the inner screen needed a workaround. Here are the fixes - [Claude Code on iOS: spotted the overload, botched the report](https://www.oscargallegoruiz.com/en/blog/claude-code-ios-parallel-agents-crash-reports.md): Several Claude Code agents ran in parallel on my iOS app and maxed out a 12-core Mac. One spotted it in a crash report. Its summary had three false claims. - [Claude Code skills vs subagents: the shared simulator bug](https://www.oscargallegoruiz.com/en/blog/claude-code-skills-vs-subagents.md): Anthropic and an October paper question when subagents pay off. My case: parallel agents sharing one iOS simulator. When subagents still earn their place. - [Claude Code Without the Hype: How This Site Gets Built](https://www.oscargallegoruiz.com/en/blog/claude-code-no-hype-agent-workflow.md): How I build this site with Claude Code agents: worktrees, adversarial verifiers, a night queue and a smoke test. Plus the three-month contact form 500. - [Spec-Driven Development: Where OpenSpec Chafes in Daily Use](https://www.oscargallegoruiz.com/en/blog/spec-driven-development-openspec-friction.md): What spec-driven development is, where OpenSpec chafes after months of daily use, and what Anthropic, Willison and Hashimoto lean on instead of the spec - [AI Agent Verifier: Four of Five Builds Needed a Fix](https://www.oscargallegoruiz.com/en/blog/ai-agent-verifier-false-claims.md): Agents write two things: code your tests run, and claims about it nobody checks. A batch where a verifier caught four bad builds, the prompt and its limits - [Claude Code subagents: my workflow from idea to merge](https://www.oscargallegoruiz.com/en/blog/claude-code-subagents-stories-worktrees.md): Claude Code subagents in Rydger: Opus coordinates stories, Sonnet implements, Fable advises, with separate worktrees and shared tests across iOS and Android. - [WealthSim: correct maths, a frustrating first session](https://www.oscargallegoruiz.com/en/blog/wealthsim-calculator-first-session.md): WealthSim's preset and calculator disagreed. Fixing preview inputs, early ads and a disappearing result led to My Plan, with retention still unproven. - [App Store Discovery: Why My Indie iOS App Has Three Users](https://www.oscargallegoruiz.com/en/blog/indie-ios-app-app-store-discovery.md): Rydger is live on the App Store with three users. Apple's search makes new indie apps invisible until you bring your own traffic. The cold start and my move. - [SwiftData + CloudKit: 5 Model Rules Before You Turn Sync On](https://www.oscargallegoruiz.com/en/blog/cloudkit-sync-data-model-cost.md): SwiftData's CloudKit mirroring needs defaults or optionals, no @Attribute(.unique), optional relationships with inverses, no .deny. What error 134060 means. - [Astro 7 vs 6: What's New and How to Upgrade (Vite 8, Rust)](https://www.oscargallegoruiz.com/en/blog/astro-7-painless-migration.md): I expected another v6-style fight and got a pnpm up and a coffee. Vite 8, a Rust compiler, queued rendering: what changed from Astro 6 and where it bites. - [What Is Harness Engineering? Why Your AI Agent Fails](https://www.oscargallegoruiz.com/en/blog/harness-engineering-why-your-agent-fails.md): Your AI agent nails the demo and collapses in production. Not the model: it's the scaffolding that watches it, corrects it, and stops it before it lies. - [Claude Fable 5: Best Code I've Used, at 2x Opus 4.8's Price](https://www.oscargallegoruiz.com/en/blog/claude-fable-5-review.md): Fable 5 beat Opus 4.8 on my refactor, at $10/$50 per million tokens, twice Opus 4.8 per token. Plus the shutdown saga and how Sonnet 5 keeps the bill down. - [Agent Skills: My 5-Step Flow and Why the Order Matters](https://www.oscargallegoruiz.com/en/blog/agent-skills-coding-workflow.md): Grilling, PRD, issues, conditional TDD, slim AGENTS.md: five skills in an order that keeps the agent from coding before it earns it. Built on Matt Pocock's. - [Stop Prompting Your Coding Agent. Start Writing Loops.](https://www.oscargallegoruiz.com/en/blog/stop-prompting-write-loops.md): Boris Cherny's job now is writing loops, not prompts: agents that prompt agents. What that means, how to build one in Claude Code today, and where it breaks. - [I Automated GA4 with YAML. Now It Flags What to Check in SEO](https://www.oscargallegoruiz.com/en/blog/ga4-manager-automate-google-analytics.md): A CLI + MCP server that configures GA4 and Search Console from YAML, and flags what to check in your SEO by impact. Deterministic: you make the calls. - [Gemini Flash for Code Review: 3 Weeks on My Side Projects](https://www.oscargallegoruiz.com/en/blog/gemini-flash-code-review-automation.md): Three weeks pairing Gemini Flash and Claude Code on side projects: AI writes many of my tests and I review all. What worked, what broke, what it costs. - [Astro 5 to 6 Upgrade: Fix slug→id and Zod 4 Errors Fast](https://www.oscargallegoruiz.com/en/blog/astro-6-migration-guide.md): Three checks before bumping to Astro 6: grep .slug, one content.config.ts, no .default() after .transform(). Node 22.12+ and the fix for each error. - [Gemini 3 Pro for Developers: One Week of Hands-On Testing](https://www.oscargallegoruiz.com/en/blog/gemini-3-developer-guide.md): A week with Gemini 3 Pro: Deep Think planning a sample migration, a bug diagnosed from a short video, and the agentic stuff that still needs a babysitter. - [Google Antigravity vs Cursor: Side Projects Yes, Production No](https://www.oscargallegoruiz.com/en/blog/google-antigravity-review.md): Five months on: parallel agents that pay off on boilerplate, RAM that still creeps on long sessions, and why I keep Cursor for production code. My verdict. - [One-Shot Prompting: Better AI Answers With One Example](https://www.oscargallegoruiz.com/en/blog/ai-prompt-engineering-tips.md): One-shot prompting and context placement: examples for classification, code refactoring and JSON extraction, with checks for output errors and missing data. - [Astro 6 in 2026: what it is and why it ships so little JS](https://www.oscargallegoruiz.com/en/blog/introduction-astro-5.md): What Astro is and why it ships so little JS: Islands, the Content Layer API, what changed in Astro 6, and the real Next.js to Astro migration on my portfolio. - [Tailwind CSS 4: a Rust engine, rebuilds in microseconds](https://www.oscargallegoruiz.com/en/blog/tailwind-css-4-news.md): Tailwind CSS 4 rebuilt its engine in Rust and publishes its own measurements. What breaks migrating from v3, the @theme block and @tailwindcss/vite. - [Strict TypeScript: the flags and types that catch bugs](https://www.oscargallegoruiz.com/en/blog/typescript-best-practices.md): A strict tsconfig.json with noUncheckedIndexedAccess, plus advanced types, catches errors before production. The setup, the key types and where it annoys. - [Vercel CI Hell: Fix Next.js Tests Failing in Production](https://www.oscargallegoruiz.com/en/blog/tests-pass-locally-fail-vercel.md): Tests pass locally but fail on Vercel? The real fix is one line: NODE_ENV in vitest.config.ts, plus CI-aware timeouts. My 4 wasted hours, condensed. ## Posts del blog (Español) - [IA local en iOS: cuando 12.300 km se convierten en 12,3](https://www.oscargallegoruiz.com/blog/ia-local-extraccion-reglas.md): La IA local leyó mal los km de Rydger y eligió aceite de horquilla. Qué saqué del modelo, cómo se corrige la tarea y qué sigue sin cubrir el arreglo. - [Simulador del iPhone Duo: tests de SwiftUI sin ventana](https://www.oscargallegoruiz.com/blog/simulador-iphone-duo-tests-ui.md): Tests de UI de Rydger en el simulador del iPhone Duo: Cancelar y Guardar desaparecían, SpringBoard se colgaba en bucle y la pantalla interior pedía un apaño - [Claude Code en iOS: vio el Mac saturado y falló en el informe](https://www.oscargallegoruiz.com/blog/claude-code-ios-agentes-paralelo-crash-reports.md): Varios agentes de Claude Code en paralelo saturaron mi Mac con una app de iOS. Uno lo vio en un crash report; su resumen traía tres afirmaciones falsas - [Subagentes o skills en Claude Code: el fallo del simulador](https://www.oscargallegoruiz.com/blog/subagentes-o-skills-claude-code.md): Anthropic y un paper de octubre cuestionan cuándo compensan los subagentes. Mi caso: agentes en paralelo con un simulador de iOS compartido. Cuándo usarlos. - [Claude Code sin humo: el flujo de agentes de esta web](https://www.oscargallegoruiz.com/blog/claude-code-sin-humo-flujo-agentes.md): Cómo hago esta web con agentes de Claude Code: worktrees, verificadores, cola de noche y un smoke test. Y el 500 de tres meses que explica el smoke test. - [Spec-driven development: uso OpenSpec a diario y chirría](https://www.oscargallegoruiz.com/blog/spec-driven-development-openspec-chirria.md): Qué es el spec-driven development, dónde chirría OpenSpec tras meses de uso diario y qué hacen ahora Anthropic, Willison o Hashimoto para no depender de él - [Verificador de agentes de IA: devolvió cuatro de cinco](https://www.oscargallegoruiz.com/blog/verificador-agente-ia-mentira.md): Un agente escribe código que tus tests ejecutan y frases sobre ese código que nadie revisa. Una tanda con cuatro builds devueltos, el prompt y sus límites - [Subagentes de Claude Code: de una idea al merge en Rydger](https://www.oscargallegoruiz.com/blog/claude-code-subagentes-objetivos-stories.md): Subagentes de Claude Code en Rydger: Opus orquesta, Sonnet implementa y Fable asesora, con stories, worktrees y pruebas compartidas entre iOS y Android. - [WealthSim: calcular bien no bastaba para usar la app](https://www.oscargallegoruiz.com/blog/wealthsim-primera-sesion-mi-plan.md): WealthSim mostraba un saldo en el preset y otro al abrirlo. Anuncios al explorar, resultados fuera de pantalla y el paso de calcular a revisar un plan. - [App Store: por qué mi app iOS tiene tres instalaciones](https://www.oscargallegoruiz.com/blog/app-store-invisible-app-indie-ios.md): Rydger suma tres instalaciones. La búsqueda de Apple hace invisibles las apps nuevas. Mi lectura del arranque en frío, del ASO y del próximo experimento. - [SwiftData y CloudKit: cómo condicionan tu modelo de datos](https://www.oscargallegoruiz.com/blog/datos-locales-cloudkit-coste.md): SwiftData con CloudKit cambia el modelo antes del sync: defaults, relaciones opcionales, sin @Attribute(.unique) y una validación que puedes copiar. - [Astro 7 vs 6: novedades y cómo migrar (Vite 8, Rust)](https://www.oscargallegoruiz.com/blog/astro-7-migracion-sin-dolor.md): Esperaba otra pelea como la de v6 y fue un pnpm up y un café. Vite 8, compilador en Rust, render en cola: qué cambió de verdad y dónde te puede morder. - [Qué es harness engineering y por qué falla tu agente](https://www.oscargallegoruiz.com/blog/harness-engineering-por-que-falla-tu-agente.md): Tu agente clava la demo y se rompe en producción. No es el modelo: es todo lo que montas alrededor para vigilarlo, corregirlo y frenarlo antes de que mienta. - [Claude Fable 5: mejor código, al doble de precio que Opus 4.8](https://www.oscargallegoruiz.com/blog/claude-fable-5-resena.md): Fable 5 salió el 9 de junio y en mi refactor superó a Opus 4.8, pero cuesta 10 $/50 $ por millón de tokens, el doble. Cómo controlo el gasto con Sonnet 5. - [5 Agent Skills que Gobiernan Todo Mi Flujo de Código](https://www.oscargallegoruiz.com/blog/agent-skills-flujo-codigo.md): Grilling, PRDs, vertical slices, TDD condicional y un AGENTS.md mínimo: el pipeline de cinco skills que uso en casi cada feature, sobre las de Matt Pocock. - [Loops en Claude Code: deja de promptear a tu agente](https://www.oscargallegoruiz.com/blog/deja-de-promptear-escribe-loops.md): Boris Cherny dice que su trabajo ya no es promptear, sino escribir loops: agentes que promptean agentes. Qué significa, cómo montar uno hoy y dónde se rompe. - [Automaticé GA4 con YAML. Ahora Me Señala Qué Revisar en SEO.](https://www.oscargallegoruiz.com/blog/ga4-manager-automatiza-google-analytics.md): Una CLI + servidor MCP que configura GA4 y Search Console desde YAML, y señala qué revisar en tu SEO por impacto. Determinista: las decisiones las tomas tú. - [Gemini Flash para revisar código: 3 semanas en mis proyectos](https://www.oscargallegoruiz.com/blog/gemini-flash-code-review-automatizado.md): Tres semanas combinando Gemini Flash y Claude Code en proyectos personales: la IA escribe buena parte de mis tests y los reviso todos. Qué funcionó y qué no. - [Astro 6: content.config.ts, Zod 4 y la trampa de slug a id](https://www.oscargallegoruiz.com/blog/astro-6-guia-migracion.md): Migré este sitio de Astro 5 a 6 en producción: ContentSchemaContainsSlugError, loaders de content.config.ts, defaults de Zod 4. Cómo arreglé cada uno. - [Gemini 3 Pro: una semana de pruebas como desarrollador](https://www.oscargallegoruiz.com/blog/gemini-3-guia-desarrollador.md): Una semana con Gemini 3 Pro: Deep Think planificando una migración de ejemplo, un bug diagnosticado desde un vídeo y el lado agéntico que hay que vigilar. - [Google Antigravity: sí a side projects, no a producción](https://www.oscargallegoruiz.com/blog/resena-google-antigravity.md): Google Antigravity tras una semana a fondo y cinco meses de uso: agentes en paralelo que compensan, RAM que crece y extensiones de VS Code que aguantan. - [One-shot prompting: un buen ejemplo gana a las instrucciones](https://www.oscargallegoruiz.com/blog/consejos-ingenieria-prompts-ai.md): One-shot prompting es darle al modelo un único ejemplo de calidad. Clasificación, refactorización y JSON, y cómo validar la salida antes de usarla. - [Astro 6 en 2026: qué es y por qué carga tan poco JavaScript](https://www.oscargallegoruiz.com/blog/introduccion-astro-5.md): Qué es Astro y por qué carga tan poco JS: Islands, la Content Layer API, los cambios de Astro 6 y la migración real de Next.js a Astro en mi portfolio. - [Tailwind CSS 4: motor en Rust y rebuilds en microsegundos](https://www.oscargallegoruiz.com/blog/tailwind-css-4-novedades.md): Tailwind CSS 4 reescribió el motor en Rust y Tailwind publica sus propias mediciones. Qué se rompe al migrar desde v3, el bloque @theme y @tailwindcss/vite. - [TypeScript estricto: los flags y tipos que cazan bugs](https://www.oscargallegoruiz.com/blog/typescript-mejores-practicas.md): Un tsconfig.json estricto, con noUncheckedIndexedAccess, y tipos avanzados cazan errores antes de producción. El setup, los tipos clave y dónde molesta. - [Tests que pasan en local y fallan en Vercel: el arreglo](https://www.oscargallegoruiz.com/blog/tests-localmente-fallan-vercel.md): ¿Tus tests pasan en local pero fallan en Vercel? El arreglo es una línea: NODE_ENV en vitest.config.ts, más timeouts para CI. 4 horas perdidas, resumidas. ## Optional - [Full blog markdown (EN + ES)](https://www.oscargallegoruiz.com/llms-full.txt) - [Projects catalog (EN)](https://www.oscargallegoruiz.com/en/projects/) - [Catálogo de proyectos (ES)](https://www.oscargallegoruiz.com/projects/) - [Now (EN)](https://www.oscargallegoruiz.com/en/now/): What the author is working on right now: posts, iOS apps and open projects. - [Ahora (ES)](https://www.oscargallegoruiz.com/now/): Lo que el autor tiene entre manos ahora mismo: artículos, apps de iOS y proyectos abiertos. - [Disclosures (EN)](https://www.oscargallegoruiz.com/en/transparency/): Ads, analytics, how the posts are written and the author's employment status. No income figures. - [Transparencia (ES)](https://www.oscargallegoruiz.com/transparencia/): Anuncios, analítica, cómo se escriben los artículos y la situación laboral del autor. Sin cifras de ingresos. - [Uses (EN)](https://www.oscargallegoruiz.com/en/uses/): The tools behind the work: stack of this site, terminal, shell, runtimes and the Claude Code workflow. - [Herramientas (ES)](https://www.oscargallegoruiz.com/herramientas/): Las herramientas con las que trabajo: stack de esta web, terminal, shell, runtimes y el flujo con Claude Code. - [Talks (EN)](https://www.oscargallegoruiz.com/en/talks/): Talks given and topics the author can speak about: agent harnesses, verifying agents, Claude Code workflows and Astro. - [Charlas (ES)](https://www.oscargallegoruiz.com/charlas/): Charlas dadas y temas sobre los que el autor puede hablar: arneses de agentes, verificar agentes, flujos con Claude Code y Astro. - [Lab notebook (EN)](https://www.oscargallegoruiz.com/en/lab/): Dated log of real failures of the author's AI agents, how each was caught and what changed after it. - [Laboratorio (ES)](https://www.oscargallegoruiz.com/lab/): Registro fechado de fallos reales de los agentes de IA del autor, cómo se detectó cada uno y qué cambió después. - [Changelog (EN)](https://www.oscargallegoruiz.com/en/changelog/): Notable changes to this site grouped by month. - [Cambios (ES)](https://www.oscargallegoruiz.com/cambios/): Cambios notables de esta web agrupados por mes. - [RSS feed (EN)](https://www.oscargallegoruiz.com/en/rss.xml) - [RSS feed (ES)](https://www.oscargallegoruiz.com/rss.xml) - [XML sitemap](https://www.oscargallegoruiz.com/sitemap-index.xml)