一键导入
skill-validator
Validate SKILL.md files against the Agent Skills spec and Claude Code extensions. Run on new or modified skills before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate SKILL.md files against the Agent Skills spec and Claude Code extensions. Run on new or modified skills before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Regenerate catalog counts, layout claims, and README summaries from canonical sources. Run after adding, removing, or renaming skills, commands, or bundles.
Audit the skills library for duplicates, stale content, spec violations, and structural issues. Run periodically or before releases.
Audit AI agent instruction files (AGENTS.override.md, AGENTS.md, configured fallbacks, CLAUDE.md, hooks, and settings) across workspaces in read-only report mode. Use when agent configs drift, rules duplicate, files go stale, or after workspace restructuring; apply fixes only when explicitly requested.
Exercises rejection of an unsupported Codex project command path.
Design and operate LLM-as-a-Judge evaluation systems using direct scoring, pairwise comparison, rubric calibration, evaluator bias mitigation, confidence scoring, and automated quality assessment. Use when building LLM-as-judge systems, comparing model responses, calibrating rubrics, debugging inconsistent evaluations, or designing A/B tests for prompt or model changes.
Expert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, debug agent behavior, or design content generation prompts.
| name | skill-validator |
| description | Validate SKILL.md files against the Agent Skills spec and Claude Code extensions. Run on new or modified skills before committing. |
| metadata | {"internal":true,"version":"1.0.3","tags":"validation, skills, spec-compliance, quality"} |
Validate SKILL.md files against the Agent Skills specification and Claude Code extensions.
Every SKILL.md must have YAML frontmatter with:
name — kebab-case, matches directory namedescription — 1-3 sentences, under 1024 chars, starts with verb or domain nounversion and tags must be inside metadata:, never top-level:
# CORRECT
metadata:
version: "1.0.0"
tags: "react, performance, optimization"
# WRONG — top-level version
version: 1.0.0
# WRONG — tags as YAML list
metadata:
tags:
- react
- performance
These are not part of any spec:
auto_activate / auto_trigger — removed in 2026-04 migrationrisk — not in Agent Skills or Claude Code specsValid extension fields (must match allowed_fields in scripts/validate-skill-sync.sh):
| Field | Purpose |
|---|---|
when_to_use | Extra trigger phrases appended to description |
disable-model-invocation | Prevent auto-triggering (for destructive skills) |
user-invocable | false hides from the / menu |
allowed-tools | Auto-approve allowlist (not a sandbox — unlisted tools stay callable) |
disallowed-tools | Removes tools from the pool while active (the actual block mechanism) |
argument-hint | Autocomplete hint for expected arguments |
compatibility | Environment prerequisites (packages, network, target agent) |
context | fork for subagent isolation |
agent | Subagent type when context: fork |
hooks | Lifecycle hooks scoped to the skill |
paths | ⚠️ Broken upstream (#49835) — flag if present |
shell | bash (default) or powershell |
auto_activate / auto_trigger — removed in 2026-04 migrationrisk — not in any specmetadata.triggers — duplicate activation metadata; put trigger phrases in
description or when_to_usemodel / effort — recognized by Claude Code but owned by app/session
configuration, not public reusable skills/workspace/ paths\```references/, or scripts/ — reject tier+version IDs (claude-3-7-sonnet-20250219, claude-opus-4.5, gpt-5.5), dated snapshots, and bare family names used as routing keys. Exception: orchestrator skills may name capability tiers in prose. See skill-standards.md → Model references.python3 scripts/audit-routines.py to detect duplicate bodies and app-parameter
leakage without printing prompt or configuration values.metadata.source is set, metadata.last_synced and a README ## Upstream section are required (enforced by check_provenance()). In-house skills need no provenance fields.name matches parent directory namedescription exists and is under 1024 charsdescription plus when_to_use is under 1536 charsplugin.json description is present and under 100 charsversion/tags are NOT top-level (must be inside metadata:)auto_activate, auto_trigger, risk, model, effort, any field not in the extension tables)allowed-tools is a scalar,
metadata.version and metadata.tags are quoted scalars, and metadata is a mapmetadata.triggers; keep activation guidance in description
or when_to_use/workspace/, project-specific paths)references/ + scripts/ for concrete model names (claude-*, gpt-*, sonnet/opus/haiku used as IDs); allow only capability-tier prose in orchestrator skillsdisable-model-invocation: true
and an explicit Confirmation Required gatemetadata.source is set, require metadata.last_synced and a README ## Upstream sectionbunx markdownlint-cli on the file./scripts/validate-skill-sync.sh for cross-validation# Single skill
bunx markdownlint-cli skills/<name>/SKILL.md skills/<name>/references/*.md
# All skills
bunx markdownlint-cli --ignore bundles --ignore dist "**/*.md"
# Sync validation
./scripts/validate-skill-sync.sh