Bc Performanceのロゴ

Bc Performance

組織
OrcaQubits
bc-performance

Optimize BigCommerce storefront performance — CDN, image optimization, lazy loading, Stencil theme optimization, API response caching, GraphQL query efficiency, and Core Web Vitals. Use when improving store speed or diagnosing performance issues.

概要

公開者OrcaQubits
リポジトリagentic-commerce-skills-plugins
スキル名bc-performance
スター
40
フォーク
17
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/bigcommerce-commerce/skills/bc-performance .claude/skills/bc-performance
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

BigCommerce Performance Optimization

Before writing code

Fetch live docs:

  1. Web-search site:developer.bigcommerce.com performance for performance guide
  2. Web-search bigcommerce stencil theme performance optimization for theme tuning
  3. Web-search bigcommerce core web vitals optimization for CWV improvements

Platform-Level Performance

BigCommerce CDN

BigCommerce automatically serves storefronts via its global CDN:

  • Static assets (JS, CSS, images) cached at edge
  • Akamai-powered infrastructure
  • Automatic HTTPS/SSL
  • No CDN configuration needed from developers

Server-Side Rendering

Stencil themes are server-rendered by BigCommerce:

  • HTML generated on BigCommerce infrastructure
  • Response times depend on template complexity and front matter data
  • Minimize front matter requests for faster server response

Stencil Theme Optimization

Reduce Front Matter Data

Front matter declares what data to load per page — only request what you need:

  • Remove unused front matter sections (e.g., related_products if not displayed)
  • Reduce limit values to minimum needed
  • Use {{#if}} to conditionally render sections, but note the data is still fetched

JavaScript Optimization

  • Bundle size: minimize third-party dependencies
  • Code splitting: use dynamic imports for page-specific code
  • Defer non-critical JS: use defer or async attributes
  • Remove unused jQuery plugins if the theme ships jQuery
  • Tree shaking: ensure webpack is configured for dead code elimination

CSS Optimization

  • Remove unused SCSS — audit with coverage tools
  • Minimize use of @extend (causes CSS bloat)
  • Use CSS custom properties for runtime theming instead of SCSS variables where appropriate
  • Critical CSS: inline above-the-fold styles

Image Optimization

  • Use BigCommerce's image CDN — images are auto-resized via {{getImage}} helper
  • Specify appropriate image dimensions: {{getImage product.image 'product_size'}}
  • Use modern formats: BigCommerce CDN serves WebP when supported
  • Lazy load below-the-fold images: loading="lazy"
  • Use responsive images with srcset and sizes

Template Optimization

  • Minimize Handlebars helper nesting depth
  • Reduce the number of partials per page
  • Cache computed values — don't repeat the same helper call
  • Use {{#if}} to skip rendering for empty data

API Performance

REST API Optimization

  • Use include to fetch sub-resources in one request (avoid N+1)
  • Use include_fields / exclude_fields to reduce response payload
  • Implement caching for read-heavy data (products, categories)
  • Respect rate limits — batch operations where possible
  • Use webhooks instead of polling for real-time data

GraphQL Optimization

  • Request only needed fields — avoid over-fetching
  • Use pagination (first/after) — never request all items
  • Use fragments for reusable field sets
  • Be aware of query complexity limits
  • Cache GraphQL responses on your side (Catalyst uses Next.js caching)

Caching Patterns

Data TypeCache StrategyTTL
Product catalogCDN / ISR5–60 minutes
Category treeCDN / ISR5–60 minutes
CartNo cacheReal-time
Customer dataNo cacheReal-time
Store settingsLong cache1–24 hours
Static assetsCDNLong-term (versioned)

Core Web Vitals

LCP (Largest Contentful Paint)

  • Optimize hero images: correct size, preload, no lazy load
  • Minimize server response time (reduce front matter)
  • Preload critical fonts: <link rel="preload" href="font.woff2" as="font">

FID / INP (Interaction to Next Paint)

  • Minimize main thread blocking — defer heavy JS
  • Break up long tasks
  • Use requestIdleCallback for non-critical work
  • Reduce JavaScript bundle size

CLS (Cumulative Layout Shift)

  • Set explicit dimensions on images and embeds
  • Reserve space for dynamic content (ads, lazy-loaded elements)
  • Avoid inserting content above existing content
  • Use font-display: swap with size-adjusted fallback fonts

Headless (Catalyst) Performance

Next.js Optimizations

  • Static Generation: pre-render product/category pages at build
  • ISR: revalidate on interval for fresh data without full rebuild
  • Edge Functions: run logic at CDN edge
  • Image Optimization: next/image for automatic resizing, WebP, lazy loading
  • Font Optimization: next/font for zero-CLS web fonts

GraphQL Caching in Catalyst

  • Server-side: Next.js data cache with revalidation
  • Client-side: SWR or React Query for client-fetched data
  • Storefront API responses can be cached at CDN level

Best Practices

  • Measure before optimizing — use Lighthouse, WebPageTest, Chrome DevTools
  • Minimize front matter data — only fetch what the page displays
  • Lazy load images below the fold
  • Defer non-critical JavaScript
  • Reduce third-party script impact (analytics, chat, pixels)
  • Use BigCommerce CDN for all assets — don't self-host
  • Cache API responses for read-heavy data
  • Use ISR/SSG for headless storefronts
  • Monitor Core Web Vitals in Google Search Console
  • Test performance across device types and connection speeds

Fetch the BigCommerce performance documentation and Stencil optimization guide for current CDN features, image handling, and performance best practices before implementing.

よくある質問

AIスキル「Bc Performance」では何ができますか?

Optimize BigCommerce storefront performance — CDN, image optimization, lazy loading, Stencil theme optimization, API response caching, GraphQL query efficiency, and Core Web Vitals. Use when improving store speed or diagnosing performance issues.

TypingMindでBc Performanceを使うメリットは何ですか?

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

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

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

Bc Performanceを使えるAIモデルはどれですか?

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

Bc Performanceは何個のAIモデルで使えますか?

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

AIスキル「Bc Performance」は無料ですか?

はい。OrcaQubitsがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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