Agent Skills
› HarnessMD/munder-difflin
› lastQuarter
lastQuarter
GitHub解析上一个完整季度的具体日期范围,返回包含时区的民用日期和精确UTC时间戳,避免手动计算。用于季度回顾、环比分析等任务的时间边界设定。
触发场景
需要获取上一季度时间范围
进行季度对比或回顾
查询历史数据需指定时间窗口
安装
npx skills add HarnessMD/munder-difflin --skill lastQuarter -g -y
SKILL.md
Frontmatter
{
"name": "lastQuarter",
"description": "Resolve \"lastQuarter\" to a concrete ISO date range relative to your run time —\nthe previous full quarter. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task over last quarter (quarterly reviews, QoQ comparisons).\n",
"allowed-tools": [
"Bash"
]
}
/lastQuarter
Get the concrete date range for the previous full quarter by running the bundled resolver:
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastQuarter
It prints a human-readable line plus a JSON record:
start/end— inclusive civil dates (YYYY-MM-DD) in your local timezonestartUtc/endExclusiveUtc— the same window as a half-open[start, end)range of exact UTC instants, for timestamp-based queriesdays,timezone,asOf— the span, your timezone, and when this resolved
Use the returned dates as the time bounds for the task at hand. Do not derive
dates by hand — this resolver is the source of truth. For the full window list
or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.
版本历史
- df15a9a 当前 2026-07-05 15:40


