Skip to content
Back to skills

Mk 377

ASecurity

會員客單價計算。用於需要金額與頻次的客單對照的工作;依本項方法處理已指定資料並核對交付

  • 259 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 23, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 23, 2026

npx -y skills add backtrue/thinkwithblack-skill --skill mk-377 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mk 377?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mk 377
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/backtrue-mk-377-thinkwithblack-skill/badge)](https://www.skillsdirectory.com/skills/backtrue-mk-377-thinkwithblack-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mk-377
description: "會員客單價計算。用於需要金額與頻次的客單對照的工作;依本項方法處理已指定資料並核對交付"
---

# MK-377|會員客單價計算

一般對話請上傳 `packs/mk-377.md`,其中已包含共用規則、本文及必要參考

## 工作目的

這個技能交付:**金額與頻次的客單對照**

不同觀察期的RFM不可直接當同基準排名;任何名單匯出與使用另核對目的與授權

## 必要資料

去識別顧客鍵、訂單與明細鍵、收入欄位定義、退款與取消規則、觀察窗及幣別

## 方法步驟

1. 先建立每個有效訂單一列的淨額;明細重複出現的訂單總額只取一次,退款按既定規則處理
2. 每位會員平均客單=有效訂單淨額總和÷不同有效訂單數,不對原始商品列取 AVERAGE
3. 交累積額、訂單數與平均額並列,分母零時平均未定義;來源缺漏與確認零交易分開

## 計算與判讀

同訂單重複總額必須先去重;若明細只有品項金額,先依訂單加總。兩種資料不能混用

## 固定交付欄位

| 順序 | 欄位 | 填寫方式 |
|---:|---|---|
| 1 | 變數 | 原始證據、方法中間結果或明確未知;不得補造 |
| 2 | 定義 | 原始證據、方法中間結果或明確未知;不得補造 |
| 3 | 來源/單位 | 原始證據、方法中間結果或明確未知;不得補造 |
| 4 | 計算式 | 原始證據、方法中間結果或明確未知;不得補造 |
| 5 | 代入值 | 原始證據、方法中間結果或明確未知;不得補造 |
| 6 | 結果 | 原始證據、方法中間結果或明確未知;不得補造 |
| 7 | 缺件/限制 | 原始證據、方法中間結果或明確未知;不得補造 |

## 核對案例

**MK-377-A1|訂單A總額100重複兩列、訂單B總額300一列**

預期:兩單平均200,不算三列平均166.67

## 方法來源

原始檔:營業額提升主要關鍵(二)社群/會員經營技巧

定位:RFM

來源基礎:講義拆分

原始網址:https://docs.google.com/presentation/d/1ZYpstuVAXGk9KdZt1QZm2OQ7ozpYYtfrBf0Xsy7kRx8/edit

母表保留的原來源摘錄:

> 利用 RFM 規則進行分眾,讓新客(只買一次)變老客(買一次以上)

Files in this skill

  • SKILL.md2.2 KB
  • assets/check-context.py14.6 KB
  • assets/context-contract.json14.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.