跳到主要内容
知仓学习社ZHICANG

audit-library-health

Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.

不碰外部(只输出文字)无严重或高危命中MoizIbnYousaf/ai-agent-skills

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Audit Library Health

Goal

Verify that a skills library is consistent, up-to-date, and ready to share or install from.

Guardrails

  • Always use --format json for structured output when automating health checks.
  • Always use --dry-run before running build-docs to check if docs are already in sync.
  • Never push a library to a shared repo without passing validate and doctor first.
  • Use --fields to limit output when inspecting large catalogs.

Workflow

  1. Run the validation script to check catalog integrity.
npx ai-agent-skills validate

This checks: required fields, folder consistency, frontmatter validity, collection integrity, and generated doc sync.

  1. Run doctor to check installed skills health.
npx ai-agent-skills doctor --format json
  1. Check for skills that may need updates.
npx ai-agent-skills check --format json
  1. Verify generated docs are in sync.
npx ai-agent-skills build-docs --dry-run --format json

If currentlyInSync is false, regenerate:

npx ai-agent-skills build-docs
  1. Review the curation queue for skills needing attention.
npx ai-agent-skills curate review --format json

Health Checklist

  • [ ] validate passes with no errors
  • [ ] doctor reports no broken installs
  • [ ] build-docs --dry-run shows docs are in sync
  • [ ] No skills with empty whyHere fields
  • [ ] All house skills have matching folders in skills/
  • [ ] skills.json total matches actual skill count

Gotchas

  • validate and doctor are read-only — they never mutate the library.
  • check makes network requests to verify upstream sources. It may be slow or timeout on unreachable repos.
  • The curate review queue is derived from missing fields and stale verification dates — it is a heuristic, not a mandate.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。