agentleFS
YuAICodeYuAICode/ai-skills/skills/skill-doctor/SKILL.md

skill-doctor

Skill1 starsChanged 6 months agoMITView on GitHub

发布前校验 skill 目录是否符合合集约定的 lint 工具。当用户说"检查 skill / lint skill / skill 规范校验 / 发布前检查"时触发。

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use grill-me and frontend-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 4 projects that use this

  • VercelSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

Files
SKILL.md

skill-doctor — skill 合集 lint 工具

发布一个 skill 前,用本工具确认它符合合集的目录约定(SKILL.md frontmatter、README 徽章、bin/tests 配对等)。

何时触发

用户说"检查 skill / lint skill / skill 规范校验 / 这个 skill 合规吗 / 发布前检查"。

用法

检查单个 skill

bash skill-doctor/bin/lint-skill.sh <skill目录路径>

示例(在合集根目录运行):

bash skill-doctor/bin/lint-skill.sh ./my-new-skill

遍历整个合集

for d in */; do
  [ -f "$d/SKILL.md" ] || continue
  bash skill-doctor/bin/lint-skill.sh "$d"
done

退出码说明

退出码含义
0全部通过(或只有 warning)
2存在 error 级问题,阻止发布

Error vs Warning

Error(exit 2,须修复才能发布):

  1. 缺少 SKILL.md
  2. SKILL.md 没有 YAML frontmatter(缺 --- 围栏),或 frontmatter 缺 name: / description:
  3. frontmatter 的 name: 值与目录名不一致
  4. 缺少 README.md
  5. README.md 未包含 img.shields.io 徽章
  6. 存在 bin/ 目录且里面有 .sh 文件,却没有 tests/run.sh

Warning(exit 0,建议改但不拦):

  • description 为空或未含"触发"字样(建议 description 写明触发词)

边界

  • 只检查目录结构与 frontmatter 格式,不校验 SKILL.md 内容质量。
  • 不执行 tests/run.sh(只检查文件是否存在);要跑测试请单独执行。
  • 纯 bash,零外部依赖。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.