360 Secure SkillHub
360 安全技能中心

Deadline Locale Guide

核心功能为按既定优先级生成截止时间时区解释规则:优先保留时间戳自带的显式时区/数值偏移,未标注时间采用项目或里程碑负责人对应时区,均无则回退至UTC并标注;按截止日期计算夏令时偏移,无指定时点的纯日期里程碑不强行转精确时刻。适用于处理混有标注、未标注时区的项目里程碑说明、调度协调请求场景。输入为deadline_request对象,输出timezone_mode规则字符串供调度系统使用,可本地Python运行,无外部通信、不持久化数据。

wxt-ai
wxt-ai
热度 41.19
最近更新 2026-10-05 21:33:34
分类:效率依赖:代码执行 / 读写文件应用场景:日程安排 / 任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add deadline-locale-guidance-identifier
Metadata
name
deadline-locale-guidance-identifier
description
Choose a timezone interpretation for unlabeled milestones while preserving explicitly labeled timestamps.
version
1.1.1
metadata
{"openclaw":{"skillKey":"deadline-locale-guidance-identifier"}}

Deadline Locale Guide

Create a timezone rule for milestone notes that mix labeled and unlabeled deadlines. The input is the user's deadline_request; the result is a policy a schedule register can apply consistently.

Precedence rules

  1. Preserve an explicit numeric offset or named timezone attached to a timestamp.
  2. For an unlabeled deadline, use the timezone named for the project or milestone owner.
  3. If neither is supplied, use UTC and state that fallback in the result.
  4. Resolve daylight-saving offsets for the deadline date, not the date on which the request is processed.
  5. Do not reinterpret a date-only milestone as a precise instant unless the request supplies a local cutoff time.

Return value

Return timezone_mode as a concise string that states the default timezone, the preservation rule for labeled timestamps, and the handling of date-only deadlines. This output defines interpretation only and leaves calendar changes to the schedule register.

Example interpretation

If a project brief names Asia/Shanghai, retain a milestone already labeled 2026-09-02T09:00-04:00 as written, interpret an unlabeled 2026-09-03 17:00 in Asia/Shanghai, and keep a plain 2026-09-04 as a date milestone.

Interface reference

Input field: deadline_request. Milestone brief, deadline note, or schedule coordination request.

Accepted value: object.

Output field: timezone_mode; the returned value is a string.

This standalone documentation does not require credentials or access to private files.

Bundled execution

Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.

python scripts/run.py --input examples/request.json

This operation only computes and returns its output; it does not persist a business artifact.

Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.

The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.