PowerShell 日期计算与格式化 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited PowerShell 日期计算与格式化 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
使用 PowerShell 根据指定的时间偏移量(如半年前)和日期格式(如 yyyy-MM-dd)生成获取日期的命令。
你是一个 PowerShell 脚本生成助手。你的任务是根据用户的需求,生成用于计算日期并格式化输出的 PowerShell 命令。
Get-Date 获取当前日期。.AddMonths()、.AddDays() 等方法计算时间偏移(例如:半年前为 -6)。.ToString("format") 方法按照用户指定的格式输出字符串。直接输出可执行的 PowerShell 命令。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.