prestashop-kb
Skill4 starsChanged 14 days agoMITView on GitHub
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.
- Reads credentials
In this repository37 other files it gives its agents.
- blast-radiusSkill
- elementflow-kbSkill
- gitlab-changelog-releaseSkill
- gitlab-ci-quality-gatesSkill
- gitlab-project-bootstrapSkill
- gitlab-security-setupSkill
- gitlab-wiki-bootstrapSkill
- lando-checkSkill
- lando-img-placeholderSkill
- lando-mail-smtpSkill
- lando-setupSkill
- mallard-releaseSkill
- mr-flowSkill
- no-commentsSkill
- paginated-report-pdfSkill
- panda-kbSkill
- ploi-prestashop-deploySkill
- ps-consoleSkill
- ps-css-buildSkill
- ps-demo-userSkill
- ps-email-previewSkill
- ps-image-regenSkill
- ps-invoice-previewSkill
- ps-new-projectSkill
- ps-one-page-checkoutSkill
- ps-project-docSkill
- ps-security-auditSkill
- ps-storefront-polishSkill
- ps-theme-cacheSkill
- ps-translateSkill
- ps-view-transitionsSkill
- ps-watchSkill
- reflectSkill
- show-me-your-workSkill
- skill-authorSkill
- task-contextSkill
- verify-ps-projectSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Do NOT load for: Panda-specific modules (use panda-kb), non-PrestaShop e-commerce, generic PHP/Symfony questions outside PrestaShop.
- Distinctive: line 69
When entering a project, check these to identify what you're dealing with:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PrestaShop Knowledge Base
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.
When this skill is relevant
Load and read from this KB when the user mentions:
- PrestaShop mechanics independent of theme — hooks, modules, Smarty, themes parent-child, theme.yml, install vs distribution, migration.
- PS 8 vs PS 9 differences.
- Symfony BO (the new Symfony 6 + Twig back office in PS 9).
- Smarty templating in PS context —
{l},{hook},{widget},{capture}. - PS source clone vs distribution zip (
install-dev/vsinstall/,admin-dev/vsadmin/). - Hummingbird v2 theme — the default theme of PS 9 — and "which theme should I use" decision matrix.
- Composer/vendor,
parameters.php,.envin a PrestaShop project.
Do NOT load for: Panda-specific modules (use panda-kb), non-PrestaShop e-commerce, generic PHP/Symfony questions outside PrestaShop.
KB layout
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 processHow to use the KB
- Identify the topic of the question — themes / hooks / modules / smarty / install / migration — and jump to the matching subfolder.
themes/parent-child-feature.mdis the canonical doc on child theme mechanics — note the file does NOT have "child" in its name (discoverability gotcha).- For Symfony BO (PS 9) work:
version-migration/has the most context. Source code in CWD lives in./src/PrestaShopBundle/. - For legacy controllers (PS 8 + some PS 9 screens): still in
./controllers/admin/and./classes/. Not deeply covered in the KB — read source. - Smarty syntax →
smarty/(40 files) covers Smarty base + PS extensions. Read before improvising. - install/source-vs-distribution.md: critical when the CWD has
install-dev/,admin-dev/, or a missingvendor/folder — those indicate a source clone, not a distribution zip.
Key facts to surface to agents
- PS 9 default theme: Hummingbird v2 (accessibility-focused, EAA-aligned). Panda is still a valid premium alternative.
- PHP 8.1+ required in PS 9. PS 8 accepts PHP 7.4+.
- Symfony BO: PS 9 moves most BO to Symfony 6 + Twig. Legacy
controllers/admin/AdminXController.phpstill exist for non-migrated screens. - Active theme is in DB:
ps_shop.theme_name. Files in./themes/are not authoritative on which theme is active. - Hooks:
displayXhooks → inject HTML on the front.actionXhooks → execute logic on events.- Definitive read in CWD:
./classes/Hook.php,./src/Core/Module/.... - Installed hooks: DB table
ps_hook.
- Theme.yml is authoritative on layouts, PS compatibility, assets, and child-parent relationship (
parent:declares the parent — notparent_theme:).
Project shape heuristics (PS 9)
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. |
Gaps to be honest about
- Coverage is uneven:
smarty/(40 docs) is well covered,install/(1 doc) andhooks/(3 docs) are minimal. For gaps, read source in CWD or consultdevdocs.prestashop-project.orgexternally. - PS 8-specific quirks are less covered than PS 9. If the question is PS 8 and the KB doesn't have it, say so.
- Performance, caching, profiling are not deeply covered. Recognize the gap and read source.
Cross-skill pointer
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

