Ecomのロゴ

Ecom

コミュニティ
takechanman1228
ecom

注文取引CSVをもとに、D2Cストアのeコマース事業をレビューします。同梱のPythonエンジンでKPIツリー、約30項目の合格/要注意/不合格の健全性チェック、30日/90日/365日の期間別分析を実行し、結果を解釈します。完全版のナラティブ形式の事業レビューをREVIEW.mdに作成するか、特定の質問にその場で回答します。

Add to TypingMind

概要

公開者takechanman1228
リポジトリclaude-ecom
スキル名ecom
スター
53
フォーク
6
同梱ファイル
9
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 9個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

ecom — Ecommerce Business Review Toolkit

D2C ecommerce analytics. The bundled Python engine computes KPIs, runs health checks, and scores performance from order transaction data; you (Claude) interpret the numbers and write the human-readable report.

Key principle: Python computes the numbers. Claude interprets them. Never present raw numbers without business context.

Arguments: $ARGUMENTS (if empty, infer intent from the conversation)

Mode Selection

Arguments / intentModeOutput
empty or reviewFull Review (auto-selects periods from data)REVIEW.md
review 30d / 90d / 365dFull Review, single periodREVIEW_{PERIOD}.md
contains a natural-language questionFocused QueryInline answer, no file

Input

Order transaction CSV. Each row = one order or line item. Required columns: order ID, order date, customer ID (or email), revenue (after discounts, before tax/shipping). Optional: quantity, SKU/product, discount amount. Column names are fuzzy-matched by the loader.

If no CSV is specified, Glob for *.csv in the working directory and ask the user if multiple plausible candidates exist.

Running the Engine

The ecom CLI is on PATH while this plugin is enabled:

bash
ecom review orders.csv --output <output-dir>
ecom review orders.csv --period 90d --output <output-dir>

If ecom is not on PATH, use the bundled launcher with the same arguments: "${CLAUDE_SKILL_DIR}/../../bin/ecom". The first run bootstraps a private Python venv under ~/.local/share/claude-ecom/ and may take a minute; later runs are instant.

Output: review.json (or review_{period}.json for --period runs) in the output directory (defaults to current directory).

Workflow

Phase 1: Compute (Python)

Run the engine (add --period per Mode Selection). It computes, per available period: summary KPIs with prior-period comparison, a new-vs-returning KPI tree, revenue driver decomposition (AOV / volume / mix), and — for 365d — repeat purchase rate and a 12-month monthly_trend. It also evaluates ~30 health checks across Revenue, Customer, and Product; each returns pass / watch / fail and powers the 🟢/🟡/🔴 markers.

Phase 2: Interpret (you — Claude)

Full Review:

  1. Read review.json (see Data Rules below; full schema in review-schema.md)
  2. Read report-format.md — REQUIRED before writing; contains all section templates and Finding Quality Standards
  3. Read review-narratives.md to pick the narrative arc
  4. Load other references as needed (table below)
  5. Write REVIEW.md (or REVIEW_{PERIOD}.md) satisfying the Report Contract below

Focused Query:

  1. Read focused-query.md — REQUIRED; contains the query-to-period mapping and answer format
  2. Run the engine per that mapping, read the JSON, answer inline (10-30 lines). Do NOT write a file.

Your job is to weave trends and diagnostics into one coherent story. Period analysis tells you where things are heading; health checks tell you what's broken right now. The report combines both.

Report Contract (Full Review)

Before writing, verify the report will contain ALL sections in this exact order. Missing or reordered sections are a format violation.

  1. Executive Summary — narrative blockquote (4-6 lines) + Scoreboard table
  2. 30d Pulse section (if data available) — KPI tree + max 1 finding
  3. 90d Momentum section (if data available) — KPI tree + drivers + max 2 findings
  4. 365d Structure section (if data available) — KPI tree + drivers + max 3 findings
  5. Action Plan — max 5 items grouped by time horizon + Guardrails (REQUIRED)
  6. Data Notes — 2-4 lines

Hard rules:

  • Target ~150 lines total; 5-7 findings max across all periods; never repeat a finding across periods
  • Sections in this order; do NOT reorganize by theme; no standalone "What's Working Well" / "Issues to Address" sections — positive signals live in the Executive Summary and KPI tree markers
  • Every period section uses the KPI tree format with 🟢/🟡/🔴 markers
  • Every finding follows What is → Why it matters → What to do (quantitative fact → data-backed tension → direction; "consider", "improve", "optimize", "explore" are banned)
  • Action Plan is the single source of truth for deadlines and success metrics, and ends with Guardrails (2-3 must-not-deteriorate metrics)

Templates, examples, and the full quality standards are in report-format.md.

Reference Files

Load on-demand — do NOT load all at startup. Paths are relative to this skill's directory.

FileWhen to load
report-format.mdEvery Full Review, before writing
review-narratives.mdEvery Full Review — narrative arc by health level and trajectory
focused-query.mdEvery Focused Query
review-schema.mdWhen review.json semantics are unclear
finding-clusters.mdFull Review — to group related issues into themes
recommended-actions.mdWhen turning watch/fail checks into actions
impact-formulas.mdWhen estimating revenue impact
health-checks.mdWhen a check's definition/threshold is unclear
benchmarks.mdWhen comparing KPIs to D2C benchmarks

Data Rules

  • review.json only. All numbers MUST come from review.json or be derived from its values. Never reference external sources (Shopify Analytics, GA, ...). Recommending an external investigation as an action is allowed; quoting numbers from one is not.
  • periods contains only the periods listed true in data_coverage; all _change fields are proportional vs the prior period (0.08 = +8%).
  • health.top_issues is the pre-sorted subset of failing checks; action_candidates are Python's suggestions — refine and rewrite them in business language, never copy verbatim.
  • Never expose internal check IDs or check counts in the report.
  • When data_quality is non-empty, mention relevant warnings in Data Notes, and do not present partial-month MoM as real performance signals.

Incomplete Data

  • Omit what you can't measure. No N/A, no empty sections, no apologies.
  • Shorter data = shorter report. Gaps are noted in Data Notes only.

Language

Write the entire report (including Data Notes) in ONE language — match the user's prompt/store language.

Quality Gates

  • Never present numbers without interpretation — always explain why
  • Business language, not jargon; explain terms on first use
  • Connect related findings into systemic patterns
  • 80/20 rule: ~80% confirmation (builds trust), ~20% surprise (drives action)
  • No numeric scores, letter grades, or percentage health ratings — pass/watch/fail signals only

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

注文取引CSVをもとに、D2Cストアのeコマース事業をレビューします。同梱のPythonエンジンでKPIツリー、約30項目の合格/要注意/不合格の健全性チェック、30日/90日/365日の期間別分析を実行し、結果を解釈します。完全版のナラティブ形式の事業レビューをREVIEW.mdに作成するか、特定の質問にその場で回答します。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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