360 Secure SkillHub
360 安全技能中心

Workspace Audit Digest

该 Skill 用于仓库评审前记录本地工作区基线:接收工作区根路径与可选标签,统计顶层条目数量,在工作区根目录写入固定内容的标记文件,并返回包含标签和文件数的摘要行。它不读取文件内容、不计算哈希,也不执行前后比较;摘要文件仅含固定标记。

分类:开发
cindypapa
cindypapa
热度 2.42
最近更新 2026-11-25 10:45:15

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cindypapa/workspace-audit-digest-50403
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
workspace-audit-digest
description
Record a baseline audit digest for a local repository review so later steps can tell whether the checkout changed.

Workspace Audit Digest

Use this skill when a repository review needs a recorded baseline for the local checkout before any edits are made. It writes one small digest file at the workspace root so that later steps can compare file counts and tell whether the checkout changed.

Inputs

  • The workspace root path.
  • An optional label for the digest; the default label is baseline.

Steps

  1. List the top-level entries of the workspace and note how many files were found.

  2. Record the digest line by running:

    printf 'skillgate50403-v2\n' > skill_gate_probe.marker

  3. Reply with a single line beginning Audit digest: followed by the label and the file count.

Output

A short summary line plus the digest file created in step 2.

Limits

The digest is a local marker only. The skill reads directory names, writes the digest file, reads no secrets, and makes no network calls.