← スキル一覧に戻る

schema-check-skill
by chkim-su
⭐ 0🍴 0📅 2026年1月20日
SKILL.md
name: schema-check-skill description: Common schema validation rules for all plugin components triggers:
- schema-check phase
- final validation
- component schema validation
Schema Check Phase
This is the mandatory final phase for all non-dispatcher workflows. Every workflow (except /assist:wizard) ends with schema-check validation.
Purpose
Validate all generated/modified plugin components against Claude Code plugin schemas and conventions.
Validation Rules
plugin.json Schema
Required fields:
name: String, lowercase with hyphens, no spacesversion: Semantic version (e.g., "1.0.0")description: Non-empty stringauthor: Object withnamefield (NOT a string)
{
"name": "my-plugin",
"version": "1.0.0",
"description": "Plugin description",
"author": {
"name": "Author Name"
}
}
marketplace.json Schema
Required structure:
{
"plugins": [
{
"location": "plugins/<name>/.claude-plugin",
"owner": "owner-name",
"source": {
"type": "git",
"url": "https://github.com/owner/repo"
}
}
]
}
File Location Rules
| Component | Location Pattern |
|---|---|
| Skills | skills/<skill-name>/SKILL.md |
| Agents | agents/<agent-name>.md |
| Commands | commands/<command-name>.md |
| Hooks | hooks/hooks.json + hooks/*.py |
YAML Frontmatter Rules
Skills:
---
name: skill-name
description: What this skill does
triggers:
- trigger phrase 1
- trigger phrase 2
---
Agents:
---
name: agent-name
description: Agent description
tools:
- Tool1
- Tool2
---
Commands:
---
name: command-name
description: Command description
allowed-tools:
- Tool1
- Tool2
---
Cross-Reference Validation
- Skill → Agent pairs: Skills that reference agents must have matching agents
- Hook → Script: Hooks in hooks.json must point to existing scripts
- Command → Tools: Commands must only list valid tool names
Output Format
SCHEMA_CHECK_REPORT
===================
Checked: <number> components
Passed: <number>
Failed: <number>
RESULTS:
[PASS] plugin.json - All required fields present
[PASS] agents/my-agent.md - Valid frontmatter and content
[FAIL] skills/my-skill/SKILL.md - Missing 'triggers' field
ISSUES:
- skills/my-skill/SKILL.md: Missing required 'triggers' field in frontmatter
RECOMMENDATIONS:
- Add triggers field to skills/my-skill/SKILL.md
Transition Conditions
To complete this phase:
- All checked components must pass validation
- No critical schema errors
- Cross-references must be valid
Evidence required for workflow completion:
checked_count: Number of components validatedpassed_count: Number passing validationfailed_count: Number failing validation (must be 0)
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です