ecommerce-data-analysis-workflow
Skill4 starsChanged 36 days agoMITView on GitHub
从电商导出表和维护表重建明细、重算业务公式、对账并输出报告。
In this repository29 other files it gives its agents.
- analysis-report-orchestratorSkill
- chatlab-analyzerSkill
- document-to-markdownSkill
- ecom-image-reverse-sop-shareSkill
- ecom-main-image-diagnosisSkill
- ecom-market-insight-tableSkill
- ecommerce-competitor-analyzerSkill
- ecommerce-review-analysisSkill
- ecom-one-photo-pageSkill
- ecom-page-plannerSkill
- ecom-product-assets-collectorSkill
- ecom-ranking-main-image-collectorSkill
- ecom-video-workflowSkill
- external-skill-adapterSkill
- feishu-project-weekly-reportSkill
- frontend-design-systemSkill
- full-spectrum-distillerSkill
- github-repo-dissectorSkill
- kolsprite-tiktok-opsSkill
- manim-hyperframes-videoSkill
- rpa-flow-architectSkill
- sellersprite-amazon-opsSkill
- top10stats-data-videoSkill
- video-producer-coreSkill
- webbridge-archive-publisherSkill
- web-collection-orchestratorSkill
- wechat-account-data-reviewSkill
- wechat-article-knowledge-packSkill
- wechat-group-insight-reportsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Read source files only. Do not edit, move, overwrite, or delete the user's original Excel/CSV files.
- Very specific: line 19
Write all generated outputs into a separate output folder.
- Distinctive: line 20
Treat SKU, product ID, order ID, and campaign ID as text from the beginning.
- Distinctive: line 25
Keep public-facing reports sanitized.
- Very specific: line 42
Read references/data-contract.md when field design is unclear.
- Very specific: line 57
Read references/formula-and-reconciliation.md before implementing formulas.
- Distinctive: line 59
Never assume the profit formula.
- Distinctive: line 87
Only after reconciliation is explainable, generate:
- Very specific: line 96
Keep tables separately expandable.
≈ “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
Ecommerce Data Analysis Workflow
This skill turns downloaded ecommerce operating files into a reconciled analysis report or dashboard. It starts after files have been downloaded (assume RPA or the user already downloaded them) and ends with a validated, shareable analysis workbench.
It is a method, not a fixed per-company template. Adapt the field names and profit formula to the user's actual business. The share package that this skill was adapted from contained no real store names, accounts, paths, or metrics — all names were already generalized.
Operating Principles
- Read source files only. Do not edit, move, overwrite, or delete the user's original Excel/CSV files.
- Write all generated outputs into a separate output folder. In WorkBuddy, default to an
outputs/subfolder of the current working directory. - Treat SKU, product ID, order ID, and campaign ID as text from the beginning. Prevent scientific-notation conversion.
- Locate columns by header names, not by fixed column positions.
- Preserve both machine-friendly dates (
2026-07-01) and any source-compatible display/serial dates. - Rebuild detail data first, then reconcile, then visualize. Do not treat visualization as validation.
- Split mismatches into three types: missing in rebuilt data, added in rebuilt data, and matched keys with metric differences.
- Keep public-facing reports sanitized. Replace real brands, stores, people, local paths, and sensitive categories with generic names.
Workflow
1. Inventory Inputs
List all files, sheets, row counts, date ranges, and likely report types.
Classify inputs into:
- Backend exports (transaction, shipment, sales, promotion, inventory details)
- Maintenance tables (cost, ownership, fee, target, mapping rules)
- Old result tables (used as the reconciliation baseline)
See references/workflow.md for the full seven-step overview and references/usage-notes.md for what the user should prepare and tell you up front.
2. Define Data Contract
Read references/data-contract.md when field design is unclear.
Ask or infer:
- Which fields identify date, SKU, store, operator, and platform.
- Which tables provide cost, promotion, supplement, fee, and ownership mappings.
- Which old table should be used as the reconciliation baseline.
3. Build Standard Detail
Normalize dates, text IDs, store names, operator names, and numeric metrics.
Filter only when the business rule is explicit. For outbound/shipment rows, zero-quantity rows usually should not enter the effective outbound detail. Promotion-only rows may still be needed later if a promotion cost exists without sales.
4. Recompute Metrics
Read references/formula-and-reconciliation.md before implementing formulas.
Never assume the profit formula. Rebuild it from the user's original workbook, old formulas, or explicit instruction. A common example (confirm before using):
profit = sales_amount
- product_cost
- promotion_cost
- supplement_amount
- platform_fee
- tax
- finance_cost
- commission
- freight
+ supplement_product_cost5. Reconcile
Reconcile at multiple grains: detail, date, store/operator/date, channel/platform, and total KPI.
Output mismatch tables before making any visual charts. Always produce these three groups:
- Missing in rebuilt data — exists in old result, absent in rebuilt result.
- Added in rebuilt data — exists in rebuilt result, absent in old result.
- Matched but different — same key on both sides, but metrics differ.
For profit-source reconciliation, date + store + operator is often more useful than SKU because many old Excel pivots aggregate to that grain.
6. Build Report or Dashboard
Only after reconciliation is explainable, generate:
- KPI overview
- daily trend
- store/operator ranking
- loss details
- promotion-cost risk
- added/missing source explanation
- searchable detail table
Keep tables separately expandable; avoid cramming many large tables into one row. See references/sample-caliber.md for a generic front-desk-profit example of fields and analysis dimensions.
7. Package Results
Provide:
- rebuilt standard detail
- reconciliation workbook or CSV
- reconciliation JSON or summary
- dashboard/report HTML
- short SOP explaining what to rerun next time
For a ready-to-send prompt the user can reuse, see references/prompt-for-ai.md.
Validation Checklist
- SKU and IDs did not become scientific notation.
- Formula max difference is zero or explainably tiny.
- Added rows are separated from matched-row metric differences.
- Missing rows are listed with source/date/store/operator clues.
- Promotion-only or cost-only rows are handled by business rule.
- Public-facing outputs contain no real local paths, internal store names, personal names, account IDs, or sensitive categories.
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.

