Theme Designのロゴ

Theme Design

コミュニティ
ahmed-lakosha
theme-design

FigmaからOdooテーマを作成するデザインワークフローと、ページテンプレートの完全なリファレンスです。Figmaからの情報抽出(色、タイポグラフィ、レイアウト)、Chrome MCPによる自動化、デザインに合ったテンプレートの選定方法、ヘッダーとフッターの選択フローチャート、動的ページのリファレンス(XML ID付きの11種類のヘッダー、9種類のフッター、ショップ、ブログ、カートのテンプレート)を扱います。 <example> Context: User wants to implement a Figma design user: "Implement this Figma design as an Odoo 17 theme" assistant: "I will analyze the Figma design and match it to Odoo templates." <commentary>Design-to-code workflow.</commentary> </example> <example> Context: User asks which header template to use user: "Which Odoo header template matches a hamburger menu design?" assistant: "Use template_header_hamburger." <commentary>Template matching query.</commentary> </example> <example> Context: User wants to know footer options user: "What footer templates are available in Odoo?" assistant: "There are 9 footer templates ranging from default to slideout." <commentary>Footer template reference.</commentary> </example>

Add to TypingMind

概要

公開者ahmed-lakosha
リポジトリodoo-plugins
スキル名theme-design
スター
74
フォーク
33
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ahmed-lakoshaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Theme Design」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ahmed-lakosha/odoo-plugins/tree/master/odoo-frontend-plugin/skills/theme-design
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ahmed-lakosha/odoo-plugins.git /tmp/odoo-plugins
mkdir -p .claude/skills
cp -r /tmp/odoo-plugins/odoo-frontend-plugin/skills/theme-design .claude/skills/theme-design
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTheme Designを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTheme Designを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Theme Designは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Figma-to-Odoo Design Workflow

Design Workflow Methodology

1. ANALYZE DESIGN → Extract colors, fonts, layout, components
2. COMPARE TO ODOO TEMPLATES → Match header, footer, page layouts
3. CHOOSE CLOSEST TEMPLATE → Select best matching built-in template
4. CONFIGURE VIA VARIABLES → Set $o-website-values-palettes
5. ENHANCE WITH CUSTOM CSS → Only what templates can't provide
6. CREATE CUSTOM SNIPPETS → Components not available in Odoo

Figma Extraction Pipeline

Using Figma MCP

1. Use Figma MCP with prompt:
   "Convert this Figma design to HTML for Odoo <version> website theme.
   Use Bootstrap v5.1.3 classes (not Tailwind).
   Apply proper Odoo theme structure with sections and containers."

2. Extract Color Palette:
   "Extract the color palette and map to o-color-1 through o-color-5."

3. Extract Typography:
   "Convert text styling to Bootstrap typography classes."

Using Chrome MCP (Browser Automation)

  1. Navigate to Figma URL → Open Pages (not components!)
  2. Click on page elements to extract:
    • Header/navbar → primary color
    • CTA buttons → secondary color
    • Section backgrounds → o-color-3
    • Body text → text color, font family
    • Headings (H1-H6) → heading fonts, sizes

Pages to check: Homepage, About/Services, Contact, Footer area

Color Mapping

Design ElementMaps To
Primary brand color (buttons, links)o-color-1
Accent/CTA coloro-color-2
Light section backgroundso-color-3
Main content backgroundo-color-4
Dark text / headingso-color-5

Header Templates (11 Primary + Variants)

XML IDNameBest For
website.template_header_defaultDefaultMost websites
website.template_header_hamburgerHamburgerMinimal designs
website.template_header_stretchStretchWide layouts
website.template_header_verticalVerticalApp-like sites
website.template_header_searchSearchE-commerce, directories
website.template_header_sales_oneSales 1Online stores
website.template_header_sales_twoSales 2Large catalogs
website.template_header_sales_threeSales 3Product-focused
website.template_header_sales_fourSales 4Fashion, retail
website.template_header_sidebarSidebarDashboard sites
website.template_header_boxedBoxedModern brands

Header Alignment Variants

  • ..._align_center / ..._align_right — Desktop alignment
  • ..._mobile_align_center / ..._mobile_align_right — Mobile alignment

Header Visibility (mutually exclusive)

XML IDEffect
website.header_visibility_standardScrolls with page
website.header_visibility_fixedSticks to top
website.header_visibility_disappearsHides on scroll down
website.header_visibility_fade_outFades out

Header Components (combinable)

XML IDComponentDefault
website.option_header_brand_logoLogo imageActive
website.option_header_brand_nameText nameInactive
website.header_call_to_actionCTA buttonActive
website.header_search_boxSearch barActive
website.header_social_linksSocial iconsInactive

Header Decision Flowchart

Is navigation hidden? → YES → template_header_hamburger
                       → NO → Vertical sidebar? → YES → Full page? → sidebar / vertical
                                                 → NO → E-commerce? → YES → Categories? → sales_two / sales_one
                                                                    → NO → Search prominent? → template_header_search
                                                                                             → Boxed? → boxed / stretch / default

Footer Templates (9 Options)

XML IDNameBest For
website.footer_customDefaultGeneral use
website.template_footer_descriptiveDescriptiveCorporate sites
website.template_footer_centeredCenteredLanding pages
website.template_footer_linksLinksLarge sites
website.template_footer_minimalistMinimalistClean designs
website.template_footer_contactContactService businesses
website.template_footer_call_to_actionCTAMarketing sites
website.template_footer_headlineHeadlineBrand statements
website.template_footer_slideoutSlideoutModern/trendy

Footer Decision Flowchart

Minimal (just copyright)? → YES → template_footer_minimalist
                          → NO → Center-aligned? → template_footer_centered
                                 Newsletter/CTA? → template_footer_call_to_action
                                 Contact info? → template_footer_contact
                                 Primarily links? → template_footer_links
                                 Detailed description? → template_footer_descriptive
                                 Default → footer_custom

Shop Page Templates (website_sale)

Layout Options

XML IDFeature
website_sale.products_design_cardCard layout
website_sale.products_design_gridGrid layout
website_sale.products_thumb_4_34:3 image ratio
website_sale.products_thumb_coverImage fills container (default)

Categories & Filters

XML IDFeatureDefault
website_sale.products_categoriesLeft sidebarInactive
website_sale.products_categories_topTop navActive
website_sale.products_attributesAttribute filtersActive
website_sale.filter_products_pricePrice filterInactive
website_sale.searchSearch boxActive
website_sale.sortSort dropdownActive

Product Detail Options

XML IDFeatureDefault
website_sale.product_commentReviewsInactive
website_sale.product_buy_nowBuy Now buttonInactive
website_sale.alternative_productsAlternativesActive

Blog Templates (website_blog)

Blog Listing

XML IDFeatureDefault
website_blog.opt_blog_cover_postFeatured bannerActive
website_blog.opt_blog_list_viewList viewInactive
website_blog.opt_blog_cards_designCard componentsInactive
website_blog.opt_blog_sidebar_showSidebarInactive

Blog Post Detail

XML IDFeatureDefault
website_blog.opt_blog_post_breadcrumbBreadcrumbsActive
website_blog.opt_blog_post_read_nextRead nextActive
website_blog.opt_blog_post_commentCommentsInactive

Cart & Checkout

XML IDFeatureDefault
website_sale.suggested_products_listSuggested productsActive
website_sale.reduction_codePromo codeActive
website_sale.accept_terms_and_conditionsT&C checkboxInactive

Generating Theme Configuration from Design

After analyzing the design and matching templates:

scss
// primary_variables.scss — Generated from Design Analysis
$o-theme-font-configs: (
    'Poppins': (
        'family': ('Poppins', sans-serif),
        'url': 'Poppins:300,400,500,600,700',
    ),
);

$o-website-values-palettes: (
    (
        'color-palettes-name': 'default-1',
        'font': 'Poppins',
        'headings-font': 'Poppins',
        'header-template': 'hamburger',
        'header-links-style': 'pills',
        'logo-height': 48px,
        'footer-template': 'contact',
        'footer-scrolltop': true,
        'btn-padding-y': 0.75rem,
        'btn-border-radius': 8px,
        'link-underline': 'never',
    )
);

Then create theme.utils to activate the matched templates programmatically:

python
def _theme_yourtheme_post_copy(self, mod):
    self.enable_view('website.template_header_hamburger')
    self.enable_view('website.template_footer_contact')
    self.enable_view('website.option_header_brand_logo')
    self.disable_view('website.header_visibility_standard')
    self.enable_view('website.header_visibility_fixed')

よくある質問

AIスキル「Theme Design」では何ができますか?

FigmaからOdooテーマを作成するデザインワークフローと、ページテンプレートの完全なリファレンスです。Figmaからの情報抽出(色、タイポグラフィ、レイアウト)、Chrome MCPによる自動化、デザインに合ったテンプレートの選定方法、ヘッダーとフッターの選択フローチャート、動的ページのリファレンス(XML ID付きの11種類のヘッダー、9種類のフッター、ショップ、ブログ、カートのテンプレート)を扱います。 <example> Context: User wants to implement a Figma design user: "Implement this Figma design as an Odoo 17 theme" assistant: "I will analyze the Figma design and match it to Odoo templates." <commentary>Design-to-code workflow.</commentary> </example> <example> Context: User asks which header template to use user: "Which Odoo header template matches a hamburger menu design?" assistant:...

TypingMindでTheme Designを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Theme Designはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTheme Designをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ahmed-lakosha/odoo-plugins/tree/master/odoo-frontend-plugin/skills/theme-designを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Theme Designを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Theme Designで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTheme Designを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Theme Design」は無料ですか?

はい。ahmed-lakoshaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇