Loading...
Loading...
Compare original and translation side by side
skills/skills/| Check | Rule |
|---|---|
| 1-64 chars, lowercase alphanumeric + hyphens, no leading/trailing/consecutive hyphens |
| Directory name must equal |
| 1-1024 characters, non-empty |
| Optional fields valid | |
| 检查项 | 规则 |
|---|---|
| 1-64个字符,仅包含小写字母、数字和连字符,无开头、结尾或连续的连字符 |
| 目录名称必须与 |
| 1-1024个字符,不能为空 |
| 可选字段有效性 | 若存在 |
| Check | Rule |
|---|---|
| Description format | Third person, describes what + when to use |
| Body length | Under 500 lines |
| References one-level deep | No nested reference chains |
| Links are markdown | Use |
| No redundancy | Don't repeat description in body |
| Concise | Only add context Claude doesn't already have |
| 检查项 | 规则 |
|---|---|
| 描述格式 | 使用第三人称,说明功能及适用场景 |
| 正文长度 | 少于500行 |
| 引用层级 | 仅允许一级引用,无嵌套引用链 |
| 链接格式 | 使用 |
| 无冗余内容 | 正文中不要重复描述字段的内容 |
| 简洁性 | 仅添加Claude尚不具备的上下文信息 |
fd -t d -d 1 . skills/SKILL.md## Validation Results
### skills/example-skill
- [PASS] name format valid
- [FAIL] name "example" doesn't match directory "example-skill"
- [PASS] description length OK (156 chars)fd -t d -d 1 . skills/SKILL.md## 验证结果
### skills/example-skill
- [通过] name格式有效
- [失败] name“example”与目录“example-skill”不匹配
- [通过] description长度符合要求(156字符)