Tienda Nube Safe Theme Deploy with Auto-Rollback

    1

    Deploy Tienda Nube / Nuvemshop themes safely with no staging: push, run automated QA on the live store, and auto-roll back to a restore point, with page-by-page proof the store was restored.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Tienda Nube Safe Theme Deploy with Auto-Rollback

    Example session with this skill installed

    I need to perform a dress rehearsal for my new theme on my Tienda Nube store. The backup is in ./backup-theme and my new code is in ./dist. Run the QA harness but make sure it rolls back.

    • Read your context and instructions
    • Compiled the tienda nube safe

    I set up the harness in ./qa, ran a disarmed pass first (all green against the current live theme), then ran the armed rehearsal:

    ARMED=1 THEME_DIR=./dist BACKUP_DIR=./backup-theme \
    FTP_USER=… NUVEM_FILE=./.nuvem STORE_URL=https://mystore.mitiendanube.com/ ./qa/qa-runner.sh
    

    Tienda Nube deploy rehearsal report

    Window: push 03:12:08Z → rollback 03:14:41Z (153s live)

    Mode: rehearsal

    Rollback gate (rendered-equality)

    ✅ AFTER == BEFORE — store fully restored.

    L1 — HTTP/structural

    • ✅ home:200 — status=200
    • ✅ home:redesign-css — redesign stylesheet link
    • ✅ home:redesign-css-200 — status=200
    • ✅ home:legal — missing=none
    • ✅ product:200 — status=200
    • ✅ product:legal — missing=none
    • ✅ category:200 — status=200
    • ❌ category:no-home-video — removed stock section still rendered
    • ✅ cart:200 — status=200

    L2 — interactive

    • ✅ home:cart-drawer — #modal-cart opened
    • ✅ home:newsletter-form — form[action*=/winnie-pooh] present
    • ✅ home:quickshop-trigger — quickshop trigger present
    • ✅ product:add-to-cart — add-to-cart control present
    • ✅ product-mobile:sticky-atc — sticky ATC present

    L3 — visual parity (advisory)

    • home/desktop: minor (3.2%)
    • product/mobile: minor (5.9%)

    Summary

    The rehearsal worked and the rollback is proven: every page's normalized HTML after rollback matches the pre-push capture. One real issue blocks go-live: the old home-video section still renders on the category page, so a .tpl include wasn't removed in ./dist.

    Next steps

    1. Remove the home-video snippet include from the category template in ./dist.
    2. Re-run the rehearsal (ARMED=1) to confirm L1 is fully green.
    3. Launch at low traffic with GOLIVE=1, then purge the TN cache and re-verify.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Tienda Nube (Nuvemshop) legacy themes have no staging and no preview: tiendanube theme ftp push is instantly live. "Push and eyeball it" is how stores break during a redesign. This skill wraps the push in an automated test-and-rollback harness so a deploy is reversible and the rollback is proven.

    What it does

    • Dress rehearsal mode — push the redesign at low traffic, run QA on the live store, then always roll back to a pristine restore point.
    • Go-live mode — same run, but the redesign stays live only if QA passes; any failure rolls back automatically.
    • L1 structural checks — every page returns 200, your redesign stylesheet is linked and serves 200, removed stock sections are really gone, the mandatory legal footer is still rendered.
    • L2 interactive checks (Playwright) — cart drawer opens, add-to-cart, quickshop, newsletter form present, console errors classified against an allowlist.
    • L3 visual parity (advisory) — pixel-diff of the live store against your approved mockups, desktop and mobile.
    • Rendered-equality rollback gate — normalized-HTML checksums of every page before and after must match, so you know the store was restored.
    • Markdown report per run with timings (how many seconds the redesign was live) and every check.

    Hard-won platform lessons baked in

    • Edge cache is uneven: home/product serve stale while category/cart update instantly. Validation cache-busts; the gate deliberately doesn't.
    • Rollback causes a ~1-minute HTTP 500 on home during the FTP re-sync. Expected, and the runner waits it out.
    • TN injects per-request tokens (Cloudflare email obfuscation, CSRF, cart count, recompile cache-busters). A normalizer strips them so page comparisons are deterministic.
    • Push deletes remote-only files; the restore point can drift from live. The skill tells you to check drift before pushing.

    Requirements

    • Node 18+, Playwright Chromium (installed by setup), Python 3
    • Tienda Nube CLI + store FTP credentials (see the free tiendanube-stores skill)
    • A git repo with a pristine FTP pull of the live theme (your restore point)

    Legal-footer defaults target Argentina (Defensa del Consumidor / botón de arrepentimiento); stores in other markets override one config line. 16 unit tests ship with the harness.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    Requires a local git repo of the pristine live theme. FTP re-sync causes ~60s of HTTP 500 errors on the home page. Cache-busting is required to bypass uneven edge lag during validation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    PythonPlaywrightNode.jsTienda Nube CLIstore FTP access

    Permissions

    Terminal / Shell
    Browser
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    Any agent that can run shell commands and read files with the SKILL.md standard: Claude Code, Codex CLI, Cursor, Gemini CLI and similar. The harness itself is plain Node + bash, so you can also run it by hand.

    Unlike standard agents, this skill specifically handles Tienda Nube's lack of staging environments. It implements a 'dress rehearsal' workflow that pushes code, runs automated QA, and executes a deterministic rollback to ensure your live store is never left in a broken state.

    Partly. By default L1 checks the rendered footer markers Argentine stores need (Tienda Nube powered-by link and the Defensa del Consumidor / Botón de Arrepentimiento link, Ley 24.240), so a redesign can't silently drop them. For Brazil or other markets you override LEGAL_MARKERS in store.config.mjs with the markers you need. It checks presence, not legal adequacy.

    You will receive the core QA runner scripts, a pre-configured Playwright test suite tailored for e-commerce, a configuration template for store selectors, and a guide for setting up the deterministic rollback directory.

    You must have Node 18+ installed for the Playwright automation and the official Tienda Nube CLI configured. Additionally, you need a local, git-managed backup of your current live theme to serve as the recovery point for rollbacks.

    Only during rehearsals and failed go-lives: the rollback FTP re-sync causes a transient HTTP 500 on the home page for about a minute. Run at low traffic. The runner waits (AFTER_SETTLE_SECS, default 45s) before capturing the post-rollback baseline. A disarmed run (no push) never touches the store.

    New in Testing & Debugging