Skip to content

Reel guides

Saw a Reel? Search for the word you commented.

82 guides

  • popover

    Popover API: menus and tooltips without JavaScript

    The Popover API in practice: a menu, a tooltip and a notice in plain HTML, light dismiss, popover="manual", CSS animation, focus and browser support.

  • cache

    Prompt caching: stop paying full price for the same long prompt

    Prompt caching in the Claude API: put the fixed part first, mark it with cache_control, and check the usage fields to see what you saved. TypeScript code and a PDF guide.

  • push

    Expo push notifications not arriving? Tokens, tickets and receipts

    The four places Expo push notifications get lost, with tested code to save the token, read delivery receipts and remove dead tokens.

  • extension

    Shopify theme app extensions: stop your app from editing theme code

    Shopify theme app extensions in practice: app blocks versus app embeds, a full extension built with Shopify CLI, the end of script tags and the App Store rules.

  • llaves

    Your AI coding agent can read your .env: how to protect your keys

    Your AI coding agent reads .env without asking. Three measures: a Read deny rule, test keys in development and real keys only in your platform's secret manager.

  • zod

    Zod validation in TypeScript: check data once, at the door

    One zod schema for the form, the API route and the type: safeParse, a 400 with field errors, z.infer and messages people can act on. Tested with zod 4.6.7.

  • accesible

    Accessible forms: 6 mistakes that fail WCAG 2.2 and how to fix them

    Six form mistakes that fail WCAG 2.2, each with its criterion and level, HTML, CSS and JavaScript tested with Playwright and axe-core, and what axe cannot catch.

  • review

    AI code review: what it catches and what it misses

    What AI code review catches (unhandled cases, names, missing tests) and what it misses (business rules, decisions, security context), and how to split the work with a person.

  • reglas

    Your CLAUDE.md is too long: move procedures to skills and rules to hooks

    CLAUDE.md loads in full every session. Keep facts there, move procedures to skills that load on demand and must-hold rules to hooks Claude Code enforces.

  • rsc

    Server Components vs Client Components in Next.js: what runs where

    The mental model behind Next.js Server and Client Components: a server tree with client leaves, server components passed as children, and what reaches the browser.

  • legado

    Understand a legacy codebase with Claude Code before you change it

    Before you change a legacy codebase, have Claude Code read it in plan mode and build a four-layer map with evidence, saved in ARCHITECTURE.md.

  • postbf

    Post-Black Friday analysis: the five metrics to check on Monday

    The Monday after Black Friday: five metrics, where each one lives in Shopify and GA4, how to compare them and a Node script that turns them into a December list.

  • docker

    A smaller Docker image for Next.js: multi-stage builds and standalone output

    Shrink a Next.js Docker image with a multi-stage build, output: 'standalone', a slim base and a .dockerignore. The full Dockerfile, explained line by line.

  • router

    Expo Router v56 migration: replacing React Navigation imports

    Expo Router v56 no longer depends on React Navigation: the import map, the codemod we ran, third-party libraries, and what SDK 57 and 58 changed after it.

  • indexar

    Google not indexing your new pages: find the cause and fix it

    Why Google is not indexing a new page: sitemap, URL Inspection, robots.txt versus noindex, canonical, internal links, and what Google says about timing.

  • metaobjetos

    Shopify metaobjects: editable content without touching theme code

    Shopify metaobjects for FAQs, size charts and testimonials: define the fields, fill entries in the admin and read them in a Liquid section.

  • consultas

    The N+1 query problem: why your API runs 101 queries

    The N+1 query problem in Postgres: spot it in the log and in pg_stat_statements, fix it with a JOIN, ANY or your ORM's with, and measure the result.

  • transiciones

    Cross-document view transitions: animate between pages with CSS

    Cross-document view transitions with only CSS: the product photo travels from the list to the detail page, custom timing, reduced motion and what happens without support.

  • tools

    Function calling explained with a shopping cart

    Function calling with a shopping cart: three tools in Node, the tool_use and tool_result loop, errors with is_error and what your code must validate.

  • spec

    Writing a spec for AI coding agents: one line vs. ten

    A one-line prompt leaves the agent guessing. A ten-line spec gives it a goal, constraints and acceptance criteria it can check on its own.

  • permisos

    Claude Code permissions in settings.json: allow, ask and deny

    Claude Code permissions in settings.json: what allow, ask and deny do, which file wins, and a ready-to-use rule set for a Node or Next.js project.

  • busqueda

    Zero-result searches in your store: how to track them in GA4

    How to track zero-result searches from a Shopify store in GA4, build a weekly report of the ten most common terms and decide what to fix first.

  • dependencias

    npm audit is not enough: how to keep your npm dependencies under control

    What npm audit sees and what it misses, plus the rest: the lockfile, vetting packages with npm view, updating in small steps and npm 12 install script approval.

  • arquitectura

    React Native New Architecture: how to migrate from 0.81 and SDK 54

    Since 0.82 the Legacy Architecture cannot be turned back on. The safe path from 0.81 or Expo SDK 54, and how to audit your native libraries first.

  • hreflang

    hreflang in Next.js: set up a bilingual site correctly

    hreflang in Next.js with alternates.languages and the sitemap: return links, x-default, es versus es-MX, and a Node script that checks real pages.

  • campo

    Add a custom field to Shopify checkout with a checkout UI extension

    Build a checkout UI extension that adds a field, save the value as a cart metafield that is copied to the order, and see which targets need Shopify Plus.

  • indices

    Postgres EXPLAIN ANALYZE: read the plan, pick the index

    How to read EXPLAIN ANALYZE, tell a Seq Scan from an Index Scan, choose index columns for WHERE and ORDER BY, and measure the write cost. Tested on PGlite.

  • freeze

    Code freeze before Black Friday: what to lock and how to undo it

    What to freeze, what stays open, a guard script that blocks deploys during the freeze and a reversal plan for every exception. Dates for Black Friday 2026.

  • container

    CSS container queries: one product card that fits any container

    container-type, @container and cqi units explained with one product card that goes from one to three columns in a grid, a sidebar or a cart. Tested in Chromium 151.

  • abandono

    Abandoned cart emails: when to send each one and what to say

    A three-email abandoned cart sequence for Shopify with illustrative timings, what each email should say, the risk of always discounting and how to test the flow.

  • rag

    RAG chatbot over your documents: cite sources, admit gaps

    Build a RAG chatbot: split documents into chunks, search by embeddings, a rules prompt and Claude API citations. TypeScript code with tests and a PDF guide.

  • peso

    Slow Shopify apps: how to measure what each one costs your store

    Measure the weight of each Shopify app with PageSpeed and DevTools, read the results, and clean the code an uninstalled app can leave in your theme.

  • agents

    Claude Code reads AGENTS.md: how to write it and pair it with CLAUDE.md

    Since 2.1.277, Claude Code reads AGENTS.md when there is no CLAUDE.md. What to put in it, how it is read, and how to import it from CLAUDE.md with one line.

  • tokens

    Claude Code usage limit: why it runs out and how to make it last

    Every message resends the whole conversation, so long sessions drain your plan. Four habits from the docs: /clear, /compact, short sessions and the right model.

  • rollback

    A rollback plan before you deploy: version, migrations, checks

    Write the way back before the deploy: which version, a database the old code survives (expand and contract), and a script that decides. Tested on PGlite.

  • expoui

    Expo UI: SwiftUI and Jetpack Compose from one React Native import

    What @expo/ui is, how one component becomes SwiftUI on iOS and Jetpack Compose on Android, how to install it, a full settings screen, and where it still falls short.

  • tracking

    GA4 and Shopify sales don't match: why, and how to reconcile them

    Why GA4 shows fewer (or more) sales than Shopify, which gaps are normal and which are bugs, and a tested script that matches orders to purchases by transaction ID.

  • functions

    Migrate Shopify Scripts to Functions: your discounts, step by step

    Scripts stopped running on June 30, 2026. How to rebuild a volume promotion as a discount Function, and stack discounts on one cart line since Admin API 2026-04.

  • ratelimit

    Sliding window rate limiting in Node: 15 lines of Redis

    A sliding window rate limiter in 15 lines of Node and Lua, atomic in Redis, plus a Postgres version, a 429 with Retry-After and limits per route. All tested.

  • polaris

    Polaris 2.0: what the release candidate brought and how to migrate your Shopify app

    Polaris 2.0 went from release candidate to stable on October 22. What rc.1 changed, which URL to load, how to test it in a branch and what to migrate in your components.

  • cls

    The cookie banner that moves your whole page: fixing CLS

    Why a cookie banner pushes the page down and raises CLS, how to spot it in DevTools, and the CSS for a bottom banner that moves nothing, measured locally.

  • plugins

    Claude Code plugin install now adds the marketplace in the same command

    Claude Code 2.1.292 installs a plugin from a marketplace you have not added in one command and lets Claude set a subagent's effort per call. Syntax, security, version checks.

  • embeddings

    Semantic search with pgvector: find what the shopper meant

    Store product embeddings in Postgres with pgvector, rank by cosine distance through an HNSW index, and fuse keyword and meaning with RRF. Tested on PGlite.

  • escanea

    SkillSpector: scan an agent skill before you install it

    NVIDIA's SkillSpector checks an agent skill before you install it and scores it 0–100. What it checks, how to use it in Claude Code and CI, and what it missed in our tests.

  • versus

    Claude Code vs Codex: compare them on the same bug in your repo

    A method to compare Claude Code and Codex in your own repo: same base commit, same prompt and four metrics, repeated on three bugs before you decide.

  • monitoreo

    Ecommerce checkout alerts: find out when your checkout stops converting

    A Node script that runs every 10 minutes, compares orders with last week, counts failed payments and abandoned checkouts, probes the checkout and posts to Slack.

  • mcp

    Connect Claude Code to Postgres over MCP without delete rights

    A Postgres role with GRANT SELECT, an MCP server set up in Claude Code with no password in the repo, and a test that shows DELETE, UPDATE and DROP being rejected.

  • carts

    If your app counts carts/update webhooks, your numbers changed

    Shopify stopped sending carts/update when a cart operation changes nothing. What changed on October 12, how it moves your metrics, and a tested idempotent handler.

  • comenta

    I built my own Instagram comment-to-DM system

    A signed webhook, a keyword filter and a private reply: how an Instagram comment-to-DM system works, with tested Node code and the Meta app setup it needs.

  • pwa

    PWA vs native app for your store: when the web is enough

    What a PWA can do today on Android and iPhone, when a native app is worth paying for, and how to measure installs and launches in GA4, with code tested in Chromium.

  • json

    How to get valid JSON from an LLM, every time

    Asking an LLM for “JSON only” is not enough. With structured outputs, a zod schema and a retry that sends the error back, you get a valid object or a clear error.

  • colas

    Postgres job queue: stop sending emails inside the request

    A jobs table, a Node worker that claims rows with FOR UPDATE SKIP LOCKED, retries with exponential backoff and stuck-job recovery. Tested on PGlite.

  • hmac

    Anyone can send you a fake webhook: verify Shopify's HMAC

    Shopify signs every webhook with an HMAC of the raw body. Skip the check and anyone who finds your URL can fake an order. Tested Node code for Express and Next.js.

  • rewind

    Claude Code checkpoints: undo Claude's changes with /rewind

    Every prompt you send leaves a checkpoint. /rewind, or Esc twice, rolls back the code, the conversation or both. What it misses, and when git is the right tool.

  • dialog

    The HTML dialog element: an accessible modal without a library

    showModal() already moves focus, makes the page inert, closes on Escape and draws a ::backdrop. Complete HTML and React code, tested in Chromium, plus what you still own.

  • node

    Updating Next.js doesn't update your Node: how to patch it in Docker

    Node.js patched 22.x, 24.x and 26.x on October 21, 2026, but npm never touches your runtime. Change the base image, rebuild with --pull, check node -v.

  • trampa

    Review AI-generated code: the agent passed the tests by deleting them

    An AI agent can turn a suite green by skipping a test, changing an expected value or loosening a mock. Three reviews, plus a tested hook and CI step that catch it.

  • rce

    Still on Next.js 14? There is no patch for October's RCE flaws

    October's RCE fixes shipped in 16.4.1 and 15.5.28, with nothing for Next.js 14. What affects you, how to check the sharp Next loads, and a tested upgrade plan.

  • ram

    Next.js high memory usage: how I cut my server from 1 GB to 0.29 GB

    The Next.js image optimizer kept my Railway server near 1 GB. With images.unoptimized it read 0.29 GB: how I found it, how I measured it, and when not to do it.

  • parche

    Next.js security release on November 3: what to do before and after

    Next.js ships a security release on November 3 for seven medium vulnerabilities. What to prepare today, how to upgrade with npm, pnpm, yarn or bun, and how to roll back.

  • git

    A git workflow for AI coding agents: small commits before every change

    Commit before you ask, give the agent its own branch, review the diff and run the tests, and know which git command takes you back safely.

  • seo

    Product structured data: price and stock in Google results

    What Google needs in Product JSON-LD, a complete example, what a Shopify theme already prints and how to validate it without guessing.

  • checkout

    Mobile checkout form autocomplete: the right keyboard for every field

    The HTML attributes that let a phone fill in the address and open the right keyboard, with the token for every field and a tested form you can copy.

  • lcp

    Slow LCP: make your hero image load first

    Three fixes for a hero image that shows up late: drop lazy loading, set fetchpriority and serve the right size, measured in a local demo.

  • ga4

    GA4 add_to_cart event not working: why the report is empty

    Why GA4 says nobody adds to cart while orders keep coming, and the exact add_to_cart code for gtag and dataLayer, tested and checked in DebugView.

  • effect

    Stop using useEffect for derived state: compute it during render

    If a value comes from props or state, do not copy it with useEffect: compute it during render. Measured in Chromium with React 19: one render fewer and no stale values.

  • cors

    Does CORS protect your API? What it does and what actually protects it

    An API with strict CORS still answers curl and any server. We tested it locally and built what protects it: authentication, per-user authorization and rate limits.

  • secretos

    Next.js NEXT_PUBLIC_ variables: never put secrets in them

    NEXT_PUBLIC_ copies the value into the browser's JavaScript at build time. What that looks like in the bundle, what can be public and how to rotate a leaked key.

  • stock

    Prevent overselling: fix the inventory race condition in PostgreSQL

    Two orders for the last unit, both accepted. Why read-then-write oversells, and two PostgreSQL fixes: SELECT … FOR UPDATE and a conditional UPDATE.

  • pagos

    Idempotency keys for payments: stop double charges on retries

    One key per payment attempt, stored on the server with the response it got: a retry, a double click or a timeout charges once. Tested Node code, no dependencies.

  • repos

    GitHub repos for AI agents: 5 picks for week 1

    superpowers, claude-mem, agent-skills, impeccable and cmux: what each one solves, how to install it, its license, and what it runs on your machine.

  • instala

    Anthropic skills for Claude Code: 5 worth installing today

    What frontend-design, webapp-testing, mcp-builder, skill-creator and pdf do, how to install them with tested commands and which one fits your project.

  • cliente

    Where to put 'use client' in Next.js so you ship less JavaScript

    What the 'use client' boundary pulls into the browser bundle, why marking a whole page costs you, and how to move it down to the interactive leaf, measured.

  • contexto

    AI coding agent context: your agent does not need your whole repo

    Three rules for giving an AI coding agent the right context: name the files, keep CLAUDE.md under 200 lines and know when to compact or clear.

  • prompt

    AI landing page prompt: the bad one, the good one and why

    Why AI keeps giving you the same landing page, and how four inputs fix it: audience, goal, brand and what to avoid. With a full prompt to copy.

  • bug

    How to ask AI to fix a bug: the report that gets it right

    Stop typing "fix the bug". Give the AI the exact error, the steps to reproduce it and where to look, then ask for the cause before the change.

  • test

    Claude webapp-testing skill: test your store with Playwright

    How to use the webapp-testing skill to explore your store's purchase path and turn it into a Playwright test that runs in CI.

  • bot

    Claude Code GitHub Actions: review PRs and explain failures

    Three Claude Code workflows for GitHub Actions, with minimum permissions and time limits, plus what claude -p returns in CI.

  • plan

    Claude Code plan mode: review the plan before any code

    How to use Claude Code plan mode to review files, steps, risks and tests before any edit, with a real example in a store's checkout.

  • revisor

    Claude Code subagents: build a read-only code reviewer

    A Claude Code subagent that reviews the files you changed with a fixed checklist and cannot edit them, with the file, how to call it and a real report.

  • linter

    Claude Code PostToolUse hook: run ESLint after every edit

    A PostToolUse hook that lints each file Claude edits with ESLint, Prettier or Biome and hands the errors back to Claude, in bash and PowerShell.

  • hook

    Claude Code hooks: stop Claude from touching your .env

    A PreToolUse hook that stops Claude from reading or changing your .env, shell commands included, in bash and PowerShell, with deny rules and real tests.