ahmed-lakosha/odoo-plugins/theme-snippets
Claude Code and agent skill by ahmed-lakosha/odoo-plugins
- community
Checking that the SKILL.md file is still in the repository.
Complete Odoo website snippet reference and creation guide. Covers snippet architecture, 81+ static snippet templates (structure, gallery, features, dynamic, inner content, mega menus), dynamic snippets system, snippet options (we-* elements), custom snippet creation for Odoo 14-19, and version-aware registration (simple vs groups). <example> Context: User wants to create a custom snippet user: "Create a custom snippet for my Odoo website" assistant: "I will create a version-aware snippet with template, registration, and options." <commentary>Custom snippet creation.</commentary> </example> <example> Context: User wants to know available snippets user: "What snippets are available in Odoo?" assistant: "Odoo has 81+ static snippets across 6 categories." <commentary>Snippet inventory reference.</commentary> </example> <example> Context: User wants a dynamic snippet user: "Create a dynamic snippet that shows latest products" assistant: "I will create a dynamic snippet with filter, display template, and data source." <commentary>Dynamic snippet creation.</commentary> </example> <example> Context: User needs snippet options user: "Add customization options to my snippet" assistant: "I will create snippet_options XML with we-* elements." <commentary>Snippet options system.</commentary> </example>
Install
npx vskill@latest install ahmed-lakosha/odoo-plugins/theme-snippetsSKILL.md
Odoo Website Snippets Reference
Snippet Architecture
Static Snippets Inventory (81+ Templates)
Structure (14)
| ID | Name | Best For | |
|---|---|---|---|
s_banner | Banner | Landing pages | |
s_cover | Cover | Headers | |
s_text_image | Text - Image | Features | |
s_image_text | Image - Text | Features | |
s_title | Title | Section headers | |
s_text_block | Text Block | Content | |
s_numbers | Numbers | Achievements | |
s_three_columns | Columns | Content grids | |
s_features | Features | Benefits | |
s_masonry_block | Masonry | Galleries | |
s_image_gallery | Image Gallery | Portfolios |
Features (11)
| ID | Name | Best For | |
|---|---|---|---|
s_comparisons | Comparisons | Product comparison | |
s_company_team | Team | About pages | |
s_call_to_action | CTA | Conversions | |
s_references | References | Social proof | |
s_accordion | Accordion | FAQs | |
s_features_grid | Features Grid | Benefits | |
s_pricelist | Pricelist | Products | |
s_faq_collapse | FAQ | Support | |
s_tabs | Tabs | Organization |
Dynamic Content (15)
| ID | Name | Best For | |
|---|---|---|---|
s_google_map | Google Map | Contact pages | |
s_website_form | Form | Lead capture | |
s_social_media | Social Media | Engagement | |
s_dynamic_snippet | Dynamic | Data display | |
s_countdown | Countdown | Events | |
s_popup | Popup | Promotions | |
s_newsletter_block | Newsletter | Marketing |
Inner Content (16)
| ID | Name | Best For | |
|---|---|---|---|
s_card | Card | Items | |
s_three_cards / s_four_cards | Cards | Services/Features | |
s_timeline | Timeline | History | |
s_process_steps | Steps | Tutorials | |
s_quotes_carousel | Testimonials | Social proof | |
s_blockquote | Blockquote | Emphasis |
Mega Menus (9)
| ID | Name | |
|---|---|---|
s_mega_menu_multi_menus | Multiple menu columns | |
s_mega_menu_cards | Card-style menu | |
s_mega_menu_big_icons | Large icon menu | |
s_mega_menu_thumbnails | Thumbnail gallery |
Creating Custom Snippets
Odoo 14-17: Simple Registration
Odoo 18-19: With Snippet Groups (Required)
Panel Categories
| Panel ID | Category | XPath | |
|---|---|---|---|
snippet_structure | Structure | //div[@id='snippet_structure'] | |
snippet_media | Gallery | //div[@id='snippet_media'] | |
snippet_feature | Features | //div[@id='snippet_feature'] | |
snippet_dynamic | Dynamic | //div[@id='snippet_dynamic'] | |
snippet_inner_content | Inner Content | //div[@id='snippet_inner_content'] |
Snippet Options System
We-* Elements
| Element | Purpose | Key Attributes | |
|---|---|---|---|
we-select | Dropdown | data-name, data-dependencies | |
we-button | Toggle | data-select-class, data-toggle-class | |
we-colorpicker | Color picker | data-css-property | |
we-input | Text/number | data-attribute-name, data-unit | |
we-range | Slider | data-min, data-max, data-step | |
we-checkbox | Toggle | data-select-class |
Data Attributes
| Attribute | Purpose | |
|---|---|---|
data-selector | Target CSS selector | |
data-select-class | Toggle CSS class | |
data-css-property | CSS property to modify | |
data-js | JavaScript handler class | |
data-dependencies | Conditional visibility | |
data-no-preview | Disable live preview |
Complete Options Example
Built-in JS Handlers
BackgroundImage, BackgroundPosition, BackgroundToggler, ColoredLevelBackground, BackgroundShape, ImageTools, Carousel, DynamicSnippet
Dynamic Snippets
Architecture
Creating a Dynamic Snippet
Step 1: Define Filter
Step 2: Display Template
Step 3: Dynamic Snippet
Product Dynamic Snippets (website_sale)
Filters: dynamic_filter_newest_products, dynamic_filter_recently_sold_products, dynamic_filter_recently_viewed_products
Display templates: card_style, centered, horizontal_card, mini, minimalist_*, banner
Snippet JavaScript
publicWidget for Snippets
Snippet Options Handler
Version Differences
| Feature | Odoo 14-17 | Odoo 18-19 | |
|---|---|---|---|
| Registration | Simple XPath | Groups required | |
| JavaScript | @odoo-module | Plugin-based (19) | |
| Bootstrap | 4.x (14-15) / 5.1.3 (16-17) | 5.1.3 | |
| Dynamic Snippets | Basic | Full + Categories |
Odoo 19 Plugin Pattern
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingodoo-frontend-plugin/skills/theme-snippets/SKILL.md
Popularity
- Repository stars
- 74
- Repository forks
- 32
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Sep 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ahmed-lakosha/odoo-plugins/theme-snippets)