Skillcheck

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 6, 2026

SKILL.md validator: frontmatter, structure, links, and referenced files checked.

已验证STDIO仅桌面文件与存储开发者工具

概览

AI 生成的概览

校验 SKILL.md 技能文件:frontmatter、名称格式、正文、链接与引用文件,并给出 VALID 或 INVALID 结论及带编码的问题列表。

可以做什么
  • 校验 SKILL.md 文档或技能目录:检查 YAML frontmatter、必填的 name 与 description、kebab-case 名称格式、非空正文以及必需标题。
  • 将正文中的 Markdown 链接与调用方提供的现存文件列表进行比对。
  • 返回结论、带编码的问题、文件与行号证据以及统计信息。
适用场景
适合在编写或审阅 agent 技能包时使用,在发布或安装前快速做一次结构检查。也适合助手起草 SKILL.md 后确认其格式是否规范的工作流。
运行要求
以本地 stdio 进程运行,可通过 npx(需 Node.js)或 Docker 镜像启动。未声明任何账号、API 密钥或环境变量。文档文本由调用方提供,文件列表与必需标题为可选参数;不会读取磁盘或发起网络请求。
安装前请注意
只读且结果确定:它不读取文件也不访问链接,因此相对链接检查只反映调用方传入的文件列表。http、https、mailto 和锚点链接只计数、不校验。校验不通过的文档仍以退出码 0 结束,应依据报告中的结论而非退出状态判断。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Skillcheck,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

skillcheck

Is this SKILL.md well-formed? skillcheck answers from the text itself: it parses the frontmatter block, checks the body, walks the markdown links, and compares the headings against the sections a skill is supposed to have — then reports every finding as a coded issue, plus the statistics it collected:

  • NO_FRONTMATTER — the document does not start with a --- line
  • UNCLOSED_FRONTMATTER — the frontmatter block never closes
  • MISSING_NAME / MISSING_DESCRIPTION — a required frontmatter field is absent
  • BAD_NAME_FORMAT — the name value is not a kebab-case slug (^[a-z0-9]+(-[a-z0-9]+)*$)
  • EMPTY_BODY — nothing but whitespace after the frontmatter
  • MISSING_FILE — a relative link target is not in the caller-supplied list of files that exist next to the skill
  • MISSING_SECTION — a required heading has no matching markdown heading (compared trimmed, case-insensitively, at any heading level)

Links to http://, https://, mailto:, and #anchor targets are counted but never checked. Relative targets have any #anchor suffix and surrounding <> stripped before the file check. Nothing is read from disk and nothing is fetched: the caller supplies the document text and the file list, so the same input always gives the same report.

CLI

bash
npx @reneturcios/skillcheck validate --skill SKILL.md --files files.json --sections sections.jsonnpx @reneturcios/skillcheck --version

files.json and sections.json are each a JSON array of strings, and both flags are optional. Omitting --files skips the file check entirely (the report's stats.files_checked is then false).

Exit codes: 0 whenever the tool ran — a document that fails validation is a result, not a process failure — 1 on a runtime error, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/skillcheck mcp

MCP client config:

json
{  "mcpServers": {    "skillcheck": {      "command": "npx",      "args": ["-y", "@reneturcios/skillcheck", "mcp"]    }  }}

Tools

  • validate_skill — Validate a SKILL.md document and report {valid, issues, stats}.
    • content (string, required) — the SKILL.md text
    • available_files (array of strings, optional) — relative paths that exist next to the skill; relative links are checked against it
    • required_sections (array of strings, optional) — heading texts that must appear as markdown headings

Docker

bash
docker run -i ghcr.io/cloudcorprecords/skillcheckdocker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/skillcheck validate --skill /w/SKILL.md

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (pure local, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

来源:README.md,提交 8e9f34b

工具

1

check_skill

Validate a SKILL.md file or a skill directory: YAML frontmatter exists with name and description, the name matches the directory, links in the body resolve to files that exist, and files the skill references are present. Verdict VALID or INVALID with file and line evidence.

输入参数path必填

版本历史

1
  1. v0.1.0最新Oct 30, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分