npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@raphaellcs/validator

v1.0.0

Published

OpenClaw 技能验证器 - 检查 SKILL.md 格式和结构

Readme

@claw-dev/validator

OpenClaw 技能验证器 - 检查 SKILL.md 格式和结构

🚀 功能

  • 验证 SKILL.md frontmatter 格式
  • 检查必需字段(name, description, metadata)
  • 验证 metadata 结构
  • 检查描述长度
  • 比对技能名与目录名
  • 批量验证目录中的所有技能

📦 安装

npx @claw-dev/validator

📖 使用

验证单个 SKILL.md

claw-validate path/to/SKILL.md

验证目录中的所有技能

claw-validate path/to/skills/

显示详细信息

claw-validate -v

🔍 检查内容

必须满足(ERROR)

  • ✅ SKILL.md 文件存在
  • ✅ Frontmatter 格式正确(--- 包裹)
  • ✅ 包含 name 字段
  • ✅ 包含 description 字段
  • ✅ 包含 metadata 字段
  • metadata.openclaw 存在
  • metadata JSON 格式正确

建议满足(WARNING)

  • ⚠️ metadata.openclaw.emoji 存在
  • ⚠️ metadata.openclaw.requires 存在
  • ⚠️ 描述长度在 10-100 字符之间
  • ⚠️ 技能名与目录名匹配
  • ⚠️ 有文档内容

📊 输出示例

成功

🔍 验证: my-skill/SKILL.md

  ✓ SKILL.md 格式正确 ✨

==================================================
✓ 验证通过

有问题

🔍 验证: my-skill/SKILL.md

  ✗ 缺少必需字段: description
  ⚠️ metadata.openclaw.emoji 缺失(建议添加表情符号)

==================================================
✗ 验证失败

🎨 与 claw-starter 配合

# 1. 生成技能
npx @claw-dev/starter create my-skill

# 2. 验证
claw-validate my-skill/SKILL.md

📝 规则说明

Frontmatter 格式

---
name: MySkill
description: 技能描述
metadata:
  {
    "openclaw": { "emoji": "🤖", "requires": {} }
  }
---

描述长度建议

  • 最少:10 字符
  • 最多:100 字符

目录名匹配

目录名应该与 name 字段一致,避免混淆。

🤝 贡献

欢迎提交 Issue 和 PR!

📄 许可证

MIT © 梦心


Made with 🌙 by 梦心