42plugin check 命令在发布前检查插件质量和规范性。
基础用法
指定路径
检查项目
命令会检查以下内容:示例
下一步
发布你的插件
检查通过后,发布你的插件
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
发布前自动检查插件质量
42plugin check 命令在发布前检查插件质量和规范性。
42plugin check
42plugin check ./my-plugin
| 检查项 | 说明 |
|---|---|
| 文件结构 | SKILL.md 等必要文件是否存在 |
| Frontmatter | 元数据是否完整(name、description、version) |
| 内容质量 | 描述长度、结构化程度、示例数量 |
| 规范合规 | 是否符合 AgentSkill 等规范要求 |
| 安全检查 | 是否包含敏感信息或危险操作 |
$ 42plugin check
检查 ./my-plugin...
✓ 文件结构完整
✓ Frontmatter 格式正确
⚠ 建议添加更多使用示例
✓ 无安全风险
活水指数预估: 4.2 / 5.0
建议:添加 2-3 个代码示例可提升评分
42plugin check,确保插件质量。也可以使用 42plugin pub --dry-run 模拟完整发布流程。