Skip to content
Back to skills

Mk 374

ASecurity

Member Purchase Recency Calculation. Use when work requires time since the most recent purchase as of a specified reference date; process the specified inputs using this method and verify the deliverable

  • 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/badge)](https://www.skillsdirectory.com/skills/backtrue-mk-374)

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: "Member Purchase Recency Calculation. Use when work requires time since the most recent purchase as of a specified reference date; process the specified inputs using this method and verify the deliverable"
---

# MK-374 | Member Purchase Recency Calculation

For ordinary chat, upload `packs/mk-374.md`, which includes the shared rules, this method, and required references

## Purpose

This skill delivers: **Time since the most recent purchase as of a specified reference date**

Do not rank RFM results from different observation periods as if they shared one basis; separately verify the purpose and authorization for any list export or use

## Required inputs

Deidentified customer keys, valid order keys/timestamps, order/refund rules, explicit reference date, time zone and day-count definition

## Method steps

1. Fix the reference date, time zone and day-count definition; select valid deduplicated orders up to that date
2. Take each customer’s latest valid purchase and calculate the interval to the reference date
3. R is undefined without a valid purchase; flag future orders, unknown time zones and gaps rather than silently using today

## Calculation and interpretation

R = specified reference date − latest valid purchase date, using the agreed calendar-day or elapsed-time definition in one time zone; without the date, deliver the formula and missing field

## Required output fields

| Order | Field | How to fill it in |
|---:|---|---|
| 1 | Variable | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 2 | Definition | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 3 | Source / unit | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 4 | Formula | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 5 | Input value | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 6 | Result | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |
| 7 | Missing items / limitations | Original evidence, intermediate method results, or an explicit unknown; do not fabricate |

## Verification cases

**MK-374-A1 | Reference Oct 21, latest purchase Oct 1, same-zone calendar days**

Expected: R = 20; absent reference date remains unknown, not execution date

## Method sources

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

Source locator: RFM

Source basis: extracted from course materials

Original URL: https://docs.google.com/presentation/d/1ZYpstuVAXGk9KdZt1QZm2OQ7ozpYYtfrBf0Xsy7kRx8/edit

English translation of source excerpt retained in the master sheet:

> Use RFM rules for segmentation to turn new customers (one purchase) into returning customers (more than one purchase)

Files in this skill

  • SKILL.md2.8 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.