- Home
- Skills
- Testing & Debugging
- Tienda Nube Safe Theme Deploy with Auto-Rollback
Tienda Nube Safe Theme Deploy with Auto-Rollback
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
Works with the AI Agents you already use
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
- Remove the
home-videosnippet include from the category template in./dist. - Re-run the rehearsal (
ARMED=1) to confirm L1 is fully green. - 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
PythonPlaywright
Node.jsTienda Nube CLIstore FTP access