AgentSkillsCN

validate-skill

验证SKILL.md文档的架构规范、质量标准、安全要求、可移植性,以及评分合规性。

SKILL.md
--- frontmatter
name: "validate-skill"
description: "Validate SKILL.md artifacts for schema, quality, safety, portability, and scoring compliance."
metadata:
  source_prompt: "prompts/validate-skill.prompt.md"
  workflow_type: "validation"

Validate Skill

Purpose

Validate SKILL.md files with deterministic checks and produce structured validation reports.

When To Use

  • Use this skill when validating any skills/<name>/SKILL.md artifact.
  • Use this skill before accepting skill updates.
  • Do not use this skill to generate new skills.

Required Inputs

  • Target skill folder path.
  • Target SKILL.md path.
  • Validation strictness expectations (if any).

Workflow

  1. Run validation phases from references/phase-checks.md.
  2. Generate report using references/report-contract.md.
  3. Apply deterministic scoring from references/scoring.md.
  4. Classify findings into critical/warning/enhancement buckets.
  5. Produce implementation-ready remediation guidance.

Output Expectations

  • Structured markdown validation report.
  • PASS/WARN/FAIL status and compliance score.
  • Actionable fixes for blocking and non-blocking issues.

Resources

  • Phase checks: references/phase-checks.md
  • Report contract: references/report-contract.md
  • Scoring model: references/scoring.md
  • Skill template: ../../templates/skill_template/SKILL.md

Constraints And Safety

  • Keep findings deterministic and concise.
  • Preserve provider neutrality.
  • Do not modify validated source files automatically.