skill-release-audit

SKILL开发
开发 未标注权限 许可证不明确
安装这个技能

Pre-publish quality and safety auditor for AI agent skills (SKILL.md + scripts/ + references/ format used by Claude Code, Cursor, OpenAI Codex, GitHub Copilot, OpenClaw, ClawHub, and compatible SkillHub registries). Six static-check modules (no LLM, no network by default): (1) syntax and logic correctness, (2) feature completeness, (3) edge-case and error handling, (4) data safety (detects files written inside the skill dir that would be lost on update), (5) dependency declaration vs code, (6) SKILL.md documentation standards. Per-registry rule profiles via `--target`. Pure reporter — never edits your files, never publishes. Use when publishing a skill, modifying an existing skill, or diagnosing why a skill behaves unexpectedly — run it as the last machine-checkable gate before release. Trigger phrases: "skill release audit", "audit before publishing", "pre-release check", "release gate", "skill safety check", "发版前检查", "skill 发布检查", "审查这个 skill 能不能发版".

一句话选型结论

按资料字段整理

skill-release-audit是开发类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_2a52e6b3/skill-release-audit
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_2a52e6b3仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791619579
正文体量10.7 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
skill-release-audit当前 未标注权限 未标注 未标注 未标注 有
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

10.7 KB
模型实际读到的说明书原文,来自技能仓库

skill-release-audit

  • Version: 1.2.0
  • License: MIT
  • Author: Evan Song · github.com/Songhonglei
  • Repository: https://github.com/Songhonglei/build-better-skills
  • Part of: build-better-skills suite — see Stages for the lifecycle map.

A six-module static inspector that catches mechanical problems machines can
verify — broken Python syntax, undeclared env vars, files written inside the
skill dir that would be lost on update, missing README/LICENSE for GitHub
targets, mismatched docs and scripts. Pairs with glic-check
which does cognitive UGLIC review; together they cover both layers
(see Part of build-better-skills).

Prints a structured ✅/⚠️/❌ report per module with actionable fixes. Does
not auto-fix.
All fixes require user confirmation.


Agent Behavior Rules (must-read)

This skill is an Auditor, not a Fixer.

After running the check, the agent must follow these rules strictly:

  1. Show the full report first — every module result, every warning / error
    with its specific description.
  2. Suggest fixes per finding, but only as suggestions, not actions.
  3. Wait for explicit user confirmation before touching any file.
  4. Never modify SKILL.md, scripts/, references/, or any other file without
    confirmation.
  5. Never delete files, even ones that look like leftovers — always ask first.

Correct output template:

📋 Check report: <skill-name>
[full output of healthcheck.py]

---
Issues found. Please confirm what to do:

✅ Can be ignored (false positives):
- Module 1: cache.json path warning — SKILL.md mentions it as descriptive text,
  not a file reference.

⚠️ Suggested fixes (awaiting your confirmation):
1. Module 3: auto_update.py _log() missing try/except — suggest wrapping.
2. Module 2: guide.py not listed in SKILL.md's module table — suggest adding.

Tell me which to fix and which to ignore. I'll act after you confirm.

Usage

# Full check — report only, does NOT modify your environment (default)
python scripts/healthcheck.py <path/to/skill-dir>

# Opt in to auto pip-install missing Python deps (off by default)
python scripts/healthcheck.py <path/to/skill-dir> --auto-install

# Tune per-package install timeout (only with --auto-install)
python scripts/healthcheck.py <path/to/skill-dir> --auto-install --install-timeout 120

# Validate against a specific publishing target (tunes checks, does NOT publish)
python scripts/healthcheck.py <path/to/skill-dir> --target clawhub
python scripts/healthcheck.py <path/to/skill-dir> --format json

# Report output language: zh or en (default: auto-detected from $LC_ALL / $LANG)
python scripts/healthcheck.py <path/to/skill-dir> --lang en

# Run specific modules only (e.g. deps + docs)
python scripts/healthcheck.py <path/to/skill-dir> --modules 5,6

> Default behavior is report only, do not install — an auditor should not
> mutate the user's environment. Missing required deps are reported as ERROR;
> with --auto-install, install failures are reported as WARN (usually
> network/registry issues, not skill bugs).

Publishing target (--target)

Different registries have different rules. --target tunes which checks fire
and at what severity — it does not publish.

target Use case Notes
generic (default) Cross-registry minimum Loosest, smallest common set
clawhub clawhub.com name+description required, strict slug, 50MB cap, declaration-vs-code consistency
anthropic Anthropic-compatible base spec name≤64 / description≤1024, body recommended <5k tokens
github Open-sourcing to GitHub Requires README + LICENSE
skillhub Private SkillHub (vendor-compatibility layers) Same as clawhub but version required (WARN)

Profiles live in profiles/ as JSON; add your own by dropping a new
&lt;name&gt;.json there.

Env-var check severity is configured per finding code via each profile's
env_severity key (v1.1 governance): ENV_REQUIRED_UNDECLARED /
ENV_OPTIONAL_OVERRIDE / ENV_RUNTIME_INJECTED / ENV_AMBIENT /
ENV_TEST_ONLY / ENV_REVIEW_REQUIRED — each maps to WARN / INFO / OFF.
Platform env contracts (runtime-injected / ambient lists) live in
config/env_contracts.json. See references/hub-specs.md
for per-registry specifications encoded by these profiles.

JS env data-flow tracking (v1.2): for JS/TS scripts the auditor tracks
environment-object alias propagation — const environment = process.env,
fn(process.env) parameter binding, Zod schema.parse(environment) /
safeParse({...environment}) results, and config-loader return values
(const config = loadConfig(process.env)). Member accesses on those aliases /
parse results count as indirect uses: they only affect the reverse check
(a declared var is no longer misjudged ENV_DECLARED_UNUSED) and are filed
under the ENV_DECLARED_INDIRECT class — silent in the console report by
default, with hit paths preserved in JSON evidence. Indirect uses never
soften the forward classification (required / optional). Vars whose
propagation cannot be confirmed still report ENV_DECLARED_UNUSED.

Module-1 ref classification (v1.2.1): paths referenced in SKILL.md are
split into package-internal refs (validated as before) and runtime-external
refs (~/..., $HOME/..., absolute paths incl. Windows drive letters) —
the latter resolve in the user's environment at runtime, so existence is
not a package-completeness problem: resolvable paths are skipped silently,
unresolvable ones emit INFO (never WARN).

Report language

Default: auto-detected from $LC_ALL / $LC_MESSAGES / $LANG. Falls back to
zh (legacy default). Currently supported: zh / en.

  • CLI: --lang zh / --lang en
  • Env: SKILL_AUDIT_LANG=en (lower priority than --lang)

All user-facing text is centralized in scripts/i18n.py as a bilingual
key-table — add a new check by adding one zh/en entry; do not hardcode
strings in module files.

Exit codes: 0 = no errors (may have warnings), 1 = errors found,
2 = invalid input.

The six modules

Module Checks Script
1. Syntax & logic Python AST parse, Bash -n syntax check, internal reference paths (package-internal vs runtime-external classification: ~/, $HOME/, absolute paths are user-environment paths — existence not enforced, INFO at most) scripts/check_logic.py
2. Feature coverage scripts / references mentioned in SKILL.md, stub-file detection scripts/check_features.py
3. Edge cases try/except coverage, HTTP timeout, response-status handling, Bash set -e scripts/check_edges.py
4. Data safety Files written inside the skill dir (lost on update) scripts/check_data_safety.py
5. Dependencies Python / Node / Bash deps, optional --auto-install, env-var classification check (false-positive governance v1.1 + v1.2 JS data-flow: classifies required / optional-override / runtime-injected / ambient / test-only / review / declared-indirect before demanding metadata — no more "reads == must declare", and alias/parse-flow accesses no longer false-positive as unused) scripts/check_deps.py + scripts/_env_check.py
6. Documentation description quality, frontmatter discipline, slug rules, target-specific required files (README / LICENSE) scripts/check_docs.py

Data safety hint

Skill directories are overwritten on update. All persistent data must live
outside the skill dir. The auditor probes the runtime environment
(OpenClaw / Claude Code / Codex / plain checkout) and suggests a portable path:

from pathlib import Path
DATA_DIR = Path.home() / &quot;.skill-data&quot; / &quot;&lt;skill-name&gt;&quot;   # example, auto-tuned

See references/safe-paths.md for the full resolution order.

Declaration vs code env check

Mirrors registry-side security analysis: if your code reads an env var
(os.environ[&quot;X&quot;], os.getenv(...), process.env.X) that isn't declared in
frontmatter under metadata.openclaw.requires.env / primaryEnv / envVars,
the auditor flags a metadata mismatch (severity is profile-driven). This catches
the most common cause of post-publish runtime failures.

Dependency declaration convention

In SKILL.md body, add a dependency section:

## Dependencies

Auto-installed on first use: requests, pyyaml

System commands (install manually): jq (`brew install jq`)

See references/dep-patterns.md.

Dependencies

Core uses Python 3.8+ standard library only — no external installs needed.

Optional enhancement: pyyaml (auto-detected). With PyYAML, frontmatter
parsing handles multi-line / list / nested fields strictly. Without it, a
tolerant built-in parser handles inline JSON values (e.g.
metadata: {&quot;key&quot;: &quot;value&quot;}) so the same checks still work — no functionality
loss.

Part of build-better-skills

This skill belongs to the build-better-skills suite.
For the full lifecycle map (Install → Audit → Release → Testing → Sediment),
all sibling skills, and their current status, see the
Stages table on the suite repo home — kept as the single source
of truth (this file does not duplicate it).

常见问题

5 问
答案由本站依据条目字段整理
skill-release-audit怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_2a52e6b3/skill-release-audit。安装方式为未标注。装完刷新技能列表或重开客户端。

skill-release-audit支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

skill-release-audit权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

skill-release-audit收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

skill-release-audit用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。