prestashop-upgrade-toolbox

An AI-assisted migration toolbox that takes a legacy PrestaShop shop (1.6 or 1.7) onto
PrestaShop 9. Install the plugin in your AI coding agent, point it at your shop, and the agent
walks you through every step: audit, data migration, modules, theme, integrity checks and
cutover.
Seven skills, one per phase of the migration, for Claude Code, Cursor, Codex, Gemini CLI, and any
agent npx skills installs into. PrestaShop to PrestaShop only — this is not a platform switch.
What you need before starting
The agent will ask for these during setup. Gather them beforehand to avoid delays:
- A copy of the shop's files — via FTP, SSH, or
git. The agent works on a local copy
for code analysis. It also reads the live shop over HTTP (GET only, no write) to compare
what production serves with the reference copy.
- A database dump —
mysqldump or equivalent, of the shop's database.
- Production access logs — a file or a directory of rotated logs covering at least one to two
weeks (combined or common format,
.gz accepted). These are the only reliable list of what
third parties actually call (feeds, direct scripts, module endpoints). Ask your host for them.
- The shop's crontab — the list of scheduled jobs, from the hosting panel or the server. Ask
your host for it.
- Target hosting ready — a server with the PHP and MySQL/MariaDB versions PrestaShop 9
requires, with backups configured and tested.
The access logs and the crontab come from the host, not from the code. No SSH access is needed:
everything can come from the hosting panel, by FTP or from phpMyAdmin, or be sent by the host. The
agent drafts the request to the host for you, and tracks what has been received.
Data and GDPR
A migration works on a copy of a live shop, and that copy holds personal data: customers,
addresses, orders, employees, and the IP addresses of the access logs.
- The scripts send nothing to a third party. They read source trees, dumps and logs, query a
database through the client you give them, and send GET requests to the shop. They call no
outside service.
- The agent does. Like every AI coding agent, it sends what it reads to its model provider:
code, files, command output, query results. Part of that can be personal data — a query that
samples customer rows, a log line, a settings file.
Before the first session:
- Agree it with the merchant. The merchant is the data controller of their customers' data.
Check with them that it may be processed by the model provider you use, under a contract that
covers it (a data processing agreement, GDPR article 28), on a plan that does not train on your
data and stores it where you both accept. Read that provider's terms for your plan.
- Anonymise where a step allows it. The audit's reference copy anonymises customer e-mail
addresses and cuts outgoing mail before its first page view, and proves it. A dump delivered as
anonymised is swept before it is trusted. The data migration and the checks on the new shop need
the real data, and run on it.
- Keep it out of sight. The skills write secrets and personal data only to
*.local.* files,
which the dossier's .gitignore keeps out of git. The dossier denies every web request (an
.htaccess under Apache; under nginx, the host blocks the folder) and is not pushed to a
repository others can read.
- Delete it at the end. The reference copy is discarded after the cutover; delete the dumps,
logs and captures too once the migration is closed.
Installation
The skills are in skills/, in the open Agent Skills format. Each agent reads them through its own
manifest, all at the root of this repository.
Claude Code — .claude-plugin/:
/plugin marketplace add PrestaShopCorp/PrestaShop-Upgrade-Toolbox
/plugin install prestashop-upgrade-toolbox@prestashop-upgrade-toolbox
Cursor — .cursor-plugin/: Cursor discovers the seven skills in skills/ on its own. Clone
the repository into Cursor's local plugins folder:
git clone https://github.com/PrestaShopCorp/PrestaShop-Upgrade-Toolbox ~/.cursor/plugins/local/prestashop-upgrade-toolbox
then run Developer: Reload Window. A team can instead import the repository into its team
marketplace (Dashboard > Plugins & MCPs > Import from a repository).
Codex — .codex-plugin/ and .agents/plugins/marketplace.json:
codex plugin marketplace add PrestaShopCorp/PrestaShop-Upgrade-Toolbox
then install prestashop-upgrade-toolbox from /plugins. Codex also loads a project's
.agents/skills/: the copy described for Gemini CLI below works without the plugin.