{
  "schema": "skillflux-dataset-checks/v1",
  "checkerVersion": "1.0.0",
  "items": [
    {
      "id": "skillmd.present",
      "en": "A SKILL.md file exists at the skill root.",
      "zh": "Skill 根目录存在 SKILL.md。"
    },
    {
      "id": "frontmatter.parse",
      "en": "SKILL.md starts with YAML frontmatter that parses as a mapping.",
      "zh": "SKILL.md 以可解析的 YAML frontmatter 开头。"
    },
    {
      "id": "frontmatter.name",
      "en": "name is present, at most 64 characters, lowercase letters, digits and hyphens.",
      "zh": "name 存在，不超过 64 个字符，只含小写字母、数字和连字符。"
    },
    {
      "id": "frontmatter.nameMatchesDir",
      "en": "name matches the directory that contains SKILL.md.",
      "zh": "name 与 SKILL.md 所在目录名一致。"
    },
    {
      "id": "frontmatter.description",
      "en": "description is present and at most 1024 characters; under 50 is a warning.",
      "zh": "description 存在且不超过 1024 个字符；少于 50 个字符给出警告。"
    },
    {
      "id": "frontmatter.descriptionTrigger",
      "en": "description says when to use the skill (\"use when…\", \"when the user…\").",
      "zh": "description 说明了何时使用（如 \"use when…\"、\"当用户…\"）。"
    },
    {
      "id": "frontmatter.descriptionVoice",
      "en": "description is written in the third person and contains no XML tags.",
      "zh": "description 使用第三人称，且不含 XML 标签。"
    },
    {
      "id": "frontmatter.unknownKeys",
      "en": "Frontmatter keys outside the documented set (information only).",
      "zh": "文档未定义的 frontmatter 字段（仅提示）。"
    },
    {
      "id": "body.tokensApprox",
      "en": "Approximate token count of the SKILL.md body; above 5000 is a warning.",
      "zh": "SKILL.md 正文的近似 token 数；超过 5000 给出警告。"
    },
    {
      "id": "body.lines",
      "en": "Line count of the SKILL.md body; above 500 is a warning.",
      "zh": "SKILL.md 正文行数；超过 500 行给出警告。"
    },
    {
      "id": "refs.brokenLinks",
      "en": "Relative links in SKILL.md point to files that exist.",
      "zh": "SKILL.md 中的相对链接指向存在的文件。"
    },
    {
      "id": "files.inventory",
      "en": "Number and total size of files in the skill directory (information only).",
      "zh": "Skill 目录中的文件数与总大小（仅提示）。"
    },
    {
      "id": "files.binary",
      "en": "No executables or archives (.exe, .zip, .jar, …) are bundled.",
      "zh": "没有打包可执行文件或压缩包（.exe、.zip、.jar 等）。"
    },
    {
      "id": "scripts.present",
      "en": "Bundled scripts the agent may run (information only).",
      "zh": "附带的、Agent 可能执行的脚本（仅提示）。"
    },
    {
      "id": "scripts.network",
      "en": "Scripts that call the network (information only).",
      "zh": "会访问网络的脚本（仅提示）。"
    },
    {
      "id": "scripts.destructive",
      "en": "Scripts with destructive commands such as rm -rf, sudo or chmod 777.",
      "zh": "含 rm -rf、sudo、chmod 777 等破坏性命令的脚本。"
    },
    {
      "id": "secrets.scan",
      "en": "No strings that look like private keys or API tokens.",
      "zh": "没有疑似私钥或 API token 的字符串。"
    },
    {
      "id": "instructions.risk",
      "en": "No instructions to override prior instructions, exfiltrate secrets or bypass safety controls.",
      "zh": "没有要求覆盖先前指令、外传密钥或绕过安全控制的指令。"
    },
    {
      "id": "license.detected",
      "en": "A license is declared in frontmatter, the skill directory or the repository.",
      "zh": "在 frontmatter、Skill 目录或仓库中声明了许可证。"
    },
    {
      "id": "repo.activity",
      "en": "The skill path changed within 365 days of the check, and the repository is not archived.",
      "zh": "Skill 路径在检查前 365 天内有更新，且仓库未归档。"
    },
    {
      "id": "pinned.drift",
      "en": "Whether upstream changed the skill after the pinned commit (information only).",
      "zh": "钉定版本之后上游是否改动了该 Skill（仅提示）。"
    }
  ]
}
