Skip to content
cccskills
FreePublished on GitHub

mk-374

會員最近購買日計算。用於需要指定基準日下的最近購買間隔的工作;依本項方法處理已指定資料並核對交付

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249 stars(GitHub 249 + cccskills 0)

Run score Not tested

See how to install

Files included (3)

  • SKILL.md2.3 KB
  • assets/check-context.py14.6 KB
  • assets/context-contract.json15.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

MK-374|會員最近購買日計算

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

工作目的

這個技能交付:指定基準日下的最近購買間隔

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

必要資料

去識別顧客鍵、有效訂單鍵與購買時間、有效訂單及退款規則、指定基準日、時區與日數定義

方法步驟

  1. 固定指定基準日、時區與日數定義,篩選該基準日以前的有效去重訂單
  2. 每位顧客取最後有效購買時間,計算與基準日相隔日數
  3. 無有效購買者 R 未定義;晚於基準日、時區不明或資料缺漏者另列,不以今天自動替代基準日

計算與判讀

R=指定基準日-最後有效購買日,同時區依本案日曆日或經過時間計算;基準日缺少時交公式與待補欄位

固定交付欄位

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

核對案例

MK-374-A1|基準日10月21日、最後有效購買10月1日,同時區日曆日

預期:R=20;基準日缺少時保留未知,不用執行日替代

方法來源

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

定位:RFM

來源基礎:講義拆分

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

母表保留的原來源摘錄:

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

依顧客與有效訂單日期計算指定群組的回購週期、平均與中位;適用五年訂單中第一筆到第二筆平均隔幾天、如何用試算表計算,直接處理計量工作

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

mk-001

Free

從商品頁、規格與使用說明整理可引用事實及缺件,適用「這些資料能拿來說什麼」;交付有來源的商品事實表,著重事實盤點,尚不挑選主打賣點

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

mk-002

Free

從已有商品事實萃取差異與顧客利益,適用「商品資料有了,哪些特色值得主打」;交付有依據的賣點候選,適合已有資料要挑主打特色的工作

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

mk-003

Free

用商品事實與競品證據檢查既有賣點,適用「這句賣點競品也能說嗎」;交付獨特性比較與待補證據,適合已有主張要檢查差異的工作

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

mk-004

Free

賣點對客價值檢查。用於需要每項賣點對應的顧客利益的工作;依本項方法處理已指定資料並核對交付

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

mk-005

Free

賣點證據配對。用於需要主張、證據、缺口對照表的工作;依本項方法處理已指定資料並核對交付

The English summary is being prepared. Showing the original description.

backtrue/thinkwithblack-skill249Updated Oct 26, 2026

See all skills by backtrue

Report a problem with this skill