AGENTS.md for WordPress, WooCommerce and Magento Projects: Examples That Work with Claude Code and Codex
Working AGENTS.md files for WordPress, WooCommerce and Magento 2, how Claude Code and Codex load them, and what no instruction file can enforce.
Category
Fixes, upgrade notes and security guidance for Magento 2 and Adobe Commerce, from checkout customisation and admin code to patching, PHP upgrades and hosting problems. Written for developers and agencies who keep Magento stores running.

Working AGENTS.md files for WordPress, WooCommerce and Magento 2, how Claude Code and Codex load them, and what no instruction file can enforce.

PHP 8.2 security support ends on 31 December 2026. Upgrade your WordPress and Magento code with Rector, PHPStan, versioned containers and a gated AI agent.

Patching Magento closes the hole. It does not clean a store that was already hit, so check for compromise first, then rotate every secret at its source.

A product can hold twelve units at a source and still be unsalable on a website. Find the missing stock assignment, or the stale index, with a few read-only checks.

Magento 2.4.6 left regular support for Adobe Commerce on 11 August 2026 and has extended support to 31 August 2027. It supports only PHP 8.1 and 8.2.

Magento 2 has no setting for price decimals. The free price-decimal module works on 2.4.9, but it also rounded order totals in a test.

Composer or bin/magento stops with “Allowed memory size exhausted” during a Magento 2 upgrade? Raise the PHP limit for one command. Tested fixes.

Content > Design > Configuration is empty in Magento 2 admin? The design_config_grid index is empty or stuck. Check it, reset it if locked and reindex.

Magento 2 shows a checkout field notice as plain text. Give one field its own template with an html binding, and keep the string safe. Tested on 2.4.9.

Delete all product data from a Magento 1.9 database with one cascading SQL statement. Backup, batches, reindex and why the old TRUNCATE list falls short.

In Magento 2, create the admin role collection from its factory and call setRolesFilter(), or it also returns a row for every admin user.

In short: In Magento 2, call getById() on the customer group repository and read getCode() from the result to turn a group
With your permission, iLogr uses Google Analytics and Jetpack Stats to count which articles are read. Nothing is loaded unless you accept. Privacy policy