From prestashop-experts
Curated knowledge base for the PrestaShop platform — versions 8 and 9. Covers theme mechanics (theme.yml, parent-child, template inheritance, assets), Smarty templating + PS extensions ({l}, {hook}, {widget}), hooks (overview + listings), modules architecture (config.xml, controllers, lifecycle), install vs distribution (PS 9 source clone), and version migration PS 8 → 9 (Symfony BO, Twig, upgrade process). Use for platform-level PrestaShop questions independent of any specific theme. For Panda-theme-specific questions (`st*` modules, SunnyToo, Easy Builder) use the `panda-kb` skill instead.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prestashop-experts:prestashop-kbThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill exposes the curated PrestaShop platform knowledge base bundled with the `prestashop-experts` plugin. The `prestashop-expert` agent consults this KB before answering, but any agent can read these files directly.
references/README.mdreferences/_errors.mdreferences/hooks/_index.mdreferences/hooks/hooks-overview.mdreferences/hooks/list-of-hooks.mdreferences/install/source-vs-distribution.mdreferences/modules/_index.mdreferences/modules/controllers.mdreferences/modules/creation-tutorial.mdreferences/modules/displaying-content-front-office.mdreferences/modules/good-practices.mdreferences/modules/introduction.mdreferences/modules/module-class.mdreferences/modules/module-file-structure.mdreferences/modules/overrides.mdreferences/modules/templating.mdreferences/modules/widgets.mdreferences/smarty/README.mdreferences/smarty/_errors.mdreferences/smarty/_index.mdThis skill exposes the curated PrestaShop platform knowledge base bundled with the prestashop-experts plugin. The prestashop-expert agent consults this KB before answering, but any agent can read these files directly.
Load and read from this KB when the user mentions:
{l}, {hook}, {widget}, {capture}.install-dev/ vs install/, admin-dev/ vs admin/).parameters.php, .env in a PrestaShop project.Do NOT load for: Panda-specific modules (use panda-kb), non-PrestaShop e-commerce, generic PHP/Symfony questions outside PrestaShop.
references/
├── README.md # convenciones y índice de la KB
├── themes/ # 13 docs
│ ├── parent-child-feature.md # child theme mechanism (file path does NOT contain "child")
│ ├── theme-yml.md
│ ├── template-inheritance.md
│ ├── hummingbird-v2.md # PS 9 default theme + decision matrix vs Panda
│ └── ... (assets, layouts, etc.)
├── modules/ # 11 docs: arquitectura, config.xml, controllers, services.yml, lifecycle, hooks-in-modules
├── hooks/ # 3 docs: overview + listing of available hooks
├── smarty/ # 40 docs: Smarty templating + PS extensions
├── install/ # 1 doc: source-vs-distribution.md (PS 9 clone vs zip)
└── version-migration/ # 8 docs: PS 8 → 9, Symfony/Twig BO, upgrade process
themes/parent-child-feature.md is the canonical doc on child theme mechanics — note the file does NOT have "child" in its name (discoverability gotcha).version-migration/ has the most context. Source code in CWD lives in ./src/PrestaShopBundle/../controllers/admin/ and ./classes/. Not deeply covered in the KB — read source.smarty/ (40 files) covers Smarty base + PS extensions. Read before improvising.install-dev/, admin-dev/, or a missing vendor/ folder — those indicate a source clone, not a distribution zip.controllers/admin/AdminXController.php still exist for non-migrated screens.ps_shop.theme_name. Files in ./themes/ are not authoritative on which theme is active.displayX hooks → inject HTML on the front.actionX hooks → execute logic on events../classes/Hook.php, ./src/Core/Module/....ps_hook.parent: declares the parent — not parent_theme:).When entering a project, check these to identify what you're dealing with:
| Signal | What it means |
|---|---|
./install-dev/ (not ./install/) | Source clone from GitHub, not distribution zip. |
./admin-dev/ (not ./admin/) | Same — /admin/ URL won't respond until rename. |
Missing ./vendor/ | composer install pending. PS won't boot. |
./themes/hummingbird/ present but no compiled assets | Needs npm ci && npm run build inside the theme to render. |
./.env / ./app/config/parameters.php | Env config — DB credentials, secret, etc. |
smarty/ (40 docs) is well covered, install/ (1 doc) and hooks/ (3 docs) are minimal. For gaps, read source in CWD or consult devdocs.prestashop-project.org externally.For Panda-theme-specific questions (st* modules, SunnyToo widgets, Easy Builder, Panda demos, "which Panda module for X"), use the sibling skill panda-kb and the agent panda-expert.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub educlopez/prestashop-experts --plugin prestashop-experts