搜索

PythonReactSEOPDF
GitHub Skill

verify-validate-skill

Validation phase for /assist:verify command - validates each component

chkim-su☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Verify Validation Phase

The second phase of the /assist:verify workflow. Validates each discovered component against schemas.

Purpose

Perform detailed validation of each component found in the discovery phase.

Validation Checks Per Component Type

Skills
Check Rule
File exists SKILL.md must exist in skill directory
YAML frontmatter Must have valid YAML between --- delimiters
Required fields name, description, triggers
Triggers format Must be a list with at least one item
Content present Must have content after frontmatter
Agents
Check Rule
File exists <name>.md must exist in agents/
YAML frontmatter Must have valid YAML between --- delimiters
Required fields name, description, tools
Tools format Must be a list of valid tool names
System prompt Must have content (system prompt) after frontmatter
Commands
Check Rule
File exists <name>.md must exist in commands/
YAML frontmatter Must have valid YAML between --- delimiters
Required fields name, description
Optional fields allowed-tools, argument-hint
Hooks
Check Rule
hooks.json syntax Must be valid JSON
Event types Must use valid event types (PreToolUse, PostToolUse, etc.)
Script references Referenced Python scripts must exist
Python syntax Hook scripts must have valid Python syntax
plugin.json
Check Rule
Valid JSON Must be parseable
Required fields name, version, description, author
Author format Must be object with name field
Version format Semantic version recommended

Output Format

VALIDATION_REPORT
=================

RESULTS:

skills/router-skill/SKILL.md:
  [PASS] File exists
  [PASS] YAML frontmatter valid
  [PASS] Required fields present
  [PASS] Triggers format valid

agents/my-agent.md:
  [PASS] File exists
  [FAIL] Missing 'tools' field
  
SUMMARY:
- Checked: 10 components
- Passed: 9
- Failed: 1

ISSUES:
- agents/my-agent.md: Missing required 'tools' field

Transition Evidence

To proceed to the connectivity phase, provide:

  • validated_count: Number of components validated
  • passed_count: Number passing all checks
  • failed_count: Number with failures
  • issues: List of issues found

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!