Skip to content
Back to skills

Mk 374

ASecurity

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

  • 259 stars
  • 0 votes
  • 0 copies
  • 4 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-374 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mk 374?

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

Security grade badge for Mk 374
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/backtrue-mk-374-thinkwithblack-skill/badge)](https://www.skillsdirectory.com/skills/backtrue-mk-374-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-374
description: "會員最近購買日計算。用於需要指定基準日下的最近購買間隔的工作;依本項方法處理已指定資料並核對交付"
---

# 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 規則進行分眾,讓新客(只買一次)變老客(買一次以上)

Files in this skill

  • SKILL.md2.3 KB
  • assets/check-context.py14.6 KB
  • assets/context-contract.json15 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.