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.
它会碰到什么
扫了多少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 jsonfor structured output when automating health checks. - Always use
--dry-runbefore runningbuild-docsto check if docs are already in sync. - Never push a library to a shared repo without passing
validateanddoctorfirst. - Use
--fieldsto limit output when inspecting large catalogs.
Workflow
- 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.
- Run doctor to check installed skills health.
npx ai-agent-skills doctor --format json
- Check for skills that may need updates.
npx ai-agent-skills check --format json
- 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
- Review the curation queue for skills needing attention.
npx ai-agent-skills curate review --format json
Health Checklist
- [ ]
validatepasses with no errors - [ ]
doctorreports no broken installs - [ ]
build-docs --dry-runshows docs are in sync - [ ] No skills with empty
whyHerefields - [ ] All house skills have matching folders in
skills/ - [ ]
skills.jsontotal matches actual skill count
Gotchas
validateanddoctorare read-only — they never mutate the library.checkmakes network requests to verify upstream sources. It may be slow or timeout on unreachable repos.- The
curate reviewqueue is derived from missing fields and stale verification dates — it is a heuristic, not a mandate.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。