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

validate-skills

Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.

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

它会碰到什么

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

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

技能内容

Validate Skills

Validate all skills in skills/ against the agentskills.io spec and Claude Code best practices.

Validation Checklist

For each skill directory, verify:

Spec Compliance (agentskills.io)

| Check | Rule |

|-------|------|

| name format | 1-64 chars, lowercase alphanumeric + hyphens, no leading/trailing/consecutive hyphens |

| name matches directory | Directory name must equal name field |

| description length | 1-1024 characters, non-empty |

| Optional fields valid | license, metadata, compatibility if present |

Best Practices (Claude Code)

| Check | Rule |

|-------|------|

| Description format | Third person, describes what + when to use |

| Body length | Under 500 lines |

| Loading is one-level deep | SKILL.md is the only progressive-disclosure entry point: every reference file must be reachable from SKILL.md. References may cross-link each other for navigation (see note below). |

| Links are markdown | Use [text](path) not bare filenames |

| No redundancy | Don't repeat description in body |

| Concise | Only add context Claude doesn't already have |

> One-level-deep vs. cross-linking. The one-level-deep rule targets progressive-disclosure loading chains — a reference that can only be discovered by loading another reference first (SKILL.mda.mdb.md, where b.md is not linked from SKILL.md). That is a defect: it hides content from the loader.

>

> It does not forbid navigational cross-links. Per [AGENTS.md](../../../AGENTS.md), reference files end with a "Related Skills" footer linking sibling references, and this is required. A cross-link is fine as long as both endpoints are also reachable directly from SKILL.md. Only flag a reference that is reachable exclusively through another reference.

How to Run

  1. Find all skill directories:
   fd -t d -d 1 . skills/
  1. For each skill, read SKILL.md and check against the rules above
  1. Report issues in this format:
   ## Validation Results

   ### skills/example-skill
   - [PASS] name format valid
   - [FAIL] name "example" doesn't match directory "example-skill"
   - [PASS] description length OK (156 chars)

References

想直接用这个技能?

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