360 Secure SkillHub
360 安全技能中心

Skill Release Guard

用于在打包或发布 Skill 前审查目标目录:确认 SKILL.md 与 frontmatter,检查命名、目录结构和冗余文件,再运行本地 Node 脚本生成发布检查清单,并标记会导致发布阻断的问题。

neo1307
neo1307
热度 48.96
最近更新 2026-05-11 09:46:09
分类:开发依赖:代码执行 / 读写文件应用场景:代码审查 / DevOps / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add skill-release-guard
Metadata
name
skill-release-guard
description
Validate a local skill folder before publishing or sharing it. Use when Codex is about to release a skill, publish to ClawHub, audit SKILL.md quality, check naming/frontmatter/resource hygiene, or generate a release checklist for a skill package.

Skill Release Guard

Use this skill right before packaging or publishing a skill.

Workflow

  1. Inspect the target skill directory.
  2. Confirm SKILL.md exists and frontmatter has only name and description.
  3. Check naming convention, folder layout, and presence of obvious clutter files.
  4. Run scripts/check_skill_release.js to generate a compact release checklist.
  5. Fix guard failures before publishing.

Script

node skills/skill-release-guard/scripts/check_skill_release.js \
  --skill skills/my-skill \
  --out out/my-skill-release-check.json

Guardrails

  • Fail if the folder name and frontmatter name diverge.
  • Flag clutter docs like README/CHANGELOG/INSTALL guides.
  • Flag missing description or overly vague description.
  • Treat script syntax failures as release blockers.